[ 
https://issues.apache.org/jira/browse/AMBARI-8362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14216894#comment-14216894
 ] 

Hudson commented on AMBARI-8362:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit-docker #264 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/264/])
AMBARI-8362 - Alerts: Targets Should Support A Severity Level (jonathanhurley) 
(jhurley: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7eee111cdb767e403aabd00c73d21729d2b3750d)
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProvider.java
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java
* 
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java
* 
ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertStateChangedListener.java
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProviderTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertTargetEntity.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* 
ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertStateChangedEventTest.java
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-DROP.sql


> 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
>
>         Attachments: AMBARI-8362.patch, AMBARI-8362.patch
>
>
> 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)

Reply via email to