aboutsummaryrefslogtreecommitdiffstats
path: root/sitesummary-nodes
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2011-11-14 10:00:50 +0000
committerPetter Reinholdtsen <pere@hungry.com>2011-11-14 10:00:50 +0000
commit5b55ccf8bdcf39c84e3a26bf549f9424fec35e85 (patch)
tree5e75a6ce5b0615544ca53efff354ffe858484cca /sitesummary-nodes
parent2669eed8f5ee9ec15d04c571b12a213a887ff3c5 (diff)
downloadsitesummary-5b55ccf8bdcf39c84e3a26bf549f9424fec35e85.tar.gz
sitesummary-5b55ccf8bdcf39c84e3a26bf549f9424fec35e85.tar.bz2
sitesummary-5b55ccf8bdcf39c84e3a26bf549f9424fec35e85.tar.xz
Revert LDAP server check, as the check_ldap module provided in nagios-plugins-basic is not able to do a base search to fetch the root entry.
Diffstat (limited to 'sitesummary-nodes')
-rwxr-xr-xsitesummary-nodes5
1 files changed, 1 insertions, 4 deletions
diff --git a/sitesummary-nodes b/sitesummary-nodes
index 0ed7960..2ff9e37 100755
--- a/sitesummary-nodes
+++ b/sitesummary-nodes
@@ -304,7 +304,7 @@ sub generate_nagios_config {
my %tcpservices =
(
139 => { name => 'samba', package => 'samba' },
-# 389 => { name => 'ldap', package => 'slapd' },
+ 389 => { name => 'ldap', package => 'slapd' },
4949 => { name => 'munin', package => 'munin-node' },
);
@@ -485,9 +485,6 @@ sub generate_nagios_config {
# check LDAP and LDAPS using the protocol, module present in
# nagios-plugins-basic
- print_nagios_service_check(0, $hostname, "ldap",
- "check_ldap", "''")
- if is_pkg_installed($hostid, "slapd");
# Check Squid web proxy
print_nagios_service_check($remote, $hostname, "squid",