New warning borders for shelly wifi and raspi temp

This commit is contained in:
Dirk Alders 2024-07-20 18:49:31 +02:00
parent 0435acd697
commit f5d76c488b
2 changed files with 3 additions and 3 deletions

View File

@ -5,10 +5,10 @@ import nagios
import subprocess import subprocess
GPU_ERROR = 80 GPU_ERROR = 80
GPU_WARNING = 75 GPU_WARNING = 76.5
# #
CPU_ERROR = 80 CPU_ERROR = 80
CPU_WARNING = 75 CPU_WARNING = 76.5
# #
if __name__ == "__main__": if __name__ == "__main__":

View File

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