LDAP bind check fails
Posted: Fri Nov 18, 2011 3:44 pm
I am having issues configuring a service check with check_ldap command. I tried your ldap wizard, provided base, DN, username, and password but I get "null" result from the service check. Then I created a custom command check_ldap_plaintext with this command line: $USER1$/check_ldap -H $HOSTADDRESS$ -b $ARG1$ -D $ARG2$ -P $USER777$. I created a service that uses this command and provided all the arguments. The server is listening on default port (tcp 389). I get "Cannot bind to the ldap server" error on NagiosXI. When I check the bind from my PC with an external tool using the same base, DN, account - everything works, and I get a successful bind...
When I run this check directly from the library [root@nagiosxi libexec]# ./check_ldap ........ I get LDAP OK.....
Please advise. I could not find anything about this in forum/wiki...
Thanks.
When I run this check directly from the library [root@nagiosxi libexec]# ./check_ldap ........ I get LDAP OK.....
Please advise. I could not find anything about this in forum/wiki...
Thanks.