NRPE SSL authentication

Wim wdh at belbone.be
Tue May 25 09:39:19 CEST 2004


Hi all!

I have a problem with NRPE on one of our servers.
I compiled NRPE on one of our servers and configured my nagios to check
some services on the remote server, but I get following message as the
result of my service check:

 CHECK_NRPE: Error receiving data from daemon. 

When I look on the server where I installed NRPE on, I see in the
/var/log/messages file:

 May 25 09:08:46 odin nrpe[15635]: Error: Could not complete SSL handshake. 1


Is it because the SSL versions are not matching or am I missing something?


Thanx for any help!

Wim

------------------------------------------------------------------------------


***
My versions:

NRPE - Nagios Remote Plugin Executor
Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org)
Version: 2.0
Last Modified: 09-08-2003
License: GPL with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required

NRPE Plugin for Nagios
Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org)
Version: 2.0
Last Modified: 09-08-2003
License: GPL with exemptions (-l for more info)


***
My SSL version is 0.9.6b on the NRPE side and 0.9.7a on the check_nrpe
side.

***
My Nagios serve runs RedHat 8.0:
Linux nagios.car.belbone.be 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST
2003 i686 i686 i386 GNU/Linux


***
My remote server runs RedHat 7.3:
Linux odin.car.belbone.be 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686
unknown


***
My config in Nagios:
# 'check-nrpe' command definition
define command {
   command_name   check_nrpe
   command_line    /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$
-c $ARG1$
}


***
On the remote server, NRPE is configured to run under xinetd:
service nrpe
{
        disable         = no
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = nagios
        server          = /usr/sbin/nrpe
        server_args     = -c /home/nagios/nrpe.cfg --inetd
        log_on_failure  += USERID
        only_from       = 192.168.xxx.xxx
}


***
My file permissions on the NRPE server:
-rw-r-----    1 nagios   nagios       1671 May 25 09:23 nrpe.cfg
crw-r--r--    1 root     root       1,   8 Apr 11  2002 /dev/random

***
NRPE.cfg:
dont_blame_nrpe=0
debug=1
command_timeout=60
command[check_disk]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -m

------------------------------------------------------------------------------


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list