I have multiple servers and I want to see if they can hit a few different websites, such as google. I created a new command:
command_line $USER1$/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5
Which is called from my services with the line:
The issue is when I have all my servers run this service, they respond with similar values, but I believe the server is not pinging but rather the host of my nagios is. Such as when I take server XYZ down, all the services stop working, except for the check_ping_site check, which it says is fine and pinging correctly.
I'm not for sure what I am doing wrong.
Any help would be great, thanks.