Bug 654737

Summary: [RFE] Need Alert Notifications consolidated for single or multiple Alert Definitions
Product: [Other] RHQ Project Reporter: Larry O'Leary <loleary>
Component: AlertsAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.0.0CC: jshaughn
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Larry O'Leary 2010-11-18 18:04:36 UTC
Currently, when an alert definition contains multiple conditions and is set to be triggered when "Any" of the conditions are met, an alert notification is sent for each condition. If the notification is via e-mail, this results in multiple e-mails at the same time indicating the same alert definition was met.

Here are the three use-cases presented by the user:
   1. "fire 1 alert notification for each condition, that is true"
   2: "fire 1 alert notification, if all conditions are true"
   3: "fire 1 alert notification, if at least 1 condition is true"

Within these use-cases, there are three possible alert definitions the user could define:
   A: Setting up multiple Alert Definitions with every Alert Definition containing only 1 condition
   B: Setting up 1 Alert Definition with multiple conditions (using ALL)
   C: Setting up 1 Alert Definition with multiple conditions (using ANY)
 
The expectation is that the alert system would support the following:
   Configuration A for Use-Case 1
   Configuration B for Use-Case 2
   Configuration C for Use-Case 3

It seems that at the moment things are working like this:
   Configuration A or C for Use-Case 1
   Configuration B for Use-Case 2
   Use-Case 3 is not possible!

Currently, for Use-Case 3, the result is an alert-notification for each condition that is true which makes it exactly like Use-Case 1. So, if you have an Alert Definition that contains 5 conditions and 3 of the 5 conditions are met, you end up with 3 separate notifications. The idea would be a single notification containing the 3 conditions that were met.

To expand on the feature and to allow further consolidation of Alert Notifications, for Configuration A, it would be nice to be able to define an Alert Notification which included multiple Alert Definitions. This allowing me to create multiple Alert Definitions and receive a single notification when one or more are met.