[Nagiosplug-devel] check_ping plug-in

Patrick Boucher patrickb at buzzimage.com
Fri Aug 15 13:12:09 CEST 2003

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.

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

Patrick Boucher
Technical Director
Buzz Image Group
Tel 514.848.0579
Fax 514.848.6371

- "1 out of 10 people understands binary, the other 1 doesn't."

More information about the Devel mailing list