[Nagiosplug-help] nrpe endian dependant?

Philip Brown ppb at usc.edu
Tue Oct 2 01:15:12 CEST 2007


hi,

i'm having an odd problem with nrpe.

we've been using nrpe successfully for quite a while, on solaris sparc.

recently, we aquired some solaris x86 machines, and are now trying to 
integrate them into our standard nagios monitoring.

when I tried to use the standard stuff, however, I get:
CHECK_NRPE: Error - Could not complete SSL handshake.

I've tried calling check_nrpe directly, with the same result.

however, when I call it from one of the other x86 boxes... it works?!

This makes me wonder if nrpe is somehow endian dependant?


Data for your perusing pleasure:

All 3 versions of nrpe and check_nrpe are the same, across boxes, and all 
are compiled with SSL:


x86 target box:
nrpe version:
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

x86 test box:
check_nrpe --version:
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

sparc nagios server:
check_nrpe
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



YET:
from the sparc, it bombs out, and from the x86 test box, it works fine.
the "allowed hosts" line has been checked and doublechecked as valid.

Here's debug log output from the working one:

Oct  1 16:13:47 fred.usc.edu nrpe[4881]: [ID 654915 daemon.debug] Connection 
from x.x.x.x port 58255
Oct  1 16:13:47 fred.usc.edu nrpe[4881]: [ID 797369 daemon.debug] Host 
address checks out ok
Oct  1 16:13:47 fred.usc.edu nrpe[4881]: [ID 879649 daemon.debug] Handling 
the connection...
Oct  1 16:13:47 fred.usc.edu nrpe[4881]: [ID 881351 daemon.debug] Host is 
asking for command '_NRPE_CHECK' to be run...
Oct  1 16:13:47 fred.usc.edu nrpe[4881]: [ID 951495 daemon.debug] Response: 
NRPE v2.0
Oct  1 16:13:47 fred.usc.edu nrpe[4881]: [ID 869297 daemon.debug] Return 
Code: 0, Output: NRPE v2.0
Oct  1 16:13:47 fred.usc.edu nrpe[4881]: [ID 903583 daemon.debug] Connection 
from x.x.x.x closed.


and here's from the failing, "normal" one:

Oct  1 16:14:35 fred.usc.edu nrpe[4885]: [ID 654915 daemon.debug] Connection 
from x.x.x.xport 40168
Oct  1 16:14:35 fred.usc.edu nrpe[4885]: [ID 797369 daemon.debug] Host 
address checks out ok
Oct  1 16:14:35 fred.usc.edu nrpe[4885]: [ID 879649 daemon.debug] Handling 
the connection...
Oct  1 16:14:35 fred.usc.edu nrpe[4885]: [ID 813741 daemon.error] Error: 
Could not complete SSL handshake. 1
Oct  1 16:14:35 fred.usc.edu nrpe[4885]: [ID 903583 daemon.debug] Connection 
from x.x.x.x closed.




More information about the Help mailing list