diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | sitesummary-nodes | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 2df5469..b5838fe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ sitesummary (0.1.3) UNRELEASED; urgency=low * Change temp file name created by nagios-plugins check_cups_queue to include host name being checked, to make it easier to figure out why some of the temp files are left behind. + * Reintroduce DHCP server check, only checking if the process runs + this time. -- Petter Reinholdtsen <pere@debian.org> Sat, 11 Feb 2012 08:42:08 +0100 diff --git a/sitesummary-nodes b/sitesummary-nodes index 3777e31..e3c1f14 100755 --- a/sitesummary-nodes +++ b/sitesummary-nodes @@ -396,9 +396,14 @@ sub generate_nagios_config { "check_shutdown"); +# The check_dhcp test do not seem to work. Check for the process existence. # print_nagios_service_check($remote, $hostname, "dhcp", # "check_dhcp") # if is_pkg_installed($hostid, "dhcp3-server"); + print_nagios_service_check($remote, $hostname, "process - dhcpd", + "check_procs_cron", "1:15!1:25") + if (is_pkg_installed($hostid, "dhcp3-server") + || is_pkg_installed($hostid, "isc-dhcp-server")); # Check DNS server print_nagios_service_check($remote, $hostname, "dns", |