You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Zhe (Joe) Wang (JIRA)" <ji...@apache.org> on 2016/03/28 20:14:25 UTC

[jira] [Created] (AMBARI-15605) UI Changes To Expose Alert Repeat Tolerance Counts

Zhe (Joe) Wang created AMBARI-15605:
---------------------------------------

             Summary: UI Changes To Expose Alert Repeat Tolerance Counts
                 Key: AMBARI-15605
                 URL: https://issues.apache.org/jira/browse/AMBARI-15605
             Project: Ambari
          Issue Type: Task
          Components: ambari-web
    Affects Versions: 2.4.0
            Reporter: Zhe (Joe) Wang
            Assignee: Zhe (Joe) Wang
             Fix For: 2.4.0


The web client will need to display alerts which have not yet reached their retry threshold value differently. This will involve indicating that the alert has gone to a non-OK state but has not yet reached the number of consecutive instances to be considered a true positive alert. 

The values are exposed off of the alert endpoint:
{code}
GET api/v1/clusters/<cluster>/alerts/<id>

"Alert": {
  "cluster_name": "c1",
  "component_name": "AMBARI_AGENT",
  "definition_id": 3,
  "definition_name": "ambari_agent_disk_usage",
  "state" : CRITICAL,
  …
  "repeat_tolerance" : 3,
  "repeat_tolerance_remaining": 2
  ...
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)