Hi,<br><br>I found some more information:<br><br>The following message gets written to syslog:<br><br>/var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Error: Request packet had invalid CRC32.<br>/var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Client request was invalid, bailing out...
<br><br>I see this happens in the following code fragment:<br><br> /***** DECRYPT REQUEST ******/<br><br><br> /* check the crc 32 value */<br> packet_crc32=ntohl(pkt->crc32_value);<br> pkt->crc32_value=0L;
<br> calculated_crc32=calculate_crc32((char *)pkt,sizeof(packet));<br> if(packet_crc32!=calculated_crc32){<br> syslog(LOG_ERR,"Error: Request packet had invalid CRC32.");<br> return ERROR;
<br> }<br><br>Anyone have any idea why this would happen? (My configure options etc were given in previous post).<br><br>Thanks,<br>Alex<br><br><br><br><div><span class="gmail_quote">On 7/13/06, <b class="gmail_sendername">
Alexander Harvey</b> <<a href="mailto:alexh19740110@gmail.com">alexh19740110@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi List,<br><br>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.<br><br>From the Nagios host I'm getting:<br><br># /usr/local/nagios/libexec/check_nrpe -H grenados
<br>CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host?<br><br>and on the client I just see the following in the syslog:<br><br>Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837 <a href="http://mail.info" title="http://mail.info" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
mail.info
</a>] connect from <a href="http://202.139.122.88" title="http://202.139.122.88" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">202.139.122.88</a><br><br>(Aside: why's the logging going to "<a href="http://mail.info" title="http://mail.info" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
mail.info</a>"??)<br><br>I'm building nrpe using:<br><br># ./configure --disable-ssl
<br><br># make all<br><br>Then<br><br># grep nrpe /etc/services<br>nrpe 5666/tcp # NRPE<br><br># grep nrpe /etc/inetd.conf<br>nrpe stream tcp nowait nagios /usr/local/bin/tcpd /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i
<br><br># cat /etc/hosts.allow<br>nrpe: <IPnumberhere>: ALLOW<br><br>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.
<br><br>Thanks in advance,<br>Alex<br>
</div></blockquote></div><br>