aboutsummaryrefslogtreecommitdiffstats
path: root/sitesummary-nodes
diff options
context:
space:
mode:
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",