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 C0EB71195B for ; Mon, 8 Sep 2014 14:05:29 +0000 (UTC) Received: (qmail 54183 invoked by uid 500); 8 Sep 2014 14:05:29 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 54138 invoked by uid 500); 8 Sep 2014 14:05:29 -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 53895 invoked by uid 99); 8 Sep 2014 14:05:29 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Sep 2014 14:05:29 +0000 Date: Mon, 8 Sep 2014 14:05:29 +0000 (UTC) From: "Nate Cole (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-7191) Alerts: rename old alerts endpoint for new alerts and provide summary info 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-7191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nate Cole resolved AMBARI-7191. ------------------------------- Resolution: Fixed commit 1f1059cff1ac749e5bdc8fd98febccb7ca346652 > Alerts: rename old alerts endpoint for new alerts and provide summary info > -------------------------------------------------------------------------- > > Key: AMBARI-7191 > URL: https://issues.apache.org/jira/browse/AMBARI-7191 > Project: Ambari > Issue Type: Task > Components: alerts, ambari-server, ambari-web > Reporter: Nate Cole > Assignee: Nate Cole > Fix For: 2.0.0 > > > Currently alerts (from Nagios) are propagated to the UI in the form: > {noformat} > { > "href" : "http://localhost:8080/api/v1/clusters/c1/services/HDFS?fields=alerts", > "ServiceInfo" : { > "cluster_name" : "c1", > "service_name" : "HDFS" > }, > "alerts" : { > "detail" : [ ... ] > "summary": { > "OK": x, > "WARNING": y, > "CRITICAL": z > } > } > {noformat} > This should be renamed to make way for the {{alerts}} endpoint. Summary data should be placed into an alerts_summary element. > THIS IS AN API BREAKING CHANGE. -- This message was sent by Atlassian JIRA (v6.3.4#6332)