Page 1 of 1

nrpe CRC32 Error?

Posted: Tue Sep 22, 2015 9:41 pm
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?

Re: nrpe CRC32 Error?

Posted: Tue Sep 22, 2015 10:04 pm
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#


Re: nrpe CRC32 Error?

Posted: Wed Sep 23, 2015 7:40 am
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.

Re: nrpe CRC32 Error?

Posted: Sun Sep 27, 2015 7:10 pm
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.