File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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.1 -red )] ( https://github.com/cppla/ServerStatus )
9+ [ ![ Version] ( https://img.shields.io/badge/Version-Build%201.1.2 -red )] ( https://github.com/cppla/ServerStatus )
1010
1111![ Latest Version] ( http://dl.cpp.la/Archive/serverstatus_1.0.9.png )
1212
13- ` Watchdog触发式告警,interval只是为了防止频繁收到报警信息造成的骚扰,并不是探测间隔。 同时为了防止海外机器闪断报警,也加入username、name、type等静态字符串参数的计算支持。 `
13+ ` Watchdog触发式告警,interval只是为了防止频繁收到报警信息造成的骚扰,并不是探测间隔。 同时为了防止海外机器闪断报警,也加入username、name、type等静态字符串参数的计算支持。值得注意的是,Exprtk库默认使用窄字符类型,中文等Unicode字符无法解析计算,等待修复 `
1414
1515# 目录:
1616
@@ -67,7 +67,7 @@ cd ServerStatus/server && make
6767
6868#### 二、修改配置文件
6969``` diff
70- ! watchdog rule 可以为任何已知字段的表达式。注意Exprtk库默认使用窄字符类型,中文等Unicode字符无法解析计算,todo等待修复
70+ ! watchdog rule 可以为任何已知字段的表达式。注意Exprtk库默认使用窄字符类型,中文等Unicode字符无法解析计算,等待修复
7171! watchdog interval 最小通知间隔
7272! watchdog callback 可自定义为Post方法的URL,告警内容将拼接其后并发起回调
7373
@@ -132,7 +132,7 @@ cd ServerStatus/server && make
132132 "callback": "https://yourSMSurl"
133133 },
134134 {
135- "name": "你可以组合任何已知字段的表达式,注意Exprtk库目前不支持中文等Unicode字符 ",
135+ "name": "你可以组合任何已知字段的表达式",
136136 "rule": "(hdd_used/hdd_total)*100>95",
137137 "interval": 1800,
138138 "callback": "https://yourSMSurl"
You can’t perform that action at this time.
0 commit comments