Module: check_mk
Branch: master
Commit: cd63b6ce1f346d9c7123ea23dd843dc1f2bd502e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cd63b6ce1f346d…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Tue Mar 8 11:59:52 2016 +0100
isc_dhcpd: configuration file in /usr/local is now also discovered
---
agents/plugins/isc_dhcpd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/plugins/isc_dhcpd b/agents/plugins/isc_dhcpd
index e94f0d1..87af321 100755
--- a/agents/plugins/isc_dhcpd
+++ b/agents/plugins/isc_dhcpd
@@ -3,7 +3,7 @@
import os, sys, time, calendar
conf_file = None
-for path in [ '/etc/dhcpd.conf', '/etc/dhcp/dhcpd.conf' ]:
+for path in [ '/etc/dhcpd.conf', '/etc/dhcp/dhcpd.conf',
'/usr/local/etc/dhcpd.conf' ]:
if os.path.exists(path):
conf_file = path
break