Bug 672654

Summary: RFE: Ability to fire one alert based on the fine-grained results of a resource operation
Product: [Other] RHQ Project Reporter: Rafael Soares (Tuelho) <rsoares>
Component: AlertsAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0.1CC: jshaughn, loleary
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: All   
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:
Attachments:
Description Flags
Datasource Test Connection Operation Result view
none
Alert Condition Set definition view none

Description Rafael Soares (Tuelho) 2011-01-25 19:47:21 UTC
Description of problem:
Some resources operations like the 'Data Source > Local Tx Data Source > Test Connection' operation returns a Boolean value that indicates either a DB connection was obtained or not.

Today is possible to create an alert to be fired based on the Status (INPROGRES, SUCCESS, FAILED, CANCELED) of an Resource Operation. But in some cases (as in DS Test Connection case) the operation status is not enough to define the real state of the resource. In the case of the 'DS Test Connection' operation the result can be true (a DB conn was obtained) or false (a DB conn wasn't obtained - that could occurs due many reasons like: timeout, network issues, DS pool full, etc).

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a new Alert Definition for a Data Source Resource.
2.
3.
  
Actual results:
   Isn't possible to define a condition set based on the operation results. Today just the operation status can be used.

Expected results:
   Would be usefull add the ability to use operation results in an Alert condition set.

Additional info:
   See the screenshots attached.

Comment 1 Rafael Soares (Tuelho) 2011-01-25 19:49:00 UTC
Created attachment 475251 [details]
Datasource Test Connection Operation Result view

Comment 2 Rafael Soares (Tuelho) 2011-01-25 19:49:58 UTC
Created attachment 475252 [details]
Alert Condition Set definition view

Comment 3 Jay Shaughnessy 2014-07-03 19:23:28 UTC
Perhaps some ability to optionally test a pattern against the stringified result?