Jonathan Hurley created AMBARI-8362:
---------------------------------------
Summary: Alerts: Targets Should Support A Severity Level
Key: AMBARI-8362
URL: https://issues.apache.org/jira/browse/AMBARI-8362
Project: Ambari
Issue Type: Task
Components: alerts, ambari-server
Affects Versions: 2.0.0
Reporter: Jonathan Hurley
Assignee: Jonathan Hurley
Priority: Critical
Fix For: 2.0.0
Alert targets should have an optional field that represents the severity levels
that they care about. This will allow users to create different targets that
are only alerted when an alert's state has transitioned to their support
criticality level.
For example, a user may want to have 2 different email targets, "Tier-1
Support" and "Tier-2 Support" where T1 receives WARNINGs only and T2 receives
CRITICALS and UNKNOWNS.
We will extend the AlertTarget resource to provide this extra option. It will
be a list of supported criticality levels. A null or empty list implies all
levels are triggerable.
An example of creating a target that only cares about OK and WARNING states.
{code}
{
"AlertTarget": {
"name": "Administrators",
"description": "The Admins",
"notification_type": "EMAIL",
"alert_states": ["OK", "WARNING"],
"properties":{
"foo": "bar",
"foobar" : "baz"
}
}
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)