mirror of
https://github.com//cppla/ServerStatus
synced 2025-06-01 21:29:50 +08:00
fix bug for offline
This commit is contained in:
parent
388938e02b
commit
fdc5abacfc
@ -6,7 +6,7 @@
|
|||||||
[](https://github.com/cppla/ServerStatus)
|
[](https://github.com/cppla/ServerStatus)
|
||||||
[](https://github.com/cppla/ServerStatus)
|
[](https://github.com/cppla/ServerStatus)
|
||||||
[](https://github.com/cppla/ServerStatus)
|
[](https://github.com/cppla/ServerStatus)
|
||||||
[](https://github.com/cppla/ServerStatus)
|
[](https://github.com/cppla/ServerStatus)
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
@ -115,8 +115,8 @@ cd ServerStatus/server && make
|
|||||||
"callback": "https://yourSMSurl"
|
"callback": "https://yourSMSurl"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "服务器宕机告警,排出node1,排除s02",
|
"name": "服务器宕机告警",
|
||||||
"rule": "online4=0&online6=0&name!='node1'&username!='s02'",
|
"rule": "online4=0&online6=0",
|
||||||
"interval": 600,
|
"interval": 600,
|
||||||
"callback": "https://yourSMSurl"
|
"callback": "https://yourSMSurl"
|
||||||
},
|
},
|
||||||
|
@ -72,8 +72,8 @@
|
|||||||
"callback": "https://yourSMSurl"
|
"callback": "https://yourSMSurl"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "offline warning,exclude name node1",
|
"name": "offline warning",
|
||||||
"rule": "online4=0&online6=0&name!='node1'",
|
"rule": "online4=0&online6=0",
|
||||||
"interval": 600,
|
"interval": 600,
|
||||||
"callback": "https://yourSMSurl"
|
"callback": "https://yourSMSurl"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user