Skip to content

Commit fdc5aba

Browse files
committed
fix bug for offline
1 parent 388938e commit fdc5aba

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Python Support](https://img.shields.io/badge/python-3.6%2B%20-blue.svg)](https://github.com/cppla/ServerStatus)
77
[![C++ Compiler](http://img.shields.io/badge/C++-GNU-blue.svg?style=flat&logo=cplusplus)](https://github.com/cppla/ServerStatus)
88
[![License](https://img.shields.io/badge/license-MIT-4EB1BA.svg?style=flat-square)](https://github.com/cppla/ServerStatus)
9-
[![Version](https://img.shields.io/badge/Version-Build%201.1.2-red)](https://github.com/cppla/ServerStatus)
9+
[![Version](https://img.shields.io/badge/Version-Build%201.1.3-red)](https://github.com/cppla/ServerStatus)
1010

1111
![Latest Host Version](https://dl.cpp.la/Archive/serverstatus_1.1.2_host.png)
1212
![Latest Server Version](https://dl.cpp.la/Archive/serverstatus_1.1.2_server.png)
@@ -115,8 +115,8 @@ cd ServerStatus/server && make
115115
"callback": "https://yourSMSurl"
116116
},
117117
{
118-
"name": "服务器宕机告警,排出node1,排除s02",
119-
"rule": "online4=0&online6=0&name!='node1'&username!='s02'",
118+
"name": "服务器宕机告警",
119+
"rule": "online4=0&online6=0",
120120
"interval": 600,
121121
"callback": "https://yourSMSurl"
122122
},

server/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@
7272
"callback": "https://yourSMSurl"
7373
},
7474
{
75-
"name": "offline warning,exclude name node1",
76-
"rule": "online4=0&online6=0&name!='node1'",
75+
"name": "offline warning",
76+
"rule": "online4=0&online6=0",
7777
"interval": 600,
7878
"callback": "https://yourSMSurl"
7979
},

0 commit comments

Comments
 (0)