Nagios and Active directory

Natxo Asenjo natxo.asenjo at gmail.com
Sat Oct 18 10:38:18 CEST 2008


On Fri, Sep 26, 2008 at 1:53 PM, Esteban Torres Rodriguez
<etorres at dap.es> wrote:
> Hello.
>
> I'm using NSClient++ for Windows 2003 server.
>
> I want monitoring Active directory. How I do? I'm trying so:
>
> command.cfg:
>
> # 'check_ldap' command definition
> define command{
>        command_name    check_ldap
>        command_line    $USER1$/check_ldap -H $HOSTADDRESS$ -b $ARG1$
>        }
>
> windows.cfg:
>
> define service{
>       use                     generic-service
>       host_name               server
>       service_description     Active Directory
>       check_command           check_ldap!dc=adsf,dc=asdf
>       }
>
>
> Usage: check_ldap -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D
> <binddn>]
>
> That's my error.

you are not binding to the ldap server. In AD you cannot use anonymous queries.

-- 
groeten,
j.asenjo

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list