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
Pinging Internet Addresses/If Statements
-
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Pinging Internet Addresses/If Statements
Sure, you'd just have to write your own shell script check command or event handler, with a wrapper around check_icmp.