NRPE in AIX5L...?

Alexander Harvey alexh19740110 at gmail.com
Fri Jul 14 18:59:55 CEST 2006


Hi Ton

I'd love to grant you remote access to one of my servers but then I'd
certainly be thrown from the 13th storey (or possibly into jail)! :D And
I've studied the code a bit and I'm afraid the problem's a bit beyond me at
this point; I'm not really a developer and it's been a long time since I've
done any C. Mind you, if anyone out there can give me a start, narrow the
scope, or make any debugging tests/suggestions I'd be happy to give it a
shot and send back results or any patched code I can get to work, but I
couldn't do it on my own. I haven't seen the problem in Solaris, though. The
smooth experience I've been having with Solaris & Linux was what gave me the
idea of pushing to use this on our AIX servers. I'd also be happy to help
with any other testing on the AIX servers I have here (I've found a few
other problems).

Thanks,
Alex

On 7/14/06, Ton Voon <ton.voon at altinity.com> wrote:
>
> I used to work for IBM on their RS/6000 hardware, so I have a fond spot
> for AIX. However, I don't have any access to servers to  develop on. If
> someone could grant me internet access to their server, I could spend some
> time on specific problems for the plugins.
> Alternatively, please consider running tinderbox builds on your AIX server
> and sending results back: http://tinderbox.altinity.org. This will make
> sure the plugins continue to work on your favourite platform.
>
> (Note, snapshots, and thus builds, aren't working at the moment because
> SF's shell servers are down.)
>
> Ton
>
> On 14 Jul 2006, at 07:57, Trevor Warren wrote:
>
> 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 <alexh19740110 at gmail.com> 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 <alexh19740110 at gmail.com > 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 <alexh19740110 at gmail.com > 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 at 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
> "
>
> This message has been scanned for viruses by MailController<http://www.MailController.altohiway.com/>
> .
>
> -------------------------------------------------------------------------
> 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 at 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
>
>
>
>
>
> http://www.altinity.com
> T: +44 (0)870 787 9243
> F: +44 (0)845 280 1725
> Skype: tonvoon
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060715/ddd938d2/attachment.html>
-------------- next part --------------

-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list