NRPE suggestions

Andreas Ericsson ae at op5.se
Sun Jul 25 11:32:32 CEST 2004


Jason Martin wrote:
> May I suggest that NRPE return a message to check_nrpe when validate_request
> fails?  When check_nrpe says "0 bytes receieved from daemon" it is rather
> unclear why the failure occured. If NRPE returned a status-unknown message
> indicating that the request was invalid that would be great.
> 
> Even better would be a description of why the request failed. Unpopulated
> arguments,illegal metacharacters, and arguments-provided-but-not-allowed
> all seem like they deserve a message sent back to the host w/UNKNOWN severity.
> This would make troubleshooting easier (the Nagios admin doesn't always have
>  login rights to the monitored machine) as well as make it more 
friendly for
> users who aren't intimately familiar with Nagios but have the rights to
> specify command arguments.
> 
> It would also be nice if output to STDERR didn't cause a 'failed CRC check'
> error.
> 
> Does this sound good? If so I may be able to provide a patch that handles
> most/all of this in several days.
> 

Points taken. If you want to patch it to work the way you think it 
should, just send me a personal email and I'll get back to you with the 
latest NRPE source-code (it differs quite a bit from the 2.0 one).

> Thank you,
> -Jason Martin
> 

-- 
Sourcerer / Andreas Ericsson
NRPE Development Leader
OP5 AB
+46 (0)733 709032
andreas.ericsson at op5.se


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click




More information about the Developers mailing list