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

Hudson commented on AMBARI-7374:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #283 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/283/])
AMBARI-7374. Slider View: BE - Provide alerts in view API (sgunturi: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2a5759c5d39fbb70db2b4549bb6cee49601c86d9)
* 
contrib/views/slider/src/main/java/org/apache/ambari/view/slider/AlertField.java
* 
contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsAlerts.java
* 
contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
* 
contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderApp.java
* 
contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/SliderAppMasterClient.java
* 
contrib/views/slider/src/main/java/org/apache/ambari/view/slider/AlertState.java


> 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
>
>
> _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)

Reply via email to