aboutsummaryrefslogtreecommitdiff
path: root/check_sensors
diff options
context:
space:
mode:
Diffstat (limited to '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