Re: [Nagios-users] check_ldap: Please specify the host name

2008-06-09 Thread Marc Powell
On Jun 9, 2008, at 6:18 PM, Germán Gutiérrez wrote: > (snip) >>command_line$USER1$/check_nrpe!check_ldap -H $HOSTADDRESS >> $ -p $ARG1$ -b $ARG2$ Note that 'command_name check_ldap' was snipped.' > (snip) >> define service{ >>usegeneric-service >

Re: [Nagios-users] check_ldap: Please specify the host name

2008-06-09 Thread Germán Gutiérrez
(snip) > command_line$USER1$/check_nrpe!check_ldap -H $HOSTADDRESS$ -p > $ARG1$ -b $ARG2$ (snip) > define service{ > usegeneric-service > host_name server > service_description Ldap Status > check_comman

Re: [Nagios-users] check_ldap: Please specify the host name

2008-06-09 Thread Patrick Morris
On Sun, 08 Jun 2008, Mangesh Dhamale wrote: > hi, > > My service output > > Ldap Status UNKNOWN 06-08-2008 12:29:01 0d 0h 21m 5s3/3 > check_ldap: Please specify the host name > > > command[check_ldap]=/usr/local/nagios/libexec/check_ldap -w 5 -c 10 As the error indicates, yo

Re: [Nagios-users] check_ldap: Please specify the host name

2008-06-09 Thread Marc Powell
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{ > comm

Re: [Nagios-users] check_ldap: Please specify the host name

2008-06-09 Thread Mathieu Gagné
"check_ldap" is executed on the remote host via NRPE, not the local host. Your command definition "check_ldap" in commands.cfg is therefore not used. You should include -H $ARG1$ somewhere in your command definition in nrpe.cfg on your remote host or hardcode it. Mathieu Mangesh Dhamale wrote

[Nagios-users] check_ldap: Please specify the host name

2008-06-09 Thread Mangesh Dhamale
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_namecheck_ldap command_line$USER1$/check_nrpe!check_lda