Bug 906385
Summary: | [RFE] Trait change alert conditions should support value expression | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Duncan Doyle <ddoyle> | ||||
Component: | Monitoring - Alerts | Assignee: | Jay Shaughnessy <jshaughn> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | JON 3.1.1 | CC: | ahovsepy, jshaughn, myarboro | ||||
Target Milestone: | ER01 | ||||||
Target Release: | JON 3.2.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-01-02 20:35:57 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Duncan Doyle
2013-01-31 14:51:23 UTC
It seems to me that enhancing alerting to support a pattern for the new trait value could be useful in general. I'll take that approach. Changed bugzilla name to better reflect the resultof the BZ. original: "Cannot fire alert on datasource "Connection Available?" trait changing to value 'no' (only on value change in general)." master commit 4d5117af409b27b39ebdfe1283c72eff967863f9 Author: Jay Shaughnessy <jshaughn> Date: Mon Apr 15 16:36:35 2013 -0400 Trait Change alert conditions now optionally support a regex matching test for the new value. If omitted the alert condition is unchanged from prior behavior, the alert condition matches if the trait value changes. If provided, the alert condition matches if the trait value changes and if the new value matches the regex pattern. Existing alert definitions are unaffected. Also: - a little cleanup of relevant I18N messages As this is MODIFIED or ON_QA, setting milestone to ER1. verified in jon 3.2 er4 alert fired and notificaiton sent only for "false" connection condition. connection getting back dosn't create new alerts and notifications. please get attached email notoficaiton. Created attachment 819229 [details]
alert
|