Module: check_mk
Branch: master
Commit: a4e1597d4337f1a987674f8a34b155a196081d48
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a4e1597d4337f1…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Apr 19 13:32:47 2016 +0200
fixed stulz_temp if reading is 999
---
checks/stulz_temp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/stulz_temp b/checks/stulz_temp
index ef8f7cb..e2cefab 100644
--- a/checks/stulz_temp
+++ b/checks/stulz_temp
@@ -77,7 +77,7 @@ def parse_stulz_temp(info):
oids = oidend.split(".")
temp_ty = oids[0]
index = oids[2]
- if temp_ty in map_types:
+ if temp_ty in map_types and reading_str != "999":
itemname = "%s-%s" % (map_types[temp_ty], index)
parsed.setdefault(itemname, float(reading_str)/10)