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

Yao Lei updated AMBARI-18292:
-----------------------------
    Description: 
By default, Ambari allow all kinds of alert states 
(OK,WARNING,CRITICAL,UNKNOWN) notification to dispatch in script-based alert 
dispatcher.
However, sometimes we hope to filter some alert states notification
This patch will resolve this by setting 
'notification.dispatch.alert.script.states'  in ambari.properties  as following:

#Only dispatch WARNING and CRITICAL  alert notification 
notification.dispatch.alert.script.states=WARNING,CRITICAL 


  was:
By default, Ambari allow all kinds of alert states of notification to dispatch 
in script-based alert dispatcher.
However, sometimes we hope to filter some alert states notification
This patch will resolve this  by configuring 
'notification.dispatch.alert.script.states' in ambari.properties like following:
notification.dispatch.alert.script.states=WARN,CRI


> Support to dispatch assigned alert states notification for script-based alert 
> dispatcher
> ----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-18292
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18292
>             Project: Ambari
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Yao Lei
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18292.patch
>
>
> By default, Ambari allow all kinds of alert states 
> (OK,WARNING,CRITICAL,UNKNOWN) notification to dispatch in script-based alert 
> dispatcher.
> However, sometimes we hope to filter some alert states notification
> This patch will resolve this by setting 
> 'notification.dispatch.alert.script.states'  in ambari.properties  as 
> following:
> #Only dispatch WARNING and CRITICAL  alert notification 
> notification.dispatch.alert.script.states=WARNING,CRITICAL 



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

Reply via email to