Module: check_mk
Branch: master
Commit: 73b1f75e0eaf214ef6df5d233fff94bddb9e0548
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=73b1f75e0eaf21…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Wed Jan 10 10:05:19 2018 +0100
Remove comment from isc_dhcpd
Change-Id: I8c243a4b628810017d8f500d57cecb47363dded1
---
checks/isc_dhcpd | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/checks/isc_dhcpd b/checks/isc_dhcpd
index e20119a..06f8f60 100644
--- a/checks/isc_dhcpd
+++ b/checks/isc_dhcpd
@@ -45,6 +45,7 @@ isc_dhcpd_default_levels = (15.0, 5.0)
# 10.0.1.53
# 10.0.1.57
+
def parse_isc_dhcpd(info):
def ip_to_number(ip):
number = 0
@@ -83,20 +84,6 @@ def parse_isc_dhcpd(info):
return parsed
-# The upper example after parsing:
-# {'leases': ['10.0.1.16',
-# '10.0.1.24',
-# '10.0.1.26',
-# '10.0.1.27',
-# '10.0.1.34',
-# '10.0.1.36',
-# '10.0.1.45',
-# '10.0.1.50',
-# '10.0.1.53',
-# '10.0.1.57'],
-# 'pids': [3670],
-# 'pools': [('10.0.1.1'), ('10.0.1.254')]}
-
def inventory_isc_dhcpd(parsed):
return [(item, "isc_dhcpd_default_levels") for item in
parsed["pools"]]