Self-host Linnix
v0.2.0Kernel-level stall attribution for Linux and Kubernetes
- Stars
- 252
- Ports
- 3000 (API and dashboard (requires Bearer token)), 9464 (Prometheus metrics, healthz, readyz (unauthenticated))
- Requires
- Linux kernel
ghcr.io/linnix-os/cognitodWhat is Linnix?
Linnix is an eBPF-based Linux observability tool that goes beyond traditional metrics by attributing system stalls to specific processes and Kubernetes pods. It uses kernel-level eBPF probes combined with Pressure Stall Information (PSI) to detect noisy neighbors, fork storms, memory leaks, and short-lived job churn. The agent (cognitod) runs as a DaemonSet on Kubernetes or via Docker Compose on bare metal, exposing a Prometheus-compatible metrics endpoint and a REST API for investigation. An optional local LLM provides natural-language incident explanations. All analysis happens on your infrastructure with no mandatory data egress. The project is licensed AGPL-3.0 for the agent and GPL-2.0 OR MIT for the eBPF collector, with commercial licensing available.
Should you self-host Linnix?
Linnix scores 45/100 on selfhost.directory (how scoring works) and ranks #17 of 19 in Infrastructure Monitoring. It has 252 GitHub stars.
It shipped 3 stable releases in the past year. The latest, v0.2.0, came out on 26 November 2025. New versions land roughly every 10 days.
Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Other-licensed and written mostly in Rust.
Its closest alternative on selfhost.directory is Beszel (81/100, 26 612 stars). It scores higher overall, so compare the two before you pick. See Linnix vs Beszel side by side.
Features
- CLI investigation tool
- Data privacy controls
- eBPF-based kernel monitoring
- Fork storm detection
- Kubernetes pod attribution
- Local AI incident explanationOptional, disabled by default; requires 2.1GB model download
- MCP server for AI agents
- Memory leak detection
- Monitor-first safety
- Noisy neighbor detection
- Prometheus metrics export
- PSI stall attribution
- Short-lived job detection
Linnix README
FAQ
Can I disable the AI reasoner?
Yes. Set the reasoner endpoint to empty in linnix.toml or stop the LLM container. The daemon keeps emitting rule hits and raw events over JSON/SSE; you only lose natural-language summaries.
How much overhead should I expect?
eBPF probes add under 1% CPU. Full cognitod daemon uses ~3.6-4.1% of one core and 10-20 MB RAM on typical hosts.
How do I tell whether Linnix is actually collecting?
Check /readyz endpoint: returns 503 when eBPF probes are not attached with a reason. /healthz always returns 200. Scrape linnix_kernel_instrumentation_active metric (1=probes attached, 0=userspace-only).
What kernel versions are supported?
Minimum Linux 5.12 on x86_64 and 5.18 on arm64/aarch64. Recommended 5.15+ (x86_64) / 6.1+ (arm64) with BTF packages. Below minimum, eBPF probes fail to load and Linnix runs in userspace-only mode without per-process attribution.
More in Application Performance Monitoring
LunalyticsA self-hosted, open-source monitor for sites, servers, and containers that handles multiple users, public status pages, and over a hundred alert channels.
MapleMaple is a self-hosted observability platform on OpenTelemetry and ClickHouse unifying traces, logs, metrics, session replay with an MCP server for AI agents.
measureAn open-source crash reporting and mobile performance monitoring platform with session replays, self-hosted via Docker Compose on a Linux VM.
n8nTraceObservability platform for n8n with execution analytics, Prometheus metrics, RBAC, and audit logging. Deployed as a hardened Docker container with PostgreSQL.
netdataNetdata is an open-source, self-hosted infrastructure monitoring platform with per-second metrics, automated dashboards, ML anomaly detection, and zero-config deployment.
netxmsSelf-hosted, open-source network monitoring with L2/L3 topology discovery, distributed agents, NXSL scripting, and no node limits on Linux.
NightOwl AgentOpen-source Laravel APM agent that captures Nightwatch telemetry into your own PostgreSQL database for full data ownership.
openobserveOpenObserve is a self-hosted, open-source observability platform unifying logs, metrics, traces, RUM, and AI observability with 140x lower storage costs.
pyroscopeOpen-source, self-hosted continuous profiling platform: ingest CPU/memory profiles via SDKs, Alloy or eBPF, store in object storage and query flame graphs in Grafana.
rivetRivet is an open-source, self-hostable orchestrator for AI agents, workflows, and sandboxes as lightweight Actors with SQLite and realtime.
RustrakRustrak is a self-hosted, open-source error tracker compatible with Sentry SDKs. Change one config line to send data to your own infrastructure.
sentrySelf-hosted error tracking and APM platform for developers to detect, trace, and fix production issues. Open-source under Fair Source license.
0 comments