diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2012-02-13 10:46:17 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2012-02-13 10:46:17 +0000 |
commit | 7c4488af1dfb4980f099d7543ccde6a096187b25 (patch) | |
tree | c355eafa9ce852a9b43d8f69804d480b1d3af786 /sitesummary-nodes | |
parent | eb6ad3bbd3d12c22deedfcee41d53902e39524fc (diff) | |
download | sitesummary-7c4488af1dfb4980f099d7543ccde6a096187b25.tar.gz sitesummary-7c4488af1dfb4980f099d7543ccde6a096187b25.tar.bz2 sitesummary-7c4488af1dfb4980f099d7543ccde6a096187b25.tar.xz |
this time. Check for dhcpd3 on Lenny and dhcpd on Squeeze++.
Diffstat (limited to 'sitesummary-nodes')
-rwxr-xr-x | sitesummary-nodes | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sitesummary-nodes b/sitesummary-nodes index d5016c9..8f55bbe 100755 --- a/sitesummary-nodes +++ b/sitesummary-nodes @@ -400,10 +400,12 @@ sub generate_nagios_config { # print_nagios_service_check($remote, $hostname, "dhcp", # "check_dhcp") # if is_pkg_installed($hostid, "dhcp3-server"); + print_nagios_service_check($remote, $hostname, "process - dhcpd3", + "check_procs_dhcpd", "1:15!1:25") + if (is_pkg_installed($hostid, "dhcp3-server")); print_nagios_service_check($remote, $hostname, "process - dhcpd", "check_procs_dhcpd", "1:15!1:25") - if (is_pkg_installed($hostid, "dhcp3-server") - || is_pkg_installed($hostid, "isc-dhcp-server")); + if (is_pkg_installed($hostid, "isc-dhcp-server")); # Check DNS server print_nagios_service_check($remote, $hostname, "dns", |