diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2011-11-13 21:15:38 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2011-11-13 21:15:38 +0000 |
commit | 397c42d44dbc0ac206c6eec6e7347465b6eef028 (patch) | |
tree | 39e741951ed3e9c08025ff5a714a4ebbe92e0896 | |
parent | 35ad1e3ff48a5dc8f0756a2a50fa226356a9ac80 (diff) | |
download | sitesummary-397c42d44dbc0ac206c6eec6e7347465b6eef028.tar.gz sitesummary-397c42d44dbc0ac206c6eec6e7347465b6eef028.tar.bz2 sitesummary-397c42d44dbc0ac206c6eec6e7347465b6eef028.tar.xz |
Add LDAP protocol check (simple search for root attributes) for
machines with slapd installed.
-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", |