As suggested I started from scratch. I grabbed a new zip file from the Github
https://github.com/NagiosEnterprises/nrpe and unpacked it. Ran a compile
Code: Select all
./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib
*snip*
config.status: creating src/Makefile
config.status: creating package/solaris/Makefile
config.status: creating init-script
config.status: creating init-script.debian
config.status: creating init-script.suse
config.status: creating nrpe.spec
config.status: creating sample-config/nrpe.cfg
config.status: creating sample-config/nrpe.xinetd
config.status: creating include/config.h
config.status: include/config.h is unchanged
*** Configuration summary for nrpe 2.15 09-06-2013 ***:
General Options:
-------------------------
NRPE port: 5666
NRPE user: nagios
NRPE group: nagios
Nagios user: nagios
Nagios group: nagios
Review the options above for accuracy. If they look okay,
type 'make all' to compile the NRPE daemon and client.
and a make.
Code: Select all
# make all
cd ./src/; make ; cd ..
Target "all" is up to date.
*** Compile finished ***
At that point I copied the nrpe binary from src to /usr/local/nagios/bin/ and the check_nrpe to /usr/local/nagios/libexec/
Code: Select all
/usr/local/nagios/bin/nrpe
NRPE - Nagios Remote Plugin Executor
Copyright (c) 1999-2008 Ethan Galstad ([email protected])
Version: 2.15
Last Modified: 09-06-2013
License: GPL v2 with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required
Code: Select all
$ /usr/local/nagios/libexec/check_nrpe
Incorrect command line arguments supplied
NRPE Plugin for Nagios
Copyright (c) 1999-2008 Ethan Galstad ([email protected])
Version: 2.15
Last Modified: 09-06-2013
License: GPL v2 with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required
and started it up as the nagios user with
Code: Select all
$ /usr/local/nagios/bin/nrpe -n -c /usr/local/nagios/etc/nrpe.cfg -n -d
but I'm still getting the "CHECK_NRPE: Error - Could not complete SSL handshake." error.
I've verified that the IP of the nagios server is in the nrpe.cfg allowed_hosts stanza on the client.
Thoughts, observations, admonishments?