nagios check_ldap fails for WebUI with Command Usage Error
Posted: Tue Mar 11, 2014 4:00 pm
First off, not sure if this is the correct forum for such an issue, but here goes...
We want to monitor an LDAP server...
We step through the Monitoring Wizard -> LDAP Server configuration, answering the questions...the service returns with a Usage Error...
"Usage: check_ldap -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]
[-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]
[-2"
However, running on a command line...things work fine...
./check_ldap -H 192.168.1.10 -b DC=MYDOMAIN,DC=US,DC=MYCORP,DC=COM -D [email protected] -P MyPassword -p 3269 -3 -4 -S
LDAP OK - 0.018 seconds response time|time=0.018455s;;;0.000000
I've searched most of the day for specifics on this, but have not come up with anything that is concrete. Is there any recommendations on how to troubleshoot the situation since the command works but the WebUI doesn't?
Regards,
-Tony
We want to monitor an LDAP server...
We step through the Monitoring Wizard -> LDAP Server configuration, answering the questions...the service returns with a Usage Error...
"Usage: check_ldap -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]
[-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]
[-2"
However, running on a command line...things work fine...
./check_ldap -H 192.168.1.10 -b DC=MYDOMAIN,DC=US,DC=MYCORP,DC=COM -D [email protected] -P MyPassword -p 3269 -3 -4 -S
LDAP OK - 0.018 seconds response time|time=0.018455s;;;0.000000
I've searched most of the day for specifics on this, but have not come up with anything that is concrete. Is there any recommendations on how to troubleshoot the situation since the command works but the WebUI doesn't?
Regards,
-Tony