On 8/7/2012 8:33 AM, Andreas M. Iwanowski wrote: > I.e. if the primary gateway goes down and the standby takes over, I > would still like to be notified about host troubles behind the VPN. Only > if both were to be down nagios should stop sending messages.
Would setting parent/child relationships, and maybe using the check_cluster plugin help you? I have two network core switches. Every physical host on the network has both of those two core switches defined as a parent in Nagios. Nagios will continue to check everything as long as at least one of those two switches is up. I did something similar with check_cluster. To monitor a VMware ESX cluster comprising three ESX hosts, I defined a Nagios host for each ESX host. There is another Nagios host to represent the cluster whose host check is a check_cluster command. Every guest has the cluster defined as its parent. If one ESX host goes down, the cluster goes into a warning state. If two or more ESX hosts go down, the cluster enters a critical state. The guests may all have migrated onto the still-running ESX host and might still be up, but the monitoring of individual guests can take a back seat at that point. -- -Chris Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null