Skip to content

Instantly share code, notes, and snippets.

@kikohz
Created April 17, 2020 12:52
Show Gist options
  • Save kikohz/639c360ffbea59f7c59b1e2dbb1352c0 to your computer and use it in GitHub Desktop.
Save kikohz/639c360ffbea59f7c59b1e2dbb1352c0 to your computer and use it in GitHub Desktop.
ServerStatus-Toyo 一个多服务器监控云探针程序
一键脚本
执行下面的代码下载再运行管理脚本
wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/status.sh && chmod +x status.sh
管理菜单
根据需要安装客户端或者服务端
# 显示客户端管理菜单
bash status.sh c
# 显示服务端管理菜单
bash status.sh s
根据需要的选项输入数字即可
ServerStatus 一键安装管理脚本 [v1.0.15]
0. 升级脚本
————————————
1. 安装 服务端
2. 更新 服务端
3. 卸载 服务端
————————————
4. 启动 服务端
5. 停止 服务端
6. 重启 服务端
————————————
7. 设置 服务端配置
8. 查看 服务端信息
9. 查看 服务端日志
————————————
10. 切换为 客户端菜单
当前状态: 服务端 已安装 并 已启动
请输入数字 [0-10]:
目录位置
安装目录:/usr/local/ServerStatus
网页文件:/usr/local/ServerStatus/web
配置文件:/usr/local/ServerStatus/server/config.json
客户端查看日志:tail -f tmp/serverstatus_client.log
服务端查看日志:tail -f /tmp/serverstatus_server.log
Caddy配置文件:/usr/local/caddy/caddy
目录介绍
clients客户端文件
server服务端文件
web网站文件
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment