nrpe CRC32 Error?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

nrpe CRC32 Error?

Post by rajasegar »

Just installed nrpe agent v2.15 into a Solaris 11 box and getting the following error.
The agent however works fine in the machine when executed locally.

This is the same agent that has been working ok in other Solaris 11 boxes.
When check_nrpe is executed from the nagios server the following message comes out in the client /var/adm/messages

Code: Select all

[nagios@nagiosprodxi1 debug]$ /usr/local/nagios/libexec/check_nrpe -H 170.10.10.10
CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server logs for error messages.

Code: Select all

This is from client /var/adm/messages

Sep 23 10:07:47 myrppuprddb01 nrpe[25520]: [ID 813741 daemon.error] Error: Could not complete SSL handshake. 5
Sep 23 10:07:47 myrppuprddb01 nrpe[25520]: [ID 813741 daemon.error] Error: Could not complete SSL handshake. 5
Sep 23 10:07:47 myrppuprddb01 nrpe[25522]: [ID 261363 daemon.error] Error: Request packet had invalid CRC32.
Sep 23 10:07:47 myrppuprddb01 nrpe[25522]: [ID 261363 daemon.error] Error: Request packet had invalid CRC32.
Sep 23 10:07:47 myrppuprddb01 nrpe[25522]: [ID 900267 daemon.error] Client request was invalid, bailing out...
Sep 23 10:07:47 myrppuprddb01 nrpe[25522]: [ID 900267 daemon.error] Client request was invalid, bailing out...

Code: Select all

root@myboxdb01:/usr/local/nagios/etc# uname -a
SunOS myrppuprddb01 5.11 11.2 sun4v sparc sun4v
Anybody got any idea what is the issue?
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: nrpe CRC32 Error?

Post by rajasegar »

More info

Code: Select all

root@myrppuprddb01:/usr/local/nagios/bin# openssl version
OpenSSL 1.0.1p 9 Jul 2015

Code: Select all

root@myrppuprddb01:/usr/local/nagios/bin# ldd nrpe
        libssl.so.1.0.0 =>       /lib/libssl.so.1.0.0
        libcrypto.so.1.0.0 =>    /lib/libcrypto.so.1.0.0
        libnsl.so.1 =>   /lib/libnsl.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libc.so.1 =>     /lib/libc.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libsoftcrypto.so.1 =>    /lib/libsoftcrypto.so.1
        libelf.so.1 =>   /lib/libelf.so.1
        libcryptoutil.so.1 =>    /lib/libcryptoutil.so.1
        libz.so.1 =>     /lib/libz.so.1
        libm.so.2 =>     /lib/libm.so.2
root@myrppuprddb01:/usr/local/nagios/bin#

5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: nrpe CRC32 Error?

Post by jdalrymple »

Is it possible that you reconfigured the check_nrpe binary on the NagiosXI server to accept a longer status output? That behavior is consistent with mismatched status output payloads.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: nrpe CRC32 Error?

Post by rajasegar »

jdalrymple wrote:Is it possible that you reconfigured the check_nrpe binary on the NagiosXI server to accept a longer status output? That behavior is consistent with mismatched status output payloads.
We did change check_nrpe for some servers but it is named differently (check_nrpe_big) and not possible it is using it.
The installer also haven't been changed for ages.

Anyway I tried the older nrpe agent compiled in Solaris 10 and it worked fine.
Not sure what was the issue but we will double check your theory if this happens again.

Thanks

Please close the case.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Locked