I am trying to set up Nagios on a server all hosts appear to be down, with this in the event log:
HOST NOTIFICATION: Temp;master.myhost.com;DOWN;notify-host-by-email;/bin/ping -n -U -w 30 -c 5 22.214.171.124
It's doing this for all hosts I'm monitoring. However, running this command directly from SSH is working just fine:
/bin/ping -n -U -w 30 -c 5 126.96.36.199
I've also set up Nagios on other servers and they are all ok. Anyone know what's wrong and how to fix this?