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 that. 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 <[EMAIL PROTECTED]>, you have been warned! -----BEGIN GEEK CODE BLOCK----- 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+++ ------END GEEK CODE BLOCK------
pgph9CymQNxCN.pgp
Description: PGP signature

