You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/04/28 20:29:07 UTC

[jira] [Commented] (AMBARI-9919) Add Support For Script-Based Alert Dispatchers

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

Hudson commented on AMBARI-9919:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2462 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2462/])
AMBARI-9919 - Add Support For Script-Based Alert Dispatchers (jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=39eb618e966f695ac8b368a9cd8293592a8726d1)
* ambari-server/src/test/java/org/apache/ambari/server/notifications/dispatchers/AlertScriptDispatcherTest.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDispatchDAO.java
* ambari-server/src/test/java/org/apache/ambari/server/state/services/AlertNoticeDispatchServiceTest.java
* ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
* ambari-server/src/test/java/org/apache/ambari/server/notifications/DispatchFactoryTest.java
* ambari-server/src/main/java/org/apache/ambari/server/notifications/dispatchers/SNMPDispatcher.java
* ambari-server/src/main/java/org/apache/ambari/server/notifications/dispatchers/EmailDispatcher.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertNotification.java
* ambari-server/src/main/java/org/apache/ambari/server/notifications/Notification.java
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/TargetType.java
* ambari-server/src/main/java/org/apache/ambari/server/notifications/dispatchers/AlertScriptDispatcher.java
* ambari-server/src/main/java/org/apache/ambari/server/state/services/AlertNoticeDispatchService.java
* ambari-server/src/test/java/org/apache/ambari/server/notifications/MockDispatcher.java
* ambari-server/src/main/java/org/apache/ambari/server/notifications/NotificationDispatcher.java


> Add Support For Script-Based Alert Dispatchers
> ----------------------------------------------
>
>                 Key: AMBARI-9919
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9919
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Mahadev konar
>            Assignee: Jonathan Hurley
>             Fix For: 2.1.0
>
>
> Add support for alert dispatchers which invoke a configurable command line script. This involves several steps:
> - Change the Ambari framework to allow for custom dispatchers to be picked up via the classpath.
> - Allow for dispatchers to receive notifications that do not have pre-generated content since the {{alert-templates.xml}} may not be able to provide the correct command-line arguments for the script.
> - The script dispatcher should be able to use any script defined in ambari.properties. A single dispatcher class can therefore dispatch to any number of scripts if the script path is found in ambari.properties.



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