hi,

My service output

Ldap Status UNKNOWN 06-08-2008 12:29:01 0d 0h 21m 5s 3/3 check_ldap: Please 
specify the host name 


I have configured ldap on Nagios Server as follows,

vi commands.cfg

define command{
        command_name    check_ldap
        command_line    $USER1$/check_nrpe!check_ldap -H $HOSTADDRESS$ -p 
$ARG1$ -b $ARG2$
        }

vi localhost

define service{
        use                            generic-service
        host_name                  server
        service_description       Ldap Status
        check_command           check_nrpe!check_ldap -H 192.168.100.80
        }

and remote site (on ldap server)

vi nrpe.cfg

command[check_ldap]=/usr/local/nagios/libexec/check_ldap -w 5 -c 10


anyone help, what wrong with this configuration.


Regards,

Mangesh Dhamale
-----------------------------------------------------------------
System Administrator
Suma Soft Pvt. Ltd.
Suma Center, IInd Floor, Opp. Himali Society,
Near Mangeshkar Hospital, Erandwane, Pune - 411004
Ph : +91-20-40130400 Extn : 327
Cell : +91-98508 87775
www.sumasoft.com
------------------------------------------------------------------

----------------------------------------------
Confidentiality Note: This e
-mail message and any attachments to it are
intended only for the named reci
pients and may contain legally privileged
and/or confidential information. I
f you are not one of the intended
recipients, please forward this mail to ab
[EMAIL PROTECTED] and do not duplicate or forward this
e-mail message and imm
ediately delete it from your computer.
-------------------------------------
---------


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to