Module: check_mk
Branch: master
Commit: d9d455ee138d751b136f2d1a1858c071c67d7f3c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d9d455ee138d75…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Apr 22 08:24:55 2016 +0200
3392 FIX avaya_45xx_temp: Fixed broken check
---
.werks/3392 | 9 +++++++++
ChangeLog | 1 +
checks/avaya_45xx_temp | 3 ++-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/3392 b/.werks/3392
new file mode 100644
index 0000000..63ab1ef
--- /dev/null
+++ b/.werks/3392
@@ -0,0 +1,9 @@
+Title: avaya_45xx_temp: Fixed broken check
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.9i1
+Date: 1461306279
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 49704bb..07925f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -170,6 +170,7 @@
* 3030 FIX: brocade_info: fixed problem in snmp scan function during service
discovery...
* 3389 FIX: ps: Fixed stripped command lines for process checking on solaris systems
* 3391 FIX: CPU checks: Fixed graph per core when cores names don't have a
tailing number
+ * 3392 FIX: avaya_45xx_temp: Fixed broken check
Multisite:
* 3187 notification view: new filter for log command via regex
diff --git a/checks/avaya_45xx_temp b/checks/avaya_45xx_temp
index 392d8f3..6ccb47d 100644
--- a/checks/avaya_45xx_temp
+++ b/checks/avaya_45xx_temp
@@ -36,7 +36,8 @@ def inventory_avaya_45xx_temp(info):
def check_avaya_45xx_temp(item, params, info):
for idx, temp in enumerate(info):
if str(idx) == item:
- return check_temperature(int(temp[0]), params, dev_unit = "f")
+ return check_temperature(int(temp[0]), params,
+ "avaya_45xx_temp_%s" % item, dev_unit =
"f")
check_info["avaya_45xx_temp"] = {
"check_function": check_avaya_45xx_temp,