跳转至

Server 酱服务器监控配置

📝 配置步骤

1. 获取 SendKey

  1. 访问 https://sct.ftqq.com/
  2. 微信扫码登录
  3. 复制你的 SendKey

2. 测试推送

curl -s https://sctapi.ftqq.com/SCTxxx.send?title=测试&desp=配置成功

3. 设置定时任务

1
2
3
4
5
# 编辑 crontab
crontab -e

# 添加以下行(每 5 分钟检查一次)
*/5 * * * * /home/admin/.openclaw/workspace/scripts/server-monitor.sh SCTxxx >> /tmp/server-monitor.log 2>&1

🔧 监控指标

指标 告警阈值
CPU 使用率 > 80%
内存使用率 > 80%
磁盘使用率 > 85%

📱 接收渠道

Server 酱支持推送到: - ✅ 微信(个人/企业) - ✅ 钉钉群 - ✅ 飞书群 - ✅ 手机客户端

🔗 相关资源