Bug #95
Old format CSN are not well parsed by syncrepl script
| Status: | Closed | Start: | 26/06/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | Clément Oudot | % Done: | 100% |
|
| Category: | Nagios plugins | |||
| Target version: | nagios-plugins-0.2 |
Description
Borly Beris reports:
../check_ldap_syncrepl.pl -H ldaps://rubydoo -w 10 -c 300 -U ldaps://scoobydum -D "cn=admin,dc=ldap_seafrance,dc=fr" -vvv -P motdepasse VERBOSE 3 ===> Enter &get_ldapconn VERBOSE 2 ===> Connected to ldaps://rubydoo VERBOSE 2 ===> Bind with cn=admin,dc=ldap_seafrance,dc=fr VERBOSE 3 ===> Leave &get_ldapconn VERBOSE 3 ===> Enter &get_suffix VERBOSE 2 ===> Found Suffix: dc=ldap_seafrance,dc=fr VERBOSE 3 ===> Leave &get_suffix VERBOSE 3 ===> Enter &get_ldapconn VERBOSE 2 ===> Connected to ldaps://scoobydum VERBOSE 2 ===> Bind with cn=admin,dc=ldap_seafrance,dc=fr VERBOSE 3 ===> Leave &get_ldapconn VERBOSE 3 ===> Enter &get_contextCSN VERBOSE 2 ===> Found ContextCSN: 20090624124112Z#000000#00#000000 VERBOSE 3 ===> Enter &parse_csn Use of uninitialized value in concatenation (.) or string at ./check_ldap_syncrepl.pl line 291, line 225. Use of uninitialized value in concatenation (.) or string at ./check_ldap_syncrepl.pl line 291, line 225. Use of uninitialized value in concatenation (.) or string at ./check_ldap_syncrepl.pl line 291, line 225. Use of uninitialized value in concatenation (.) or string at ./check_ldap_syncrepl.pl line 291, line 225. VERBOSE 2 ===> Parse 20090624124112Z#000000#00#000000 into - - - VERBOSE 3 ===> Leave &parse_csn Use of uninitialized value in string eq at ./check_ldap_syncrepl.pl line 403, line 225. VERBOSE 2 ===> Found no ContextCSN with SID 000 Can't get Context CSN with SID 000 from ldaps://rubydoo. Please set SID with -I option.
Related issues
| duplicated by Bug #125: Problème parse_csn dans check_ldap_syncrepl.pl | Closed | 15/10/2009 |
History
Updated by Clément Oudot about 1 year ago
- File syncrepl_csn.patch added
- Status changed from New to Closed
- Assigned to set to Clément Oudot
- Target version set to nagios-plugins-0.2
- % Done changed from 0 to 100
Hi,
indeed there is a bug in the script. I join a patch an commit it on SVN.