LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-27-2012, 10:25 PM   #1
4Paul4
Member
 
Registered: Jul 2011
Posts: 51

Rep: Reputation: Disabled
NAGIOS problem: CHECK_NRPE: Error - Could not complete SSL handshake.


First let me point out, this is not a misconfiguration of the nrpe.cfg file as every other forum post on this error leads to. My situation is a bit different.

I have been monitoring a CentOS server in AWS for a few months using NRPE with SSL. I then shut that server down and installed a new CentOS server at the same IP address then compiled/installed NRPE again.

Nagios was monitoring the services perfectly for about an hour and then started failing with this error:

CHECK_NRPE: Error - Could not complete SSL handshake.

I shut down the CentOS server, built it again and the same thing happened. About an hour of good monitoring followed by a sudden change to that error again.

Any idea what is causing this?
 
Old 05-27-2012, 11:23 PM   #2
4Paul4
Member
 
Registered: Jul 2011
Posts: 51

Original Poster
Rep: Reputation: Disabled
Solved the problem.

Code:
cat /var/log/messages
revealed the following:

Code:
May 28 00:20:28 ip-10-0-x-x nrpe[22210]: No variable value specified in config file '/usr/local/nagios/etc/nrpe.cfg' - Line 202
May 28 00:20:28 ip-10-0-x-x nrpe[22210]: Config file '/usr/local/nagios/etc/nrpe.cfg' contained errors, aborting...
I fixed this config file, restarted xinetd and everything is working again.
 
Old 05-28-2012, 06:19 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Perhaps you'd like to give more info on the soln, so that others may learn?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios: CHECK_NRPE: Error - Could not complete SSL handshake jonaskellens Linux - Newbie 8 08-23-2014 01:56 PM
CHECK_NRPE: Error - Could not complete SSL handshake glennbtn Linux - Software 1 04-10-2012 07:52 AM
NAGIOS: NRPE error : Could not complete SSL handshake TrotskyIcepick Linux - Newbie 3 11-02-2009 03:25 PM
could not complete SSL handshake - nagios kiruthika Linux - Software 2 07-10-2007 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration