[Nagiosplug-help] Fail to telnet NRPE port (5666)

Guy Waugh gwaugh at scu.edu.au
Wed May 18 17:06:56 CEST 2005


Hi Eugene,

eugene wrote:
> Guy,
> 
>> Ah-hah! Yes, you need to install the plugins on the remote machine. 
>> You don't have to install Nagios, just the plugins. This is necessary 
>> because NRPE on the remote machine executes the plugins on the remote 
>> machine.
> 
> 
> I had install plugin in the remote host with below, can i know is it the 
> proper way?

You should read the documentation for this kind of question, but it 
looks OK to me.

> 
> ./configure --prefix=/usr/local/nagios/ --with-nagios-user=nagios 
> --with-nagios-group=nagios
> make all
> make install
> 
> I had tried to run the check_load  in remote host and it works,
> 
> [root at Testinglibexec]# ./check_load -w 5 -c 6
> OK - load average: 0.00, 0.03, 
> 0.03|load1=0.000000;5.000000;6.000000;0.000000 
> load5=0.030000;5.000000;6.000000;0.000000 
> load15=0.030000;5.000000;6.000000;0.000000

OK, if this is on the remote host, then this is good.

> 
> I also tried to run check_nrpe in Nagios server but i got same error,
> CHECK_NRPE: Error - Could not complete SSL handshake.

How are you running check_nrpe on the Nagios server? I think it should 
be something like this:

check_nrpe -H <remote-host> -c check_load -a 5 6

(you put the arguments for the check_load plugin after the '-a', as above.)

If that doesn't work, then something is wrong with check_nrpe on the 
Nagios server calling NRPE on the remote server.

> 
> Can i know how and why? I still need your help Guy :)
> Thanks for the reply
> 
> I think the config is almost there to make it work. I strongly believe 
> you can help me :)

I strongly believe that this is probably the case ;-)

Ciao,
Guy.

> 
> Regards,
> Eugene
> 
> 
> 





More information about the Help mailing list