Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E79DA200B86 for ; Sun, 4 Sep 2016 01:27:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E5FBF160ACD; Sat, 3 Sep 2016 23:27:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5F76E160ABB for ; Sun, 4 Sep 2016 01:27:21 +0200 (CEST) Received: (qmail 43502 invoked by uid 500); 3 Sep 2016 23:27:20 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 43489 invoked by uid 99); 3 Sep 2016 23:27:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Sep 2016 23:27:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 749EC2C014F for ; Sat, 3 Sep 2016 23:27:20 +0000 (UTC) Date: Sat, 3 Sep 2016 23:27:20 +0000 (UTC) From: "Yao Lei (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-18292) Support dispatching notifications of assigned alert states for script-based alert dispatcher MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 03 Sep 2016 23:27:22 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yao Lei updated AMBARI-18292: ----------------------------- Resolution: Won't Fix Status: Resolved (was: Patch Available) > 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)