Module: check_mk
Branch: master
Commit: 01e9e14f56488c7ddacb8988c73a75ab8003c922
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=01e9e14f56488c…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Mon Nov 9 11:55:33 2015 +0100
temperature.include: Removed lower levels from perfdata output
Previously, values for lower levels were written to the positions defined
as min/max. This served no practical purpose and is flat out wrong.
---
checks/temperature.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/temperature.include b/checks/temperature.include
index a4ec436..fde1206 100644
--- a/checks/temperature.include
+++ b/checks/temperature.include
@@ -198,7 +198,7 @@ def check_temperature(reading, params, dev_unit = "c",
else:
status = max(status, dev_status)
- perfdata = [ ("temp", temp, warn, crit, warn_lower, crit_lower) ]
+ perfdata = [ ("temp", temp, warn, crit) ]
# Render actual temperature, e.g. "17.8 °F"
infotext = "%s %s" % (render_temp(temp, output_unit),
temp_unitsym[output_unit])