[Nagiosplug-help] Nagios LDAP plugin + AD

Andreas Ericsson ae at op5.se
Tue Nov 23 00:17:02 CET 2004


Mark Reis wrote:
> Hello,
> 
> We are attempting to use the Nagios LDAP plugin to check our Microsoft 
> Windows AD Servers. The check_ldap plugin works fine from the command 
> line, but no matter what I seem to try, nagios cannot get the LDAP base 
> passed in..
> 
> Example.
> 
> Here is my results from the CL:
> ../libexec/check_ldap -H demeter -b dc=cs\,dc=virginia\,dc=edu
> LDAP ok - 0 seconds response time
> 
> Here are all of the settings I've tried in the
> $USER1$/check_ldap -H $HOSTADDRESS -b dc=cs\,dc=virginia\,dc=edu
> $USER1$/check_ldap -H $HOSTADDRESS -b dc=cs,dc=virginia,dc=edu
> $USER1$/check_ldap -H $HOSTADDRESS -b "dc=cs\,dc=virginia\,dc=edu"
> $USER1$/check_ldap -H $HOSTADDRESS -b 'dc=cs\,dc=virginia\,dc=edu'
> 
> Nagios always has the following error: please specify the LDAP base
> 

Those backslashes before commas aren't necessary. Try removing them.

> I've even attempted to pass in that value through $ARG1$
> 
> Any suggestions of what I can do aside from use an outside script to 
> call it?
> 
> Thanks,
> Mark
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer




More information about the Help mailing list