Module: check_mk
Branch: master
Commit: 6f0f4e5f5c51e9cf5f335a76b68f2184de03b536
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6f0f4e5f5c51e9…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Sep 23 14:36:53 2014 +0200
bluecat_dhcp: fixed invalid reference in check function
---
checks/bluecat_dhcp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/bluecat_dhcp b/checks/bluecat_dhcp
index ff677d8..9093536 100644
--- a/checks/bluecat_dhcp
+++ b/checks/bluecat_dhcp
@@ -45,7 +45,7 @@ def check_bluecat_dhcp(item, params, info):
state = 0
for line in info:
- oper_state, leases_sec = map(int, info[0])
+ oper_state, leases_sec = map(int, line[0])
if oper_state in params['oper_states']['warning']:
state = 1
elif oper_state in params['oper_states']['critical']: