Pinging Internet Addresses/If Statements
Posted: Thu Jun 23, 2011 7:09 am
I want to know when my clients internet connection goes down so I have an offsite nagios box with a service that pings their internet address. When the internet goes out at the office that has the Nagios box, a notification is sent out when the internet comes back up because since my end is down it cannot reach the far end . Does anyone know if there is a way that I could have my Nagios ping google and my client then if the Nagios cannot ping google and also my client then it does not send a notification. If the Nagios box can ping google but not my client then it sends a notification.
Thanks,
Zach
Thanks,
Zach