How do I setup Nagios to meet the following notification cri

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nagioshughvf
Posts: 3
Joined: Tue Apr 24, 2012 6:15 pm

How do I setup Nagios to meet the following notification cri

Post by nagioshughvf »

I have Nagios1 (Internal) and Nagios2 (External) monitoring the same service, ServiceA. Currently, I receive duplicate notifications from Nagios1 and Nagios2 when ServiceA is critical.

How do I setup Nagios to meet the following notification criteria?

1) When only one Nagios detects ServiceA is critical, do not send notifications

2) When both Nagios detects ServiceA is critical, send one notification
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: How do I setup Nagios to meet the following notification

Post by agriffin »

You could do this by defining a new notification command that checks the status on the other machine before sending out a notification. This would probably involve a little programming. There aren't any built-in options or existing add-ons that I'm aware of to do this.
Locked