nrpe 2.0 with AIX 4.3.2

Simon Kitching simon at ecnetwork.co.nz
Thu Jan 15 01:29:14 CET 2004


Hi Aaron,

Did you see my reply to Mauro on exactly this topic earlier today?

> This "invalid CRC32" message is caused when either
> (a) xinetd runs the wrong process (not nrpe), or 
> (b) the command that nrpe executes outputs data to stderr. 
> 
> Maybe you could try changing the nrpe config file to make the executed
> command a shell script that "wraps" the real command, and redirects its
> stderr to /tmp/oops.txt or similar, then inspect that file to see what
> the problem is? [I haven't tried this myself, so not sure it will work].
> 
> It would be nice if the nrpe app handled situation (b) more gracefully.
> I have tried to contact the nrpe author, and offered to create a patch
> but have not had any response.

The cause of the rather misleading/uninformative error message is
described here:
  http://sourceforge.net/mailarchive/message.php?msg_id=6818296

Regards,

Simon

On Thu, 2004-01-15 at 13:04, Jason Martin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> This usually implies that the plugin is exiting with a nonstandard (ie 
> 0-3) exit code or does not exist.
> 
> - -Jason Martin
> 
> On Wed, 14 Jan 2004, Aaron Levitt wrote:
> 
> > Greets everyone-
> > 
> > I'm having some issues getting nrpe to work with AIX 4.3.2.  I am in the
> > process of migrating from an older installation of netsaint with nrpep
> > to nagios with nrpe.  
> > 
> > I have ./configured nrpe with --disable-ssl and I am running it via
> > inetd.  However, everything sent to the AIX box is getting a
> > "CHECK_NRPE: Response packet had invalid CRC32." And I'm not sure what
> > I'm missing.  The nrpe agent seems to run fine on the AIX box locally,
> > but remotely it's getting that error.
> > 
> > I put nrpe in debug mode, and I'm not getting anything logged to syslog
> > and I am capturing everything at debug or higher.  I added the port for
> > nrpe to /etc/services and these are the applicable settings in
> > inetd.conf:
> > 
> > nrpe    stream  tcp     nowait  nobody  /usr/sbin/tcpd /sbin/nrpe -c
> > /usr/local/nagios/etc/nrpe.cfg --inetd
> > 
> > I get the same error if I am not using TCP wrappers and these are the
> > settings for nrpep that currently work (which rules out a problem with
> > tcp wrappers):
> > 
> > nrpep        stream  tcp     nowait  nobody    /usr/sbin/tcpd
> > /usr/sbin/nrpep -c /usr/local/netsaint/etc/nrpep.cfg
> > 
> > Any help would be greatly appreciated!
> > 
> > -=Aaron
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Perforce Software.
> > Perforce is the Fast Software Configuration Management System offering
> > advanced branching capabilities and atomic changes on 50+ platforms.
> > Free Eval! http://www.perforce.com/perforce/loadprog.html
> > _______________________________________________
> > 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
> > 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.3.3 (GNU/Linux)
> Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/
> 
> iD8DBQFABdkbl2ODWuqVSBMRAp1vAJ9Sf4qEYghJpuYxq6BLxo2Y9iHUtQCeN1b2
> KHaqPazkCPH4n5vQWKqD6Mc=
> =Dw8U
> -----END PGP SIGNATURE-----
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> _______________________________________________
> 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
> 



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
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