diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-11-12 15:54:38 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-11-12 15:54:38 +0100 |
commit | 71a8ebb4cf9ce95a059ad3a26b9811294887ec28 (patch) | |
tree | a9d5a049db660c6d043a2cfe27db3f8fbdbeb184 | |
parent | 56d4b868f96001d2022c01ca74a84b158c761cfe (diff) | |
download | monitoring_custom-71a8ebb4cf9ce95a059ad3a26b9811294887ec28.tar.gz |
check_sensors
-rwxr-xr-x | check_sensors | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check_sensors b/check_sensors index c4b0e76..300e40c 100755 --- a/check_sensors +++ b/check_sensors @@ -18,7 +18,7 @@ DATA=( $(sensors | \ for (( i=0; i<${#DATA[@]}; i++ )); do (( $(echo "${DATA[$i]} > $WARN" | bc -l ) )) && IS_WARN="true" (( $(echo "${DATA[$i]} > $CRIT" | bc -l ) )) && IS_CRIT="true" - PERFDATA+="core_$i=${DATA[$i]}," + PERFDATA+=" core_$i=${DATA[$i]}C" done [ $IS_WARN = true ] && LEVEL=1 |