Closed bilbo-the-hobbit closed 5 years ago
Hello @bilbo-the-hobbit
This is because you define the base and not with the good value. Don't define the base, or set the correct entry (like cn=Current,cn=Connections,cn=Monitor
for currentconnections
). By defaut the script selects the correct base.
But we should indeed return an error code in this case.
Fixed. You should now have this error message:
perl check_ldap_monitor.pl -H ldap://localhost -b cn=monitor -T currentconnections -m greater -w 10 -c 15 -f -vvv
VERBOSE 3 ===> Enter &get_ldapconn
VERBOSE 2 ===> Connected to ldap://localhost
VERBOSE 2 ===> Bind anonym
VERBOSE 3 ===> Leave &get_ldapconn
VERBOSE 3 ===> Enter &get_value
VERBOSE 1 ===> Attribute monitorCounter not found in cn=Monitor
LDAP search failed: Attribute monitorCounter not found.
Hello,
when running the check_ldap_monitor on stretch with the following parameters i got perl errors.
Cheers