Module: check_mk
Branch: master
Commit: 45b77cf2f082b7e2803a9e46a089c728740ad7eb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=45b77cf2f082b7…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Nov 30 15:58:04 2016 +0100
fixed undefined var
---
checks/ipmi_sensors | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/ipmi_sensors b/checks/ipmi_sensors
index b92ff59..ae20319 100644
--- a/checks/ipmi_sensors
+++ b/checks/ipmi_sensors
@@ -162,7 +162,7 @@ def parse_freeipmi(info):
lower_nc, upper_nc, upper_c, upper_nr = stripped_line[:-1]
add_valid_values( [ ("value", reading_str, float),
("unit", unit, str),
("crit_low", lower_c, float), ("warn_low", lower_nc,
float),
- ("warn_high", upper_nw, float), ("crit_high",
upper_c, float) ] )
+ ("warn_high", upper_nc, float), ("crit_high",
upper_c, float) ] )
return parsed