Changed the Performace Data Field

This commit is contained in:
2017-06-29 05:24:15 +02:00
parent 52670df1be
commit 2286e23d19
2 changed files with 5 additions and 1 deletions

View File

@@ -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