Module: check_mk
Branch: master
Commit: 146442e2075c8dd832b0628de6ff51a400609b76
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=146442e2075c8d…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Dec 4 14:38:24 2014 +0100
fixed typo
---
checks/bluecat_dhcp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/bluecat_dhcp b/checks/bluecat_dhcp
index a0d250e..54345fa 100644
--- a/checks/bluecat_dhcp
+++ b/checks/bluecat_dhcp
@@ -68,7 +68,7 @@ def check_bluecat_dhcp(item, params, info):
if ok_on_node:
node = ok_on_node
# One Node is OK:
- yield 0, "DHCP is %s on %s" % (states[ok]['oper_state'],
node)
+ yield 0, "DHCP is %s on %s" % (states[node]['oper_state'],
node)
yield 0, '%s Leases per second' %
(states[node]['leases_sec']), [ ('leases',
states[node]['leases_sec']) ]
else:
# None of the nodes is ok: