增加一个月出口流量示例

pull/210/head
cppla 2023-04-03 15:12:33 +08:00
parent 979a9b5d87
commit 4b1ec57c6d
2 changed files with 12 additions and 0 deletions

View File

@ -107,6 +107,12 @@ cd ServerStatus/server && make
"interval": 300,
"callback": "https://yourSMSurl"
},
{
"name": "服务器月出口流量999GB告警",
"rule": "(network_out-last_network_out)/1024/1024/1024>999",
"interval": 3600,
"callback": "https://yourSMSurl"
},
{
"name": "你可以组合任何已知字段的表达式",
"rule": "(hdd_used/hdd_total)*100>95",

View File

@ -63,6 +63,12 @@
"interval": 300,
"callback": "https://yourSMSurl"
},
{
"name": "month traffic warning",
"rule": "(network_out-last_network_out)/1024/1024/1024>999",
"interval": 3600,
"callback": "https://yourSMSurl"
},
{
"name": "you can parse an expression combining any known field",
"rule": "load_5>3",