diff options
-rw-r--r-- | debian/changelog | 4 | ||||
-rwxr-xr-x | sitesummary-nodes | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 16b0aab..2a7d38a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,7 +7,9 @@ sitesummary (0.0.68+nmu1) UNRELEASED; urgency=low [ Petter Reinholdtsen ] * Make CUPS check more robust. Require both cups and cups-client packages installed to enable it. - + * Add LDAP protocol check (simple search for root attributes) for + machines with slapd installed. + -- Andreas B. Mundt <andi.mundt@web.de> Thu, 16 Jun 2011 20:33:54 +0200 sitesummary (0.0.68) unstable; urgency=low diff --git a/sitesummary-nodes b/sitesummary-nodes index 2ff9e37..29b1e2e 100755 --- a/sitesummary-nodes +++ b/sitesummary-nodes @@ -485,6 +485,9 @@ sub generate_nagios_config { # check LDAP and LDAPS using the protocol, module present in # nagios-plugins-basic + print_nagios_service_check($remote, $hostname, "ldap", + "check_ldap", "''") + if is_pkg_installed($hostid, "slapd"); # Check Squid web proxy print_nagios_service_check($remote, $hostname, "squid", |