selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Nezha logo

Self-host Nezha

v2.6.1

Lightweight server & website monitoring with web terminal

ReleaseOpen SourceWTFPL
docker compose up -d
Updatedlast week
LanguageGo
Setup difficultyModerate
ThemeDark mode
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)
Docker
ghcr.io/nezhahq/nezha
User-facing dashboard showing server status cards and service checksAdmin backend interface of Nezha Monitoring

What is Nezha?

Nezha alternatives

All self-hosted alternatives to Uptime Kuma →

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 熊大 .

GitHub release (with filter)   Translation status

nezhahq%2Fnezha | Trendshift

:trollface: 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)

Sponsors / 赞助商

How to install Nezha

Install Nezha with Docker

The install script writes /opt/nezha/dashboard/docker-compose.yaml; to apply config changes:

docker restart nezha-dashboard

or

cd /opt/nezha/dashboard
docker compose down
docker compose up -d

Dashboard runs as the nezha-dashboard container from ghcr.io/nezhahq/nezha; docker compose (v2) or docker-compose (v1) both detected

How to configure Nezha

  • NZ_JWTSECRETKEYEnvironment variable to inject the JWT signing key instead of the config file
  • languageLanguage of the Dashboard itself, POSIX-style locale code such as en_US

    values: e.g. zh_CN, en_US

  • site_nameSite title shown in the UI
  • listen_port8008Dashboard listening port (HTTP); file-only option
  • listen_hostDashboard bind address

Nezha releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

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

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…