ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-8514) Alerts: Create A Global Alert Target For All Alert Groups
Date Wed, 03 Dec 2014 20:52:12 GMT

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

Hudson commented on AMBARI-8514:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit-docker #374 (See [https://builds.apache.org/job/Ambari-trunk-Commit-docker/374/])
AMBARI-8514 - Alerts: Create A Global Alert Target For All Alert Groups (jonathanhurley) (jhurley:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2518a56a3c0e6a530ca46b3d3d5ba7dc42b5246b)
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertGroup.java
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* ambari-server/src/main/resources/alert-templates.xml
* ambari-server/src/main/java/org/apache/ambari/server/api/services/AlertGroupService.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDispatchDAO.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertTargetEntity.java
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertDefinitionResourceProvider.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertTarget.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertGroupResourceProviderTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProvider.java
* ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDispatchDAOTest.java
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProviderTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertGroupResourceProvider.java
* ambari-server/src/test/java/org/apache/ambari/server/orm/OrmTestHelper.java


> Alerts: Create A Global Alert Target For All Alert Groups
> ---------------------------------------------------------
>
>                 Key: AMBARI-8514
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8514
>             Project: Ambari
>          Issue Type: Task
>          Components: alerts, ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>             Fix For: 2.0.0
>
>
> Currently, there is no easy way to assign a single alert target to all of the alert groups
defined in the new alerts framework. The user will need to manually associate each alert target
with the existing alert groups. Furthermore, new groups will not automatically be associated
with any alert targets in the system.
> There should be the ability to specify that an alert target is a global catch-all. Once
created, the alert target will automatically be associated with any existing and newly created
alert groups.
> The alert target will be denoted as being "global", making its associated groups read-only
since they will always include all of the groups defined in the system.
> This will also enable the web client to prompt the administrator during a cluster install
to define a global alert target that will begin working for them immediately after the cluster
install has completed.
> To create a global alert target:
> POST
> {code:title=AlertTarget/global|borderStyle=solid}
> {
>   "AlertTarget": {
>     "name": "Global Email",
>     "description": "Email for all triggered alerts.",
>     "global": true,
>     "notification_type": "EMAIL",
>     "properties":{
>        ...
>     }    
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message