[Nagiosplug-devel] check_ping duplicates bug

Christian G. Warden cwarden at xerus.org
Tue Jul 19 22:30:02 CEST 2005


On Wed, Jul 20, 2005 at 12:37:15AM +0200, Andreas Ericsson wrote:
> Christian G. Warden wrote:
> >There's a bug in check_ping in which it incorrectly reports the number
> >of duplicate packets received as the packet loss.  A patch is attached
> >which correctly parses the last line of the ping output.  It should work
> >for netkit-ping and iputils-ping.
> >
> 
> This patch will almost certainly cause an identical bug on some other 
> distribution or platform or whatnot. Try check_icmp instead. Since it 
> does its own low-level work it doesn't have this kind of bug (which is 
> the most common type for the check_ping plugin).

Thanks, Andreas.  I wasn't aware of check_icmp.
 
Christian




More information about the Devel mailing list