check_ping returning No Output


Hello all,
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:

[1187192780] 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.



check the definition of check_ping in the checkcommands.cfg or commands.cfg. Post the definition if you don’t find anything.