mirror of
https://github.com//cppla/ServerStatus
synced 2025-06-01 21:29:50 +08:00
Update README.md
This commit is contained in:
parent
6068a2ba17
commit
784c40b153
@ -69,8 +69,7 @@ cd ServerStatus/server && make
|
|||||||
```diff
|
```diff
|
||||||
! watchdog rule 可以为任何已知字段的表达式。注意Exprtk库默认使用窄字符类型,中文等Unicode字符无法解析计算,等待修复
|
! watchdog rule 可以为任何已知字段的表达式。注意Exprtk库默认使用窄字符类型,中文等Unicode字符无法解析计算,等待修复
|
||||||
! watchdog interval 最小通知间隔
|
! watchdog interval 最小通知间隔
|
||||||
! watchdog callback 可自定义为Post方法的URL,告警内容将拼接其后并发起回调
|
! watchdog callback 可自定义为Post方法的URL,告警内容将拼接其后并发起回调
|
||||||
! Server酱注册:https://sct.ftqq.com/r/13682
|
|
||||||
|
|
||||||
! Telegram: https://api.telegram.org/bot你自己的密钥/sendMessage?parse_mode=HTML&disable_web_page_preview=true&chat_id=你自己的标识&text=
|
! 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=
|
! Server酱: https://sctapi.ftqq.com/你自己的密钥.send?title=ServerStatus&desp=
|
||||||
@ -133,7 +132,7 @@ cd ServerStatus/server && make
|
|||||||
"callback": "https://yourSMSurl"
|
"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')",
|
"rule": "(network_out-last_network_out)/1024/1024/1024>18&(username='wlcb1'|username='wlcb2'|username='wlcb3'|username='wlcb4')",
|
||||||
"interval": 3600,
|
"interval": 3600,
|
||||||
"callback": "https://yourSMSurl"
|
"callback": "https://yourSMSurl"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user