[
https://issues.apache.org/jira/browse/AMBARI-18423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960221#comment-15960221
]
Hadoop QA commented on AMBARI-18423:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12862422/AMBARI-18423_1.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 1 new
or modified test files.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in
ambari-web.
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/11328//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/11328//console
This message is automatically generated.
> Support creating/editing alert dispatch targets for script-based alert
> dispatchers by web wizard instead of command line
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-18423
> URL: https://issues.apache.org/jira/browse/AMBARI-18423
> Project: Ambari
> Issue Type: Improvement
> Components: alerts, ambari-web
> Affects Versions: trunk
> Reporter: Yao Lei
> Assignee: Yao Lei
> Priority: Minor
> Fix For: trunk
>
> Attachments: alert_script_target_1.png, alert_script_target_2.png,
> alert_script_target_3.png, AMBARI-18423_1.patch, AMBARI-18423.patch
>
>
> Ambari now support creating/editing three kinds of alert dispatch targets by
> web wizard, including EMAIL,SNMP,Custom SNMP.
> If we want to create another kind of alert dispatch target ALERT_SCRIPT for
> script-based alert dispatcher,we have to execute a command manually like
> following:
> {code}
> POST api/v1/alert_targets
>
> {
> "AlertTarget": {
> "name": "syslogger",
> "description": "Syslog Target",
> "notification_type": "ALERT_SCRIPT",
> "global": true
> }
> }
> {code}
> or
> {code}
> POST api/v1/alert_targets
> {
> "AlertTarget": {
> "name": "syslogger",
> "description": "Syslog Target",
> "notification_type": "ALERT_SCRIPT",
> "global": false,
> "groups":[1,3]
> "alert_states":["WARNING","CRITICAL","UNKNOWN"],
> "properties": {
> "ambari.dispatch-property.script":
> "com.mycompany.dispatch.syslog.script"
> }
> }
> }
> {code}
> More details, please see
> https://cwiki.apache.org/confluence/display/AMBARI/Creating+a+Script-based+Alert+Dispatcher+-+2.4.0
> We should do this by web wizard rather than command line, which will lead
> to more convenience
> We think it is really helpeful for us when using script-based alert
> dispatcher.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)