in reply to
Re^2: Short pinging script isn't working
in thread Short pinging script isn't working
Right, ICMP pings are useful mainly to determine if there is a network path available (and maybe to get a handle on your latency, do discoveries, etc. ...). If you look at how Nagios works (by default), it does application level checking normally, and then when that fails it starts running ICMP pings to try to determine if you're having a network problem or an application problem. So really, you need to use both kinds of things in tandem to get to your root cause.