Page 1 of 1

Notification Consolidation

Posted: Wed Jan 04, 2012 7:54 pm
by mfarrenk
I've seen a couple of threads here that look similar to what I want to do. Unfortunately, there aren't any responses that apply to my situation.

There are several buildings that I monitor. One such building has 17 network closets in it. Each closet has two automatic transfer switches and two UPSes. The basic configuration is easy: tell Nagios that ATS1 is dependent on Switch1 and ATS2 is dependent on Switch2. Under ATS1 and ATS2, I will define a service RedundancyCheck to confirm if the ATS still has both power sources.

But if we have a building-wide problem, I don't want to get 34 notifications saying all the ATSes lost redundancy. I want one notification saying that I have a power issue in the building.

A service group doesn't allow for notifications based on the status of the group, and a service dependency doesn't seem right either. That said, I could create a fake host for the building (ATSHealth) and make a status underneath it that is dependent on all of the RedundancyChecks, but that doesn't seem right.

Suggestions? Input is most appreciated.

Re: Notification Consolidation

Posted: Mon Jan 09, 2012 8:25 am
by Zippo
You can use BPI for creating custom groups of services for notifications. This new created custom BPI-group can be checked in another Nagios Service Check. Now deactivate the notification for the services of the BPI-group and activate it for this BPI-Group Service-Check.

BPI is a very good plugin. Easy to install. Easy to handle per web-configuration.