Skip to content

oneclickvirt/nezha

 
 

Repository files navigation



LOGO designed by 熊大 .

GitHub release (with filter)  

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

User Guide

Install Dashboard

Dashboard release assets are published from this repository. Download the dashboard installer from the v0-final branch, then use install for a new deployment or upgrade for an existing one. The installer uses spiritlhl CDN acceleration and falls back to raw GitHub when needed.

curl -fsSL https://cdn0.spiritlhl.top/https://raw.githubusercontent.com/oneclickvirt/nezha/refs/heads/v0-final/script/install-dashboard.sh -o install-dashboard.sh
chmod +x install-dashboard.sh
sudo ./install-dashboard.sh install

Upgrade an existing installation:

sudo ./install-dashboard.sh upgrade

Pin a specific release version:

sudo INSTALL_VERSION=vX.Y.Z ./install-dashboard.sh install
sudo INSTALL_VERSION=vX.Y.Z ./install-dashboard.sh upgrade

Config values can be provided non-interactively via environment variables: NZ_ADMIN_LOGINS, NZ_OAUTH2_CLIENT_ID, NZ_OAUTH2_CLIENT_SECRET, NZ_GRPC_HOST, NZ_ENABLE_TLS, etc.

Agent install commands shown inside the dashboard fetch scripts from this repository, but the agent binary itself comes from the official nezhahq/agent release.

Docker Deployment

A Docker image is built and published to GHCR on every release:

ghcr.io/oneclickvirt/nezha-dashboard:latest

Quick start with docker compose using the provided template:

# Download the compose template
curl -fsSL https://cdn0.spiritlhl.top/https://raw.githubusercontent.com/oneclickvirt/nezha/refs/heads/v0-final/script/docker-compose.yaml -o docker-compose.yaml

# Create required directories and a minimal config
mkdir -p data

# Pull and start
docker compose up -d

Or run directly without compose:

docker run -d \
  --name nezha-dashboard \
  --restart always \
  -p 8008:80 \
  -p 5555:5555 \
  -v "$(pwd)/data:/dashboard/data" \
  ghcr.io/oneclickvirt/nezha-dashboard:latest

The docker-compose.yaml template uses placeholder values (nz_site_port, nz_grpc_port, nz_image_url) that the install-dashboard.sh script replaces automatically during setup. If you manage Docker manually, substitute these with your actual values.

Screenshots

Default Theme DayNight @JackieSung hotaru
Default Theme
Neko Mdui @MikoyChinese
AngelKanade @adminsama
ServerStatus @unclezs
Neko Mdui AngelKanade 默认主题魔改

Supported Languages

  • English
  • 中文
  • Español

You can change the dashboard language in the settings page (/setting) after the dashboard is installed.

Contributors

naiba

Akkia 卖女孩的小火柴 UUBulb nap0o 黑歌 xykt MikoyChinese JackieSung4ev Kris Lemoe spiritlhl 刘颜溪 CosmosZ-code Ko no dio Kris 1ridic Mmx rootmelo92118 zhucaidan Sean fscarmen no-name-now Tao Chen HsukqiLee Darc Z. Creling Core F Spetrum Tater Li Tony adminsama Acgpiano eya46 guoyongchang hiDandelion I lvyaoting lyj unclezs 缘生 凌 玖叁 Nanjing Hopefun Network Technology Co. Ltd. Moraxyc Mingzhuo Yin Martijn Lindeman MadDogOwner Leon KorenKrita Ian Li GreenTeodoro839 Esdese :D Coming Chotow 006lp

Special Thanks

  • IPInfo for providing an accurate GeoIP Database.

Star History

Star History Chart

About

:trollface: Self-hosted, lightweight server and website monitoring and O&M tool

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 79.0%
  • Shell 9.0%
  • JavaScript 8.8%
  • CSS 1.7%
  • PowerShell 1.4%
  • Dockerfile 0.1%