diff --git a/check_temp.sh b/check_temp.sh index 0379a16..ac56dd5 100755 --- a/check_temp.sh +++ b/check_temp.sh @@ -229,7 +229,7 @@ ${SENSORPROG} fi # Get performance data for Nagios "Performance Data" field -PERFDATA="temperature=$TEMP" +PERFDATA="$sensor=$TEMP;$thresh_warn;$thresh_crit" # And finally check the temperature against our thresholds