[Nagiosplug-devel] question about check_ping 1.42

Andreas Ericsson ae at op5.se
Mon Nov 21 09:21:05 CET 2005


Zuir, Dalain (GE Energy, Non GE) wrote:
> Hello, First thanks for your support,
> 
> Now the issue is that I need to add the normal -W flag for the ping
> can you help me to see on witch part of the code I need to add it
> would be great I need to add -W 8000 for all the pings like default
> so can you just tell me.
> 

On my system, -W sets timeout in seconds. Are you sure you want 2 hours+ 
timeout on a ping check?

If you read the check_ping.c code you'll see where to add it, or you 
could use the check_icmp plugin. If there some option you need to have 
that it doesn't, tell me about it.

-- 
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