aboutsummaryrefslogtreecommitdiffstats
path: root/sitesummary-nodes
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2012-02-13 10:01:48 +0000
committerPetter Reinholdtsen <pere@hungry.com>2012-02-13 10:01:48 +0000
commite8519327081a5af9bd2a319c137581b13eab4f28 (patch)
treeb42d933f3c9756e787e51f6249c247ed9c87b8b1 /sitesummary-nodes
parentda23c0fc83a117cd5df1c183b4728a11724cb6ff (diff)
downloadsitesummary-e8519327081a5af9bd2a319c137581b13eab4f28.tar.gz
sitesummary-e8519327081a5af9bd2a319c137581b13eab4f28.tar.bz2
sitesummary-e8519327081a5af9bd2a319c137581b13eab4f28.tar.xz
Reintroduce DHCP server check, only checking if the process runs
this time.
Diffstat (limited to 'sitesummary-nodes')
-rwxr-xr-xsitesummary-nodes5
1 files changed, 5 insertions, 0 deletions
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",