diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-01-16 10:13:20 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-01-16 10:13:20 +0000 |
commit | 9fb1b7d6ffb10e436aadbb2b1ce1337f74e5e74d (patch) | |
tree | f08b8af12edd0cfb26e28c993cdaab4f77da27e7 /sitesummary-nodes | |
parent | 4767c5f3476e2d902b28222c5359075a1491982e (diff) | |
download | sitesummary-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-x | sitesummary-nodes | 5 |
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"); + } } |