aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-11-12 15:54:38 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-11-12 15:54:38 +0100
commit71a8ebb4cf9ce95a059ad3a26b9811294887ec28 (patch)
treea9d5a049db660c6d043a2cfe27db3f8fbdbeb184
parent56d4b868f96001d2022c01ca74a84b158c761cfe (diff)
downloadmonitoring_custom-71a8ebb4cf9ce95a059ad3a26b9811294887ec28.tar.gz
check_sensors
-rwxr-xr-xcheck_sensors2
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