[
https://issues.apache.org/jira/browse/AMBARI-20739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16015767#comment-16015767
]
Jonathan Hurley commented on AMBARI-20739:
------------------------------------------
{{ambari.dispatch-property.script}} was also meant as a way to provide a single
script to multiple targets. This way, targets could share a single python file
and just pass it different parameters. I'm not sure if anyone is using it like
this, but it might still be useful.
> Specify the script directly in alert target for script-based alert dispatchers
> ------------------------------------------------------------------------------
>
> Key: AMBARI-20739
> URL: https://issues.apache.org/jira/browse/AMBARI-20739
> Project: Ambari
> Issue Type: Task
> Components: alerts, ambari-web
> Affects Versions: 3.0.0
> Reporter: Yao Lei
> Assignee: Yao Lei
> Fix For: 3.0.0
>
>
> Although we can create the alert target of type ALERT_SCRIPT by web ui, we
> still need access to ambari.properties to add the new script and then
> restart ambari server to make this function take effect.It is better specify
> the script directly in alert target rather than in ambari.properties.In this
> way,we also don't need to restart ambari server.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)