[Pkg-nagios-devel] Bug#491233: Bug#491233: nagios-plugins: check_ldap should use version 3 of slapd protocol

Jan Wagner waja at cyconet.org
Sun Jul 20 14:56:23 UTC 2008

Hi Michel,

On Thursday 17 July 2008 22:53, Michel Grentzinger wrote:
> 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 }

the problem of changing the command definition of 'check_ldap'is, that it 
breaks existing installations, so I would say we are recommanded to not do 
Of course we can add another check command (maybe check_ldap3), which provides 
this functionality.

Any objections? With kind regards, Jan.
Never write mail to <waja at spamfalle.info>, you have been warned!
Version: 3.1
GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20080720/838946cc/attachment.pgp 

More information about the Pkg-nagios-devel mailing list