Package: nagios-plugins Version: 1.4.5-1etch1 Severity: minor I've a server box which resides nagios2 and slapd server (Debian Etch). By default, OpenLDAP use version 3 of the protocol but check_ldap use version 2.
This works for me : /usr/lib/nagios/plugins/check_ldap -3 -H kayak.homeg.lan -b 'dc=homeg,dc=lan' LDAP OK - 0,013 secondes de temps de r�ponse|time=0,012601s;;;0,000000 So I must modify the /etc/nagios-plugins/config/ldap.cfg : # 'check_ldap' command definition define command{ command_name check_ldap command_line /usr/lib/nagios/plugins/check_ldap -H $HOSTADDRESS$ -b $ARG1$ -3 } in order to have nagios checking right the OpenLDAP server. I don't know if the most recent packages is affected. Thanks, -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-k7 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages nagios-plugins depends on: ii nagios-plugins-basic 1.4.5-1etch1 Plugins for the nagios network mon ii nagios-plugins-standard 1.4.5-1etch1 Plugins for the nagios network mon nagios-plugins recommends no packages. -- no debconf information
--- ldap.cfg-OLD 2008-07-17 22:51:48.000000000 +0200 +++ ldap.cfg 2008-07-17 22:46:47.000000000 +0200 @@ -1,6 +1,6 @@ # 'check_ldap' command definition define command{ command_name check_ldap - command_line /usr/lib/nagios/plugins/check_ldap -H $HOSTADDRESS$ -b $ARG1$ + command_line /usr/lib/nagios/plugins/check_ldap -H $HOSTADDRESS$ -b $ARG1$ -3 }