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


Thanks!



Librement,
------
Francois Trachez (kiko)
Team Fedora|Lyon (France)
http://stg.fedoraproject.org/fr/
http://stg.fedoraproject.org/es/

2014-09-12 2:10 GMT-05:00 Clément OUDOT <[email protected]>:

>
>
> 2014-09-12 3:06 GMT+02:00 Francois Gnu <[email protected]>:
>
>> Hi!
>>
>> I have an issue to use the check_ldap_monitor.pl:
>>
>> # /usr/lib/nagios/plugins/check_ldap_monitor.pl -v -P 'password' -H
>> iphisto_server -D cn=admin,cn=config -b cn=monitor -w 10 -c 40 -T
>> totalmodify
>> Use of uninitialized value $result in concatenation (.) or string at
>> /usr/lib/nagios/plugins/check_ldap_monitor.pl line 394, <DATA> line 751.
>> 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
>>
>> OS: ubuntu 14.04lts 64bits server
>> Instalation: by script
>>
>
>
> Seems there is no value associated to totalmodify
>
> Could you run the script with -vvv to have full debug? And check that your
> cn=monitor is active?
>
>
> Clément.
>
>
_______________________________________________
ltb-users mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-users

Reply via email to