Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3888417F3E for ; Fri, 24 Oct 2014 18:48:34 +0000 (UTC) Received: (qmail 80274 invoked by uid 500); 24 Oct 2014 18:48:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 80244 invoked by uid 500); 24 Oct 2014 18:48:34 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 80230 invoked by uid 99); 24 Oct 2014 18:48:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2014 18:48:34 +0000 Date: Fri, 24 Oct 2014 18:48:33 +0000 (UTC) From: "Jonathan Hurley (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-7955) Alerts: Expose the Ability to Create Host-Only Alerts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-7955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Hurley updated AMBARI-7955: ------------------------------------ Attachment: AMBARI-7928.patch > Alerts: Expose the Ability to Create Host-Only Alerts > ----------------------------------------------------- > > Key: AMBARI-7955 > URL: https://issues.apache.org/jira/browse/AMBARI-7955 > Project: Ambari > Issue Type: Task > Components: alerts, ambari-agent, ambari-server > Affects Versions: 2.0.0 > Reporter: Jonathan Hurley > Assignee: Jonathan Hurley > Fix For: 2.0.0 > > Attachments: AMBARI-7928.patch > > > Adds "host-only" alerts to the alert framework infrastructure. Alerts that are only for a host are those that are run on every host in the cluster and are not bound to any particular stack service. They exist "outside" of the stack. > In order to accomplish this, several changes were made: > 1) A new alerts.json was created at the root resources directory to represent host-only alerts. This file is parsed separately from the stack but its definitions are merged into the database in the same manner as those from the stack > 2) These new alerts must be bound to the service AMBARI and component AMBARI_AGENT > 3) Host alerts are usually custom scripts; a new directory was needed so that resources could be copied from the Ambari Server to the Agent in the same manner that the stack and custom_actions resources are copied. This is the new "host_scripts" directory. > 4) RPM updates to ensure that "host_scripts" is properly packaged. -- This message was sent by Atlassian JIRA (v6.3.4#6332)