aboutsummaryrefslogtreecommitdiffstats
path: root/sitesummary-nodes
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-01-16 10:13:20 +0000
committerPetter Reinholdtsen <pere@hungry.com>2010-01-16 10:13:20 +0000
commit9fb1b7d6ffb10e436aadbb2b1ce1337f74e5e74d (patch)
treef08b8af12edd0cfb26e28c993cdaab4f77da27e7 /sitesummary-nodes
parent4767c5f3476e2d902b28222c5359075a1491982e (diff)
downloadsitesummary-9fb1b7d6ffb10e436aadbb2b1ce1337f74e5e74d.tar.gz
sitesummary-9fb1b7d6ffb10e436aadbb2b1ce1337f74e5e74d.tar.bz2
sitesummary-9fb1b7d6ffb10e436aadbb2b1ce1337f74e5e74d.tar.xz
Add checks for running cron and working dhcp to Nagios configuration.
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 7da45ec..52a41e7 100755
--- a/sitesummary-nodes
+++ b/sitesummary-nodes
@@ -289,5 +289,10 @@ EOF
print_nagios_service_check($remote, $hostname, "process - cron",
"check_procs_command", "1:15!1:25!cron")
if (is_pkg_installed($hostid, "cron"));
+
+ print_nagios_service_check($remote, $hostname, "dhcp",
+ "check_dhcp")
+ if is_pkg_installed($hostid, "dhcp3-server");
+
}
}