[
https://issues.apache.org/jira/browse/AMBARI-8576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Srimanth Gunturi updated AMBARI-8576:
-------------------------------------
Attachment: AMBARI-8576.patch
Added Ambari service to alert-definitions and host-alert-instances pages.
Verified on live cluster.
Added testcases which pass
{code}
[exec] 5052 tests complete (8 seconds)
[exec] 60 tests pending
{code}
> Alerts UI: ambari service should be included for alert definitions
> ------------------------------------------------------------------
>
> Key: AMBARI-8576
> URL: https://issues.apache.org/jira/browse/AMBARI-8576
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.0.0
> Reporter: Srimanth Gunturi
> Assignee: Srimanth Gunturi
> Fix For: 2.0.0
>
> Attachments: AMBARI-8576.patch
>
>
> The ambari agent disk usage alert is associated with AMBARI service but the
> UI does not show that. And the service filter does not include ambari.
> 1) should display this alert is related to ambari service
> 2) filter should include ambari
> {code}
> "href" :
> "http://c6401.ambari.apache.org:8080/api/v1/clusters/MyCluster/alert_definitions/37",
> "AlertDefinition" : {
> "cluster_name" : "MyCluster",
> "component_name" : "AMBARI_AGENT",
> "description" : null,
> "enabled" : true,
> "id" : 37,
> "ignore_host" : false,
> "interval" : 1,
> "label" : "Ambari Agent Disk Usage",
> "name" : "ambari_agent_disk_usage",
> "scope" : "HOST",
> "service_name" : "AMBARI",
> "source" : {
> "path" : "alert_disk_space.py",
> "type" : "SCRIPT"
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)