From fdc5abacfcf7cff44ecdfdebf05ffb559f7444fd Mon Sep 17 00:00:00 2001 From: cppla <i@cpp.la> Date: Wed, 3 Apr 2024 16:42:40 +0800 Subject: [PATCH] fix bug for offline --- README.md | 6 +++--- server/config.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9026efd..fe7b005 100644 --- a/README.md +++ b/README.md @@ -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)   @@ -115,8 +115,8 @@ cd ServerStatus/server && make "callback": "https://yourSMSurl" }, { - "name": "服务器宕机告警,排出node1,排除s02", - "rule": "online4=0&online6=0&name!='node1'&username!='s02'", + "name": "服务器宕机告警", + "rule": "online4=0&online6=0", "interval": 600, "callback": "https://yourSMSurl" }, diff --git a/server/config.json b/server/config.json index de79f18..0a96056 100644 --- a/server/config.json +++ b/server/config.json @@ -72,8 +72,8 @@ "callback": "https://yourSMSurl" }, { - "name": "offline warning,exclude name node1", - "rule": "online4=0&online6=0&name!='node1'", + "name": "offline warning", + "rule": "online4=0&online6=0", "interval": 600, "callback": "https://yourSMSurl" },