diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2012-02-13 10:01:48 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2012-02-13 10:01:48 +0000 |
commit | e8519327081a5af9bd2a319c137581b13eab4f28 (patch) | |
tree | b42d933f3c9756e787e51f6249c247ed9c87b8b1 | |
parent | da23c0fc83a117cd5df1c183b4728a11724cb6ff (diff) | |
download | sitesummary-e8519327081a5af9bd2a319c137581b13eab4f28.tar.gz sitesummary-e8519327081a5af9bd2a319c137581b13eab4f28.tar.bz2 sitesummary-e8519327081a5af9bd2a319c137581b13eab4f28.tar.xz |
Reintroduce DHCP server check, only checking if the process runs
this time.
-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", |