nrpe inetd vs daemon

Simon Kitching simon at ecnetwork.co.nz
Wed Jan 14 23:10:46 CET 2004


On Tue, 2004-01-13 at 21:43, Mauro wrote:
> Hi all,
> I compiled nrpe (cvs version) on HP-UX 11.11
> If I run nrpe as stand alone daemon I have no problem but if I try to
> configure it in inetd mode i get this message:
>  
> CHECK_NRPE: Response packet had invalid CRC32.
>  
>  
> Do you have any idea?

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.

Regards,

Simon




-------------------------------------------------------
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