ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yao Lei (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-18292) Support dispatching notifications of assigned alert states for script-based alert dispatcher
Date Sat, 03 Sep 2016 23:31:20 GMT

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

Yao Lei commented on AMBARI-18292:
----------------------------------

See  rb.
Alert states can be set when creating or editing alert target 


> Support dispatching notifications of assigned alert states for script-based alert dispatcher
> --------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-18292
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18292
>             Project: Ambari
>          Issue Type: Improvement
>          Components: alerts
>    Affects Versions: trunk
>            Reporter: Yao Lei
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18292.1.patch, AMBARI-18292.patch
>
>
> By default, Ambari allow all notifications of all kinds of alert states (OK,WARNING,CRITICAL,UNKNOWN)
to dispatch in script-based alert dispatcher.
> However, sometimes we hope to filter notification of some alert states 
> This patch will resolve this by setting 'notification.dispatch.alert.script.states' 
in ambari.properties  as following:
> #Only dispatch WARNING and CRITICAL  state  notification 
> notification.dispatch.alert.script.states=WARNING,CRITICAL 
> If you don't set this property that means all notifications  will be dispatched
> I think  making the desired  notifications  configurable  is useful for Ambari users



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

Mime
View raw message