hi Are openssl development libraries installed on the nagios server ? If not, install it and compile nrpe with it (specify in command line : ./configure --with-ssl=<DIR>)
Cheers email: frank.bourd...@dga.defense.gouv.fr fonction: administrateur systèmes et réseaux tel: 0241936560 fax: 0241936681 ETAS - BP 60036 - route de Laval - 49245 AVRILLE CEDEX [ENVOYE PAR INTERNET] jonas kellens <jonas.kell...@telenet.be> 09/11/2009 16:08 A Nagios-Users <nagios-users@lists.sourceforge.net> cc Objet [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake. Probably one of the most asked questions. I don't know why in my case things aren't working. [nag...@itcenter1 ~]$ ps aux |grep nrpe nagios 9194 0.0 0.1 8220 1712 ? Ss 08:39 0:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d nagios 12480 0.0 0.0 3936 748 pts/0 S+ 09:58 0:00 grep nrpe [nag...@itcenter1 ~]# vi /usr/local/nagios/etc/nrpe.cfg allowed_hosts=127.0.0.1, public_ip_nagios [nag...@itcenter1 ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost NRPE v2.12 [nag...@itcenter1 ~]$ netstat -at | grep 5666 tcp 0 0 *:5666 *:* LISTEN TCP port 5666 is open on firewall... [nag...@itcenter1 ~]$ rpm -qa | grep ssl openssl-devel-0.9.8e-12.el5 app-ssl-5.0-10 openssl-0.9.8e-12.el5 But on Nagios : [nag...@nagios objects]$ /usr/local/nagios/libexec/check_nrpe -H ip_public_server CHECK_NRPE: Error - Could not complete SSL handshake. Other hosts work fine : [nag...@nagios objects]$ /usr/local/nagios/libexec/check_nrpe -H ip_other_public_server NRPE v2.12 So what am I forgetting here ?! Thanks ! Jonas. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users@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 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users@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