Update README.md

This commit is contained in:
cppla 2024-09-11 18:01:05 +08:00 committed by GitHub
parent 6068a2ba17
commit 784c40b153
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -69,8 +69,7 @@ cd ServerStatus/server && make
```diff
! watchdog rule 可以为任何已知字段的表达式。注意Exprtk库默认使用窄字符类型中文等Unicode字符无法解析计算等待修复
! watchdog interval 最小通知间隔
! watchdog callback 可自定义为Post方法的URL告警内容将拼接其后并发起回调
! Server酱注册https://sct.ftqq.com/r/13682
! watchdog callback 可自定义为Post方法的URL告警内容将拼接其后并发起回调
! Telegram: https://api.telegram.org/bot你自己的密钥/sendMessage?parse_mode=HTML&disable_web_page_preview=true&chat_id=你自己的标识&text=
! Server酱: https://sctapi.ftqq.com/你自己的密钥.send?title=ServerStatus&desp=
@ -133,7 +132,7 @@ cd ServerStatus/server && make
"callback": "https://yourSMSurl"
},
{
"name": "乌兰察布服务器流量18GB告警",
"name": "阿里云服务器流量18GB告警,限制username为乌兰察布",
"rule": "(network_out-last_network_out)/1024/1024/1024>18&(username='wlcb1'|username='wlcb2'|username='wlcb3'|username='wlcb4')",
"interval": 3600,
"callback": "https://yourSMSurl"