[Nagiosplug-devel] check_ping plug-in

Karl DeBisschop karl at debisschop.net
Sun Aug 17 21:44:10 CEST 2003


On Fri, 2003-08-15 at 15:51, Patrick Boucher wrote:
> Running nagios on RedHat 9.0 I noticed a bug with check_ping.
> 
> /bin/ping on RH9.0 outputs all messages on STDOUT and nothing on STDERR 
> so checks for host unreachable and other error messages never come 
> through and instead you get an UNKNOWN state instead.

Thanks for the report. I'm working on a fix now.

> Parsing of the ping output for errors should be moved to the STDOUT loop 
> and I think the STDERR loop could be safely removed.

Do you have evidence that no Unix ping prints output to STDERR?

It would seem to me that the STDERR loop needs to remain in order for
the plugin to remain generally compatible. Am I missing something?

--
Karl




More information about the Devel mailing list