uptime-kuma是一款开源监控工具,类似于“Uptime Robot和statping”,ui非常简洁美观,支持TCP/PING/HTTP监控等,还支持多语言其中包括中文!
项目:https://github.com/louislam/uptime-kuma
安装步骤:
1.安装docker
apt install docker.io
2.安装uptime-kuma
# Create a volume docker volume create uptime-kuma # Start the container docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
3.配置nginx转发(删除其他的location,否则可能会导致404),添加:
location /static { alias /static; } location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; proxy_pass http://127.0.0.1:3001; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }
实际效果:
测试页面地址:
https://up.obaby.org.cn/status/0
ps:
3 comments
好用
你站点也不少!
好多都不怎么维护更新了。现在精力实在是有限,关键是还tm天天加班。