[Nagiosplug-devel] Nagios Plugins - check_ping

Andreas Ericsson ae at op5.se
Mon Sep 25 10:39:14 CEST 2006


Marc POISSON wrote:
> Hello,
> 
> I use your check_ping plugin, and I find an problem :
> if you "ping x.x.x.x" and the response is "icmp_seq=1 Time to live 
> exceeded", then your plugin check ok.
> 
> Can you modify you program to check nok for this case ?
> 

Try using check_icmp instead. It will return CRITICAL on these 
occasions. You can also increase the ttl that check_icmp uses to send 
out its packets if you want to check hosts that live many hops away.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231




More information about the Devel mailing list