Self-host Nezha
v2.6.1Lightweight server & website monitoring with web terminal
docker compose up -d- Stars
- 10 392
- CPU
- single-core
- RAM
- 512MB
- Port
- 8008 (Dashboard HTTP listener, shared by the web UI/API and agent gRPC traffic; customizable at install time)
ghcr.io/nezhahq/nezhaWhat is Nezha?
Nezha Monitoring (哪吒监控) V2 is an Apache-2.0 licensed monitoring and operations tool built around a central Dashboard plus a small Agent installed on each machine, so one web UI covers online status and CPU, memory, swap, disk, network traffic, load, connection and process counts on Linux, Windows, macOS, OpenWrt and Synology devices, with optional GPU and temperature metrics. It also performs HTTP GET, ICMP ping and TCPing checks from chosen agents, watches HTTPS certificate changes and expiry, and sends alerts through notification groups driven by webhook-style templates (GET/POST, form or JSON, with placeholders like #NEZHA# and #SERVER.CPU#). Day-to-day operations include a browser terminal, remote file management, scheduled and triggered tasks, DDNS, NAT traversal, a scoped-token REST API under /api/v1 and an opt-in MCP HTTP endpoint for automation and LLM tooling. You normally deploy it with the official install script, choosing Docker Compose or a standalone service; the Dashboard listens on port 8008 for both web access and agent traffic, stores config and business data in SQLite, and can enable an optional embedded time-series store for metric history. It targets individuals and small teams running VPS fleets or homelabs, and explicitly does not aim to replace log analysis platforms, APM or general metric query systems; for public status pages, second-level observability or PromQL work the docs point to other tools.
Nezha alternatives
ServerBeeSelf-hosted VPS monitoring with real-time agent dashboard, alerts, network quality probes, IP reputation, and native iOS app.CompareServerBee with Nezha
Kuvasz UptimeSelf-hosted, open-source uptime & SSL monitor with HTTP, ping, TCP, DNS and Docker checks, status pages, maintenance windows, REST API, and Prometheus export.CompareKuvasz Uptime with Nezha
BeszelOpen-source, self-hosted server monitoring: a hub plus per-host agents tracking CPU, memory, disks, containers, GPU and temperatures, with alerts and historical data.CompareBeszel with Nezha
checkmateSelf-hosted, open-source uptime and infrastructure monitor: HTTP, ping, DNS, Docker and gRPC checks with incidents, status pages and Slack or email alerts.Comparecheckmate with Nezha
netdataNetdata is an open-source, self-hosted infrastructure monitoring platform with per-second metrics, automated dashboards, ML anomaly detection, and zero-config deployment.Comparenetdata with Nezha
NetProbe_PythonA containerized network monitor that checks connectivity, DNS response times, and bandwidth, then shows results in a dark-themed web dashboard with historical graphs.CompareNetProbe_Python with Nezha
KulaSelf-hosted, open-source Linux server monitor in one Go binary: real-time web dashboard plus TUI, built-in ring-buffer storage, Prometheus export, app monitoring.CompareKula with Nezha
peekapingOpen-source, self-hosted uptime monitor in Go and React: HTTP, TCP, ping, DNS and database checks, status pages, 20+ alert channels, 2FA and a REST API.Comparepeekaping with Nezha
Should you self-host Nezha?
Nezha scores 72/100 on selfhost.directory (how scoring works) and ranks #15 of 105 in Monitoring & observability. It has 10 392 GitHub stars, +49 in the last 30 days.
It shipped 41 stable releases in the past year. The latest, v2.6.1, came out on 29 October 2026. New versions land roughly every 2 days.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is WTFPL-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is maintenant (54/100, 533 stars). Nezha scores higher overall. See Nezha vs maintenant side by side.
Features
- Alert notifications
- Built-in WAF and online-user blocking
- DDNS management
- GPU Monitoringmay require extra dependencies
- HTTP / TCP / Ping uptime checks
- MCP endpoint for automation/LLM toolsoff by default (enable_mcp)
- Multi-server host metrics
- Multi-user with roles
- NAT Traversal
- Remote file management
- REST API
- Scheduled & triggered tasks
- SSL certificate monitoring
- Status page / guest dashboard
- Web Terminal
Nezha README
LOGO designed by 熊大 .
Nezha Monitoring: Self-hostable, lightweight, servers and websites monitoring and O&M tool.
Supports monitoring system status, HTTP (SSL certificate change, upcoming expiration, expired), TCP, Ping and supports push alerts, run scheduled tasks and web terminal.
>> Telegram Channel: 哪吒监控(中文通知频道)
>> Telegram Group: Nezha Monitoring Global (English Only), 哪吒监控(中文群组)
>> Use Cases | 我们的用户 (Google)
FAQ
为什么当前接口路径仍然是 /api/v1?
The API path version is independent of the product generation; the product is V2 while the REST API keeps the /api/v1 prefix, so don't rewrite it to /api/v2.
数据是否必须上传到第三方云?
No, both Dashboard and Agent can be self-hosted; requests only leave your server for integrations you enable such as OAuth2, external notifications, DDNS or CDN.
哪吒 V2 可以监控网站和 SSL 证书吗?
Yes. HTTP GET checks test URL availability and HTTPS targets also get certificate state checks; ping and TCPing cover network and port reachability.
Dashboard 和 Agent 必须使用相同版本吗?
No, they are released independently and version numbers need not match, but you should read both release notes and test on a few nodes before upgrading.
哪吒监控 V2 能监控哪些系统?
Official install docs cover Linux, Windows and macOS, plus OpenWrt and Synology guides; which metrics appear depends on the OS, permissions, hardware and agent config.
More in Status Pages
oneuptimeSelf-hosted open-source observability platform combining uptime monitoring, incident management, on-call alerting, status pages, logs, traces, metrics, error tracking.
openstatusOpen-source uptime monitoring, status pages and incident response: declare checks and pages in YAML or Terraform, run private probes, self-host with Docker.
peekapingOpen-source, self-hosted uptime monitor in Go and React: HTTP, TCP, ping, DNS and database checks, status pages, 20+ alert channels, 2FA and a REST API.
phpservermonSelf-hosted, open-source uptime monitor that checks websites and TCP ports from your own PHP server, with cron jobs, graphs and email, SMS or Telegram alerts.
Server StatusSelf-hosted, open-source server status page in PHP for shared hosting with MySQL, admin interface, multi-language support, and JSON API.
static_statusstatic_status is a self-hosted Bash script generating static HTML status pages for monitoring websites and services. Runs via cron, outputs HTML, JSON, SVG.
Statping-ngA self-hosted, open-source status page and uptime monitor in Go. It checks HTTP, socket and gRPC endpoints, alerts via Slack, Discord or email, and supports oAuth logins.
Statsig Status PageA self-hosted, open-source status page on GitHub Pages with hourly health checks via GitHub Actions. Fork the template, add URLs, get free uptime history.
UpptimeOpen-source, self-hosted uptime monitor and status page that runs entirely on GitHub Actions, Issues and Pages, checking endpoints every 5 minutes with no server.
upstatSelf-hosted open-source uptime monitor with HTTP(S) checks, latency charts, status pages, and alerts via Discord, Slack, email, webhooks. SQLite/PostgreSQL.
UptimeFlareFree, open-source monitor and status page built on Cloudflare's Workers platform: geo-aware checks from 310+ cities, HTTP and TCP probing, plus incident history.
uptime-kumaSelf-hosted, open-source uptime monitoring for HTTP(s), TCP, DNS, Docker with reactive UI, 20s intervals, status pages, and 90+ notification channels.


0 comments