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

Yao Lei commented on AMBARI-20739:
----------------------------------

Hi [~jonathan.hurley],
Thanks for your kindly and patiently guidence  for this issue .I have uploaded 
the  backend part  in AMBARI-21122.It will be honored if i can receive your 
review at your convenience.


> 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: trunk
>            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 
> (AMBARI-18423), 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.
> So now on web ui we can offer two ways to configure the script location for 
> script-based alert dispatchers:
> 1.By script dispatch property (*ambari.dispatch-property.script*).This is 
> already supported in previous ambari release.
> Please see 
> https://cwiki.apache.org/confluence/display/AMBARI/Creating+a+Script-based+Alert+Dispatcher+-+2.4.0
> 2.By script filename(*ambari.dispatch-property.script.filename*).
> This new way will lookup the script by filename in script directory,default 
> in /var/lib/ambari-server/resources/scripts.
> We can change the directory in ambari.properties by 
> *notification.dispatch.alert.script.directory* property.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to