Browse Source

New warning borders for shelly wifi and raspi temp

master
Dirk Alders 5 months ago
parent
commit
f5d76c488b
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      check_raspi_temp
  2. 1
    1
      check_shelly

+ 2
- 2
check_raspi_temp View File

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

+ 1
- 1
check_shelly View File

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

Loading…
Cancel
Save