LinuxQuestions.org
Visit Jeremy's Blog.
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 06-08-2011, 09:03 AM   #1
ramesh14
Member
 
Registered: Apr 2008
Location: Hyderabad
Distribution: RHEL5,Fedora 8/9
Posts: 119
Blog Entries: 1

Rep: Reputation: 15
ssl handshake problem in nagios


hai all off u when i tried to install nagios server and nrpe package i am getting some ssl issue i am unable to resolve this problem pls guide me

i am using fedora servers i installed nagios,nagios-plugins,nrpe,xineted, and openssl* packages in my local fedora system i am able to login my web browser as a nagiosadmin account i can able to monitor my localhost

as well as i installed the nrpe-x.x.x.tar.gz,xineted,openssl* in my remote system. i allowed the nagios server ip in /etc/xineted.d/nrpe.cfg
i restarted the xineted service in my remote system
i wrote the iptable rules in both systems (I allowed the 5666 port in both systems)

when i run below command i am getting the successfull out put local system and remote system

/usr/local/nagios/libexec/check_nrpe -H localhost
NRPE v2.12

/usr/local/nagios/libexec/check_nrpe -H <nagiosserverip>
CHECK_NRPE: Error - Could not complete SSL handshake.

thanks in advance.....

Last edited by ramesh14; 06-08-2011 at 09:06 AM.
 
Old 06-08-2011, 09:20 AM   #2
rahul_dubeyin
Member
 
Registered: Apr 2011
Posts: 34

Rep: Reputation: 12
Try putting client IP in allowed IP in nrpe config.
Also check whether the client and demon nrpe are of same version.
 
1 members found this post helpful.
Old 06-08-2011, 10:03 AM   #3
rahul_dubeyin
Member
 
Registered: Apr 2011
Posts: 34

Rep: Reputation: 12
Let us know what worked out.
 
1 members found this post helpful.
Old 06-08-2011, 10:07 AM   #4
ramesh14
Member
 
Registered: Apr 2008
Location: Hyderabad
Distribution: RHEL5,Fedora 8/9
Posts: 119

Original Poster
Blog Entries: 1

Rep: Reputation: 15
hi rahul_dubeyin

i din't understand what u said exactly

i gave my nagios server ip and loopback ips in my nrpe.cfg file
my nrpe and nagios vertions is (nrpe-2.12.tar.gz,nagios-3.2.3-8.fc13.i686,nagios-plugins-all-1.4.15-2.fc13.i686)
 
Old 06-08-2011, 10:12 AM   #5
rahul_dubeyin
Member
 
Registered: Apr 2011
Posts: 34

Rep: Reputation: 12
Quote:
Originally Posted by ramesh14 View Post
hi rahul_dubeyin

i din't understand what u said exactly

i gave my nagios server ip and loopback ips in my nrpe.cfg file
my nrpe and nagios vertions is (nrpe-2.12.tar.gz,nagios-3.2.3-8.fc13.i686,nagios-plugins-all-1.4.15-2.fc13.i686)
Let say you have a host for which you need to fetch the information using check_nrpe. Put that host ip in nrpe.cfg as allowed ip.
And let me know if this work.


Also show us your nrpe.conf configuration.

Last edited by rahul_dubeyin; 06-08-2011 at 10:18 AM.
 
Old 06-08-2011, 10:20 AM   #6
rahul_dubeyin
Member
 
Registered: Apr 2011
Posts: 34

Rep: Reputation: 12
Also see below link.

http://felipeferreira.net/?p=61
 
1 members found this post helpful.
Old 06-08-2011, 10:50 AM   #7
ramesh14
Member
 
Registered: Apr 2008
Location: Hyderabad
Distribution: RHEL5,Fedora 8/9
Posts: 119

Original Poster
Blog Entries: 1

Rep: Reputation: 15
hi rahul
i have given the ip in my nrpe.cof but it is not working i am getting same error i sow the u r referanced link
i folowed that steps
# tar -zxvf nrpe-2.12.tar.gz
# cd nrpe-2.12
# ./configure –enable-ssl –enable-command-args
i getting this out put
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –enable-ssl
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –enable-command-args
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... Invalid configuration `–enable-ssl': machine `–enable' not recognized
configure: error: /bin/sh ./config.sub –enable-ssl failed

what is the error i din't understatnd pls guide me
thanks in advance......
 
Old 06-08-2011, 03:59 PM   #8
rahul_dubeyin
Member
 
Registered: Apr 2011
Posts: 34

Rep: Reputation: 12
Quote:
Originally Posted by ramesh14 View Post
hi rahul
i have given the ip in my nrpe.cof but it is not working i am getting same error i sow the u r referanced link
i folowed that steps
# tar -zxvf nrpe-2.12.tar.gz
# cd nrpe-2.12
# ./configure –enable-ssl –enable-command-args
i getting this out put
configure: WARNING: you should use --build, --host, --target

configure: WARNING: invalid host type: –enable-ssl
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –enable-command-args
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... Invalid configuration `–enable-ssl': machine `–enable' not recognized
configure: error: /bin/sh ./config.sub –enable-ssl failed

what is the error i din't understatnd pls guide me
thanks in advance......
There is error in the way your are compiling.
it should be like

Code:
./configure –-enable-ssl –-enable-command-args
I think its also wrong in the link.
 
Old 06-14-2011, 08:11 AM   #9
rahul_dubeyin
Member
 
Registered: Apr 2011
Posts: 34

Rep: Reputation: 12
Let us know if that worked out fine.
 
  


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
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
up2date SSL handshake problem kamii47 Red Hat 1 04-21-2005 03:16 PM

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

All times are GMT -5. The time now is 07:11 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