I have a nagios box running that is checking 19 different hosts both for http and a basic check-host-alive. most of the systems are reporting accurately but I have two that are saying the host is down, yet when i ping them they reply just fine. In fact I can even run the exact command that nagios runs from the command line and it comes back with an OK status. Here is the command that is run on the for check-host-alive:
/usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1
Any Ideas why when nagios runs the command it returns a non-OK status but when I run it from the command line it returns OK?