You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Yao Lei (JIRA)" <ji...@apache.org> on 2017/10/26 09:07:00 UTC

[jira] [Issue Comment Deleted] (AMBARI-20739) Specify the script directly in alert target for script-based alert dispatchers

     [ https://issues.apache.org/jira/browse/AMBARI-20739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yao Lei updated AMBARI-20739:
-----------------------------
    Comment: was deleted

(was: Sounds good.Thanks)

> 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.4.14#64029)