Page 2 of 2
Re: CHECK_NRPE: Response packet had invalid CRC32
Posted: Tue Apr 22, 2014 2:38 pm
by pamuro01
This is:
>/usr/local/nagios/libexec/check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.
>/usr/local/nagios/libexec/check_nrpe -H localhost -n
CHECK_NRPE: Response packet had invalid CRC32.
Re: CHECK_NRPE: Response packet had invalid CRC32
Posted: Tue Apr 22, 2014 3:06 pm
by abrist
Run an nmap on the nrpe port:
Also, what version of open ssl are you running?
Lets make sure there is not more than one nrpe daemon currently running:
Additionally, the allowed_hosts directive in nrpe.cfg should be *comma-delimited*:
Code: Select all
allowed_hosts=127.0.0.1,192.168.100.20,192.168.100.45,192.168.1.202
If you are using xinetd, lets check to make sure nrpe was declared in /etc/services:
It should resemble:
Also remember to restart the daemon after making any changes to the configuration.
Re: CHECK_NRPE: Response packet had invalid CRC32
Posted: Thu Apr 24, 2014 9:22 am
by pamuro01
Shipping answers.
thanks
>nmap localhost -p 5666
Starting Nmap 5.00 (
http://nmap.org ) at 2014-04-24 11:11 CLST
Interesting ports on localhost (127.0.0.1):
PORT STATE SERVICE
5666/tcp open nrpe
Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds
>(which openssl) version
OpenSSL 0.9.8o 01 Jun 2010
>ps -aef | grep nrpe
root 4146 24831 0 11:13 pts/0 00:00:00 grep nrpe
>Additionally, the allowed_hosts directive in nrpe.cfg should be *comma-delimited*:
ups, I've already changed
>grep nrpe /etc/services
nrpe 5666/tcp # Nagios Remote Plugin Executor
nrpe 5666/tcp #NRPE
I restarted and:
>/usr/local/nagios/libexec/check_nrpe -H localhost -n
CHECK_NRPE: Response packet had invalid CRC32.
Re: CHECK_NRPE: Response packet had invalid CRC32
Posted: Thu Apr 24, 2014 10:28 am
by abrist
pamuro01 wrote:>(which openssl) version
OpenSSL 0.9.8o 01 Jun 2010
Is upgrading openssl a possibility? (should be done anyways due to heartbleed . . .)
Re: CHECK_NRPE: Response packet had invalid CRC32
Posted: Mon Jul 07, 2014 11:59 am
by pamuro01
resolved after upgrading opnessl
Thanks and sorry for the delay in my response