I am having an issue with check_ping. I run check_ping: ./check_ping -H -w 3000.0,50% -c 5000.0,90% from the command line and I receive this:
**PING OK - Packet loss = 0%, RTA = 5.50 ms **
which is correct. However, when I run this from Nagios I receive this:
 SERVICE ALERT: ;PING;WARNING;SOFT;1;(No output!)
My question is "why am I not getting any output?". It seems to work fine from the command line but not from Nagios. Any help would be much appreciated.