Hi,

I found some more information:

The following message gets written to syslog:

/var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Error: Request packet had invalid CRC32.
/var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Client request was invalid, bailing out...

I see this happens in the following code fragment:

        /***** DECRYPT REQUEST ******/


        /* check the crc 32 value */
        packet_crc32=ntohl(pkt->crc32_value);
        pkt->crc32_value=0L;
        calculated_crc32=calculate_crc32((char *)pkt,sizeof(packet));
        if(packet_crc32!=calculated_crc32){
                syslog(LOG_ERR,"Error: Request packet had invalid CRC32.");
                return ERROR;
                }

Anyone have any idea why this would happen? (My configure options etc were given in previous post).

Thanks,
Alex



On 7/13/06, Alexander Harvey <[EMAIL PROTECTED]> wrote:
Hi List,

I am having a lot of grief trying to make NRPE 2.5.2 (and I've tried 2.5.1 and 2.5 as well) work in AIX5.3.

From the Nagios host I'm getting:

# /usr/local/nagios/libexec/check_nrpe -H grenados
CHECK_NRPE: Received 0 bytes.  Are we allowed to connect to the host?

and on the client I just see the following in the syslog:

Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837 mail.info ] connect from 202.139.122.88

(Aside: why's the logging going to " mail.info"??)

I'm building nrpe using:

# ./configure --disable-ssl

# make all

Then

# grep nrpe /etc/services
nrpe            5666/tcp                # NRPE

# grep nrpe /etc/inetd.conf
nrpe    stream  tcp     nowait  nagios  /usr/local/bin/tcpd /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i

# cat /etc/hosts.allow
nrpe: <IPnumberhere>: ALLOW

I tried trussing it without finding anything much. If anyone can help I'd be most appreciative; I'm out of ideas as to how to troubleshoot this any further.

Thanks in advance,
Alex

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to