check_nrpe - Could not complete SSL handshake.

Guy Waugh gwaugh at scu.edu.au
Thu Oct 13 03:15:55 CEST 2005


Hi there,

A couple of thoughts...

Have you put the NRPE service into /etc/services, like so:
[root at remote-server /]# grep nrpe /etc/services
nrpe            5666/tcp                        # NRPE for Nagios

Also, do you allow connections on the NRPE port to the remote server 
from the Nagios server in /etc/hosts.allow, like so:
[root at remote-server /]# grep nrpe /etc/hosts.allow
nrpe:           10.0.0.1
(where 10.0.0.1 is the Nagios host)

I run NRPE out of xinetd - this is a facsimile of my /etc/xinetd.d/nrpe 
file:

service nrpe
{
         flags                   = REUSE
         socket_type             = stream
         wait                    = no
         user                    = nagios
         log_on_success          += USERID
         log_on_failure          += USERID
         server                  = /usr/local/sbin/nrpe
         server_args             = -c /etc/nrpe.cfg --inetd
         disable                 = no
         only_from               = 10.0.0.1
}

HTH,
Guy.


Stalin wrote:
> Hi All,
> 
> I'm completely lost on this. I get this error when i try to run
> commands on remote host via check_nrpe. I've checked FAQ on this
> error, didn't help much.
> 
> [nagios at host]$ telnet hostname.com 5666
> Trying xx.xxx.xxx.xxx...
> telnet: Unable to connect to remote host: Connection refused
> 
> remote server:tail -f /var/log/message
> Oct 12 15:07:25 remotehost nrpe[7542]: Host xx.xxx.xxx.xxx is not
> allowed to talk to us!
> 
> I've included the ip of monitoring server on allowed_ip_list of
> nrpe.cfg, but still i get this error on the remote server logs file.
> 
> Is there anything i should try to debug this further.
> 
> Version : nagios 1.2, plugins 1.4.2, nrpe 2.0
> 
> Thanks,
> Stalin
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> 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
> 


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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