[
https://issues.apache.org/jira/browse/AMBARI-7374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Srimanth Gunturi updated AMBARI-7374:
-------------------------------------
Attachment: AMBARI-7374_2.patch
> 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)