在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ServerStatus-Hotaru开源软件地址:https://gitee.com/Fangshing87/ServerStatus-Hotaru开源软件介绍:ServerStatus-Hotaru云探针、多服务器探针、云监控、多服务器云监控 基于ServerStatus-Toyo最新版本稍作修改,不太会脚本什么的,前端也垃圾。见谅 Test v0.022:头图来源:Pixiv:72725286 特性模板来自:https://www.hostloc.com/thread-494384-1-1.html 以及:https://www.hostloc.com/thread-493783-1-1.html 稍作修改,多了个Region调用国家/地区旗帜。 客户端支持Python版本:Python2.7 - Python3.7 安装方法请见:https://www.cokemine.com/serverstatus-hotaru.html 服务端: wget https://raw.githubusercontent.com/CokeMine/ServerStatus-Hotaru/master/status.shbash status.sh s 客户端: bash status.sh c 修改方法如果你使用Toyo版本或原版本,请备份你的config文件并重新编译安装本版本服务端 配置文件:/usr/local/ServerStatus/server/config.json备份并自行添加Region { "username": "Name", "password": "Password", "name": "Your Servername", "type": "KVM", "host": "None", "location": "洛杉矶", "disabled": false , "region": "US" }, 替换配置文件,重启ServerStatus 手动安装服务端apt install wget unzip curl make build-essentialwget https://github.com/CokeMine/ServerStatus-Hotaru/archive/master.zipunzip master.zipcd /root/ServerStatus-Hotaru-master/servermake #手动编译生成二进制文件chmod +x sergatevim config.json #修改配置文件cp -r ../web/* /home/wwwroot/public #此为站点根目录,请自行设置./sergate --config=config.json --web-dir=/home/wwwroot/public Psutil版使用Psutil版即可使ServerStatus客户端在Windows等平台运行 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py ::若未安装pippython get-pip.pypython pip install psutil%修改status-psutil.py%python status-psutil.py Linux: apt install python3 python3-pip wgetpip3 install psutilwget https://raw.githubusercontent.com/CokeMine/ServerStatus-Hotaru/master/clients/status-psutil.pyvim status-psutil.py #修改客户端配置文件python3 status-psutil.py Darkmode前端已支持Darkmode,点击页面右下角小图标即可切换Darkmode(样式可能不尽如人意,各位有更好的样式或实现方法欢迎提交PR)默认不开启。 如何启动Darkmode:去掉index.html第99行注释即可 效果演示前端欢迎自定义。 相关开源项目 :
|
请发表评论