浏览代码

New warning borders for shelly wifi and raspi temp

master
Dirk Alders 5 个月前
父节点
当前提交
f5d76c488b
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2
    2
      check_raspi_temp
  2. 1
    1
      check_shelly

+ 2
- 2
check_raspi_temp 查看文件

@@ -5,10 +5,10 @@ import nagios
5 5
 import subprocess
6 6
 
7 7
 GPU_ERROR = 80
8
-GPU_WARNING = 75
8
+GPU_WARNING = 76.5
9 9
 #
10 10
 CPU_ERROR = 80
11
-CPU_WARNING = 75
11
+CPU_WARNING = 76.5
12 12
 #
13 13
 
14 14
 if __name__ == "__main__":

+ 1
- 1
check_shelly 查看文件

@@ -9,7 +9,7 @@ import urllib.request
9 9
 CHECKS = ['wifi', 'mqtt', 'memory', 'filesystem', 'temperature']
10 10
 #
11 11
 WIFI_QUALITY_ERROR = -92
12
-WIFI_QUALITY_WARNING = -90
12
+WIFI_QUALITY_WARNING = -91
13 13
 #
14 14
 RAM_ERROR = .15
15 15
 RAM_WARNING = .30

正在加载...
取消
保存