Bug 534240 (RHQ-1055)

Summary: support more sophisticated alerts around measurement traits
Product: [Other] RHQ Project Reporter: Joseph Marques <jmarques>
Component: AlertsAssignee: Charles Crouch <ccrouch>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ccrouch, cwelton, hbrock, jshaughn
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1055
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-11 21:25:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 585306    

Description Joseph Marques 2008-11-04 19:21:00 UTC
today we can alert on trait changes.  tomorrow we could support...

new value matches a particular substring
new value startswith a particular substring
new value endswith a particular substring
new value endswith a particular regular expression

all of these more advanced matches would be similar to how we do advanced processing on the "details" field for events-based alerting.  with it we'll be able to:

* alert when the RHQ Agent "restart reason" trait substring-matches "memory", i.e. one of my agents was automatically restarted due to OOME or perm gen issues
* alert when the JBossAS Server "version" string regex-matches "cluster[0-9][0-9]", i.e. one of my jboss servers has changed partition memberships

Comment 1 Red Hat Bugzilla 2009-11-10 20:22:54 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1055


Comment 6 Jay Shaughnessy 2011-02-11 21:25:12 UTC
Will revisit given customer demand.