Error - Could not complete SSL handshake.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ofadl
Posts: 201
Joined: Mon Jun 03, 2013 8:57 am

Error - Could not complete SSL handshake.

Post by ofadl »

Hello everyone,

So, i just finished installing nrpe on two linux servers. One is working perfectly normal, and the other i am getting an "error-could not complete SSL handshake" on the nagios website. So i went on the nagios server and ran "/etc/nagios3/objects$ /usr/lib/nagios/plugins/check_nrpe -H content.comtex.com" where content.comtex.com is the name of the host trying to be monitored, and that command returns the "error-could not complete SSL handshale" as opposed to displaying the version of NRPE if it was working. Can anyone lend a helping hand? Thanks in advance
ofadl
Posts: 201
Joined: Mon Jun 03, 2013 8:57 am

Re: Error - Could not complete SSL handshake.

Post by ofadl »

it was for a service called "current load", and it works fine on the other linux server
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Error - Could not complete SSL handshake.

Post by abrist »

Follow the possible solutions in the following document:
http://assets.nagios.com/downloads/nagi ... utions.pdf
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ofadl
Posts: 201
Joined: Mon Jun 03, 2013 8:57 am

Re: Error - Could not complete SSL handshake.

Post by ofadl »

i was trying to access the nagios folder on my remote host, and realized its not even there... what do i do?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Error - Could not complete SSL handshake.

Post by abrist »

Have you installed nrpe and the nagios-plugins on the remote host?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ofadl
Posts: 201
Joined: Mon Jun 03, 2013 8:57 am

Re: Error - Could not complete SSL handshake.

Post by ofadl »

yes i have installed NRPE but its not showing up when i try to list it, and im not sure if i installed the NRPE plugins
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Error - Could not complete SSL handshake.

Post by abrist »

The plugins need to be installed on the remote host. If nrpe is on the remote host and the daemon is running, you should be able to get version information:

On the Nagios server:

Code: Select all

/usr/lib/nagios/plugins/check_nrpe -H content.comtex.com
If content.comtex.com is your remote host. If that does not work, run through the steps in the previous posted document to troubleshoot the myriad of possible causes.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked