2014-09-12 19:05 GMT+02:00 Francois Gnu <[email protected]>: > Hi Clément, > > > Here with -vv option: > > # /usr/lib/nagios/plugins/check_ldap_monitor.pl -vv -P 'password' -H > ip_server -D cn=admin,cn=config -b cn=monitor -w10 -c40 -T totalmodify > VERBOSE 2 ===> Connected to ldap://ip_server > VERBOSE 2 ===> Bind with cn=admin,cn=config > Use of uninitialized value $result in concatenation (.) or string at > /usr/lib/nagios/plugins/check_ldap_monitor.pl line 394, <DATA> line 751. > VERBOSE 2 ===> Found value > Use of uninitialized value $value in numeric lt (<) at > /usr/lib/nagios/plugins/check_ldap_monitor.pl line 596, <DATA> line 751. > Use of uninitialized value $value in concatenation (.) or string at > /usr/lib/nagios/plugins/check_ldap_monitor.pl line 597, <DATA> line 751. > OK - total MODIFY operations returned > > > But, when i do a ldapsearch i have: > # ldapsearch -xWLLL -D cn=admin,cn=config -s base -b > cn=Modify,cn=Operations,cn=Monitor "(objectClass=*)" monitorOpCompleted > Enter LDAP Password: > dn: cn=Modify,cn=Operations,cn=Monitor > monitorOpCompleted: 297 > >
Hi, you don't need to specify the -b option in check_ldap_monitor.pl command, or if you define it, use the good value, like "cn=Modify,cn=Operations,cn=Monitor". But just removing the option should work. Clément.
_______________________________________________ ltb-users mailing list [email protected] http://lists.ltb-project.org/listinfo/ltb-users
