diff --git a/HISTORY b/HISTORY index e3a87c5..9f8e680 100644 --- a/HISTORY +++ b/HISTORY @@ -23,3 +23,7 @@ Version 0.94: In 0.94 I removed /etc from the whereis path as it didn't work for me on my setup. It found the config-file for lm-sensors and tried to run it. + +Version 0.95: + Changed the Performance Data Field to only contain a label and the + actual value in celsius. For example "temperature=39". diff --git a/check_temp.sh b/check_temp.sh index 6d8769f..721caa4 100755 --- a/check_temp.sh +++ b/check_temp.sh @@ -228,7 +228,7 @@ ${SENSORPROG} fi # Get performance data for Nagios "Performance Data" field -PERFDATA=`${SENSORPROG} | grep "$sensor" | head -n1` +PERFDATA="temperature=$TEMP" # And finally check the temperature against our thresholds