Have tired many a time to get nrpe running on aix but never have had a smooth experience.  Aix n HpUX have always been issues to get up and running on.

We ended up writing our own plugins on the older *nix boxes. But now even those are outdated and have be to redone for AIX5L. Some of us needs(probably i will sometime soon) to take ownership on the aix front. This is the only way we will ever get stable plugins for aix/hpux/solaris.

Is there a plugin roadmap on the risc front?.

Trevor

On 7/14/06, Alexander Harvey <[EMAIL PROTECTED]> wrote:
Sorry, should have done my research first but I discovered this in the archives: http://sourceforge.net/mailarchive/message.php?msg_id=6818296

Does anyone know if there was ever a patch released? Am I on the wrong track? Has anyone made NRPE work on AIX such that when we run the following test on the host instead of getting:


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

we get

/usr/local/nagios/libexec/check_nrpe -H cairns
NRPE v1.9

as expected?



On 7/14/06, Alexander Harvey <[EMAIL PROTECTED] > wrote:
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




--
         ___________________________________    
( >-   /  Scaling FreeSoftware & OpenSource        \   -< )
/~\   /                   In the Enterprise                       \   /~\
|  \) \      | www.fsf.org | www.opensource.org |         /  (/ |
|_|_   \____________________________________/  _|_|

An eye for an eye will soon turn the world blind - MKG

"You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries.
Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon "
-------------------------------------------------------------------------
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