ServerStatus中文版:
- ServerStatus中文版是一个酷炫高逼格的云探针、云监控、服务器云监控、多服务器探针~。
- 在线演示:https://tz.cloudcpp.com
Watchdog触发式告警,interval只是为了防止频繁收到报警信息造成的骚扰,并不是探测间隔。值得注意的是,Exprtk库默认使用窄字符类型,中文等Unicode字符无法解析计算,等待修复。
目录:
- clients 客户端文件
- server 服务端文件
- web 网站文件
- server/config.json 探针配置文件
- web/json 探针月流量
部署:
【服务端】:
`Docker`:
wget --no-check-certificate -qO ~/serverstatus-config.json https://raw.bgithub.xyz/cppla/ServerStatus/master/server/config.json && mkdir ~/serverstatus-monthtraffic
docker run -d --restart=always --name=serverstatus -v ~/serverstatus-config.json:/ServerStatus/server/config.json -v ~/serverstatus-monthtraffic:/usr/share/nginx/html/json -p 80:80 -p 35601:35601 cppla/serverstatus:latest
`Docker-compose(推荐)`: docker-compose up -d
【客户端】:
wget --no-check-certificate -qO client-linux.py 'https://raw.bgithub.xyz/cppla/ServerStatus/master/clients/client-linux.py' && nohup python3 client-linux.py SERVER={$SERVER} USER={$USER} PASSWORD={$PASSWORD} >/dev/null 2>&1 &
eg:
wget --no-check-certificate -qO client-linux.py 'https://raw.bgithub.xyz/cppla/ServerStatus/master/clients/client-linux.py' && nohup python3 client-linux.py SERVER=45.79.67.132 USER=s04 >/dev/null 2>&1 &
源码:
Github:https://github.com/cppla/ServerStatus
感谢您的来访,获取更多精彩文章请收藏本站。

© 版权声明
THE END
暂无评论内容