check_ldap: Please specify the host name
Marc Powell
marc at ena.com
Mon Jun 9 23:07:05 CEST 2008
On Jun 8, 2008, at 2:37 AM, Mangesh Dhamale wrote:
> 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$
> }
This command isn't being used.
> 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
>
The error would appear to be coming from here. check_ldap requires a -
H parameter, among others (-w -c -b, etc...).
run 'check_ldap --help' for parameters and help.
--
Marc
-------------------------------------------------------------------------
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 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