Host dependent on a service being up (i.e. VPN)
Posted: Thu Sep 08, 2016 9:22 am
I've searched for this but I haven't been able to find anything and I can't figure out how to get this working.
My (simplified) environment is as follows:
I am monitoring my Cisco-ASA. The Cisco-ASA has a service check to monitor the status of a VPN link to my customer. I have 50+ hosts at my customer location that I monitor for multiple services (ssh, uptime, etc..).
Unfortunately last night the VPN link went down. I received the "VPN link" status email stating that it was down, however I also got bombarded with emails saying that all of the remote hosts were unreachable. Obviously if the VPN link is down, none of the remote systems are going to be reachable.
How can I configure it so that if the VPN link is down that Nagios will not email me about the remote hosts being down? My Cisco-ASA was up, but the VPN link to my customer was down. Is it even possible to configure nagios for this?
In reality I'm monitoring my ASA for multiple VPN links (each one to a different customer) and monitoring multiple systems for each customer.
I've to to imagine that it is possible.
Any help would be greatly appreciated.
My (simplified) environment is as follows:
I am monitoring my Cisco-ASA. The Cisco-ASA has a service check to monitor the status of a VPN link to my customer. I have 50+ hosts at my customer location that I monitor for multiple services (ssh, uptime, etc..).
Unfortunately last night the VPN link went down. I received the "VPN link" status email stating that it was down, however I also got bombarded with emails saying that all of the remote hosts were unreachable. Obviously if the VPN link is down, none of the remote systems are going to be reachable.
How can I configure it so that if the VPN link is down that Nagios will not email me about the remote hosts being down? My Cisco-ASA was up, but the VPN link to my customer was down. Is it even possible to configure nagios for this?
In reality I'm monitoring my ASA for multiple VPN links (each one to a different customer) and monitoring multiple systems for each customer.
I've to to imagine that it is possible.
Any help would be greatly appreciated.