Page 1 of 1
NagiosXI Check_NRPE: Error -Could not complete SSL handshake
Posted: Wed Feb 27, 2013 5:20 pm
by psyllex
I'm having this issue on a Nagios XI installation. I've run the monitor wizard. I have the agent on the Ubunut servers running. I went into /etc/init.d/hosts.allow and changed the ip address to the ip of my nagios server. I'v done:
and it looks like NRPE agent is running. I'm just not able to see any sources on it.
Re: NagiosXI Check_NRPE: Error -Could not complete SSL hands
Posted: Wed Feb 27, 2013 5:31 pm
by slansing
How are you trying to communicate with the remote NRPE host from the Nagios server? Try the following:
Code: Select all
/directory of nagios plugins/check_nrpe -H host.IP.of.remote.NRPE.client
What does it output? Do you have port 5666 open on the remote Ubuntu server? What else do you have in /etc/init.d/hosts.allow? You should also have a nrpe.cfg file, can you post the contents of it?
Re: NagiosXI Check_NRPE: Error -Could not complete SSL hands
Posted: Wed Feb 27, 2013 5:34 pm
by psyllex
slansing wrote:How are you trying to communicate with the remote NRPE host from the Nagios server? Try the following:
Code: Select all
/directory of nagios plugins/check_nrpe -H host.IP.of.remote.NRPE.client
What does it output? Do you have port 5666 open on the remote Ubuntu server? What else do you have in /etc/init.d/hosts.allow?
I'm not using any plugins. I installed Nagios XI on a VM, then I put the agent on the remote Ubuntu servers. That's it. There is nothing else in the /etc/init.d/hosts.allows on the remote machines except the <ip address>to the Nagios server.
Re: NagiosXI Check_NRPE: Error -Could not complete SSL hands
Posted: Wed Feb 27, 2013 5:37 pm
by slansing
What guide did you follow for installing the NRPE agent? Ours or a packaged distro version? If so you should have a nrpe.cfg file like noted above. This file will contain handlers for your remote plugins and a definition to allow the Nagios server to communicate with NRPE on the remote host.
Re: NagiosXI Check_NRPE: Error -Could not complete SSL hands
Posted: Wed Feb 27, 2013 5:43 pm
by psyllex
slansing wrote:What guide did you follow for installing the NRPE agent? Ours or a packaged distro version? If so you should have a nrpe.cfg file like noted above. This file will contain handlers for your remote plugins and a definition to allow the Nagios server to communicate with NRPE on the remote host.
I used the "Installing the Nagios Ubuntu and Debian Linux Agent" at
http://assets.nagios.com/downloads/nagi ... _Agent.pdf
I look under /usr/local/nagios/etc/objects and there is not nrpe.cfg. I looked under /usr/local and there is no actual nagios folder which is how I got everything when I used core.
I did look in /usr/lib/nagios/libexec and saw there is not check_nrpe command executable so I copied it over from the Nagios server.
Re: NagiosXI Check_NRPE: Error -Could not complete SSL hands
Posted: Thu Feb 28, 2013 10:10 am
by slansing
It looks like from your other thread that this has been solved, locking as resolved.