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 1C41411991 for ; Thu, 18 Sep 2014 04:37:34 +0000 (UTC) Received: (qmail 54360 invoked by uid 500); 18 Sep 2014 04:37:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 54340 invoked by uid 500); 18 Sep 2014 04:37:33 -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 54325 invoked by uid 99); 18 Sep 2014 04:37:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 04:37:33 +0000 Date: Thu, 18 Sep 2014 04:37:33 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-7374) Slider View: BE - Provide alerts in view API 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-7374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138477#comment-14138477 ] Hudson commented on AMBARI-7374: -------------------------------- SUCCESS: Integrated in Ambari-trunk-Commit #287 (See [https://builds.apache.org/job/Ambari-trunk-Commit/287/]) AMBARI-7374. Slider View: BE - Provide alerts in view API. Correcting component counts (sgunturi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0058924443bee9cb4b55afade3bfa08196765308) * contrib/views/slider/src/main/resources/ui/app/templates/slider_app/summary.hbs * contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java * contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsAlerts.java * contrib/views/slider/src/main/resources/ui/app/assets/data/resource/service_configs.json * contrib/views/slider/src/main/resources/ui/app/controllers/createAppWizard/step1_controller.js > Slider View: BE - Provide alerts in view API > -------------------------------------------- > > Key: AMBARI-7374 > URL: https://issues.apache.org/jira/browse/AMBARI-7374 > Project: Ambari > Issue Type: Bug > Components: contrib > Affects Versions: 1.7.0 > Reporter: Srimanth Gunturi > Assignee: Srimanth Gunturi > Fix For: 1.7.0 > > Attachments: AMBARI-7374_2.patch > > > _There will be no Nagios configuration support for Slider Apps_ > The View will rely on Slider client to obtain the number of active instance for each component type and indicate the health of the component type based on required number of instances vs. available. > Alerts will be provided in the /apps endpoint : [http://slider-1:8080/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/apps/?fields=*] > For each app there will be an _alerts_ key containing alert details. > {code} > "alerts" : { > "detail" : [ > { > "description" : "HiveServer2 process", > "host_name" : "slider-2.c.pramod-thangali.internal", > "last_status" : "CRITICAL", > "last_status_time" : 1409689349, > "service_name" : "HIVE", > "status" : "CRITICAL", > "status_time" : 1409703869, > "output" : "Connection refused", > "actual_status" : "CRITICAL" > }, > { > "description" : "Hive Metastore process", > "host_name" : "slider-2.c.pramod-thangali.internal", > "last_status" : "OK", > "last_status_time" : 1409334745, > "service_name" : "HIVE", > "status" : "OK", > "status_time" : 1409703865, > "output" : "TCP OK - 0.001 second response time on port 9083", > "actual_status" : "OK" > } > ], > "summary" : { > "CRITICAL" : 1, > "OK" : 1, > "PASSIVE" : 0, > "WARNING" : 0 > } > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)