Module: check_mk
Branch: master
Commit: 07a0ff781a3aaa4cfb96c0dab0e8333b725ec541
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=07a0ff781a3aaa…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Nov 6 09:27:01 2014 +0100
hwg_temp: Fixed inventory function
---
checks/hwg_temp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/hwg_temp b/checks/hwg_temp
index e397a76..7abeed6 100644
--- a/checks/hwg_temp
+++ b/checks/hwg_temp
@@ -30,7 +30,7 @@ hwg_temp_defaultlevels = (23, 25)
def inventory_hwg_temp(info):
return [ (line[0], "hwg_temp_defaultlevels")
for line in info
- if int(line[2]) != 0 and line[5] in ["1", "2",
"3"] ]
+ if int(line[2]) != 0 and line[4] in ["1", "2",
"3"] ]
def check_hwg_temp(item, params, info):