惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
罗磊的独立博客
S
SegmentFault 最新的问题
D
Docker
博客园 - 司徒正美
雷峰网
雷峰网
V
Visual Studio Blog
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
The GitHub Blog
The GitHub Blog
A
About on SuperTechFans
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - Franky
月光博客
月光博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
MyScale Blog
MyScale Blog
MongoDB | Blog
MongoDB | Blog

生猛大蝦

俩月了, DMIT 终于补货了! – 生猛大蝦 DMIT 全线缺货, 只剩搬瓦工了 – 生猛大蝦 Windows 下将 git 中的 bin 添加到环境变量 – 生猛大蝦 windows 环境下 无法将“git”项识别为 cmdlet、函数、脚本文件或可运行程序的名称 – 生猛大蝦 无法加载文件 xxx,因为在此系统上禁止运行脚本 的解决办法 – 生猛大蝦 📊 Shopify Sessions 表完整字段参考 – 生猛大蝦 Shopify Sessions 数据维度表 – 生猛大蝦 解锁 Shopify 与自建站商家的“代理式电商” (Agentic Commerce) 潜力 – 生猛大蝦 N.eko 解决 unknown event type: signal/close 的问题. – 生猛大蝦 1Panel 部署 N8N 简单配置 – 生猛大蝦 DMIT 传家宝又补货了! 错过拍断大腿 – 生猛大蝦 跨境电商 AI Prompts – 生猛大蝦 Matomo 配置数据库优化 – 生猛大蝦 搬瓦工 DC1 美西三网优化,年仅36刀! – 生猛大蝦 DMIT – LAX.Pro.PalmSpring,洛杉矶CN2 GIA ,年付$100 USD 补货啦! – 生猛大蝦 节点插件的白名单 mini 版, 救了我的破电脑 – 生猛大蝦 cannot change locale (en_US.UTF-8) 报错 – 生猛大蝦 用 .htaccess 和 .htpasswd 加固 WordPress 后台 – 生猛大蝦 macOS 禁止 OneDriver 自动更新 – 生猛大蝦 重置 Mac 的 SMC – 生猛大蝦 Debian 12/11 开启 BBR – 生猛大蝦 升级&安装最新版 golang-go – 生猛大蝦 【补货】DMIT 36.9传家宝补货 三网GIA回程! 39.9也补了!三网CMIN2!  – 生猛大蝦 快速配置反代 – 生猛大蝦 批量调整 Google GMC API Feed UTM 设置 – 生猛大蝦 复活几万块买的斐讯R1 – 生猛大蝦 彻底删除docker – 生猛大蝦 宝塔安装 nginx 失败 – 生猛大蝦 瓦工又补货了,库存还是很充足,希望黒五不要背刺 – 生猛大蝦 MySQL 设置优化记录 – 生猛大蝦
ServerStatus 感觉不错, 记录一下配置过程 – 生猛大蝦
小 虾 · 2026-05-13 · via 生猛大蝦

最近服务器有点多, 于是打算搞个探针监控一下, hostloc上看到ServerStatus的讨论比较多, 那就选它了!
安装有2种方法, 由于已经先安装了宝塔, 就选择手动安装了.
跟着教程来【克隆代码】:

git clone https://github.com/cppla/ServerStatus.git

【服务端配置】:
一、生成服务端程序

cd ServerStatus/server
make
./sergate

如果没错误提示,OK,ctrl+c关闭;如果有错误提示,检查35601端口是否被占用.
二、拷贝ServerStatus/status到网站目录
例如:

sudo cp -r ServerStatus/web/* /www/wwwroot/s.obb7.com

三、运行服务端
根据我自己的习惯

yum -y install screen
screen -S oye
cd /home/ServerStatus/server
./sergate --config=config.json --web-dir=/www/wwwroot/s.obb7.com >/dev/null 2>&1

手动重启:

查看进程: ps -ef | grep web
Kill进程: kill -9 xxxx
重新运行: ./sergate --config=config.json --web-dir=/www/wwwroot/s.obb7.com >/dev/null 2>&1

四、客户端运行

wget --no-check-certificate -qO client-linux.py 'https://raw.githubusercontent.com/cppla/ServerStatus/master/clients/client-linux.py' && nohup python client-linux.py SERVER=监控服务器IP USER=用户名 PASSWORD=密码 >/dev/null 2>&1 &

五、配置服务端config

{
            "username": "用户名",
            "name": "名字",
            "type": "?",
            "host": "host1",
            "location": "??",
            "password": "密码",
            "monthstart": 1
        }

这样基本上就完成了