酷炫高逼格的云探针/云监控-ServerStatus

想给自己的服务器弄一个云监控,可以随时关注自己的服务器运行状态,于是找到了ServerStatus。

uTools 1640567800077 - 酷炫高逼格的云探针/云监控-ServerStatus

简单、酷炫、显示强大、低功耗满足绝大多数人的监控需求,下面安装走起:

安装Docker-compose:

curl -sSL https://get.docker.com/ | sh && apt -y install docker-compose

自动部署:

【服务端】:

`OneTouch`:     

wget --no-check-certificate -qO ~/serverstatus-config.json https://raw.githubusercontent.com/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     

`ServerStatus`: docker-compose up -d    

`ServerStatus with tgbot`: docker-compose -f docker-compose-telegram.yml up -d 

【客户端】:

wget --no-check-certificate -qO client-linux.py 'https://raw.githubusercontent.com/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.githubusercontent.com/cppla/ServerStatus/master/clients/client-linux.py' && nohup python3 client-linux.py SERVER=45.79.67.132 USER=s04  >/dev/null 2>&1 &

源码下载:点击下载