Bug 672654 - RFE: Ability to fire one alert based on the fine-grained results of a resource operation
Summary: RFE: Ability to fire one alert based on the fine-grained results of a resourc...
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Alerts
Version: 3.0.1
Hardware: All
OS: All
medium
medium vote
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-25 19:47 UTC by Rafael Soares (Tuelho)
Modified: 2022-03-31 04:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
Datasource Test Connection Operation Result view (56.10 KB, image/png)
2011-01-25 19:49 UTC, Rafael Soares (Tuelho)
no flags Details
Alert Condition Set definition view (60.43 KB, image/png)
2011-01-25 19:49 UTC, Rafael Soares (Tuelho)
no flags Details

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?


Note You need to log in before you can comment on or make changes to this bug.