Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15605

UI Changes To Expose Alert Repeat Tolerance Counts

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • ambari-web
    • None

    Description

      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:

      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
        ...
      }
      

      Attachments

        1. AMBARI-15605.v2.patch
          7 kB
          James Wang
        2. AMBARI-15605.v1.patch
          7 kB
          James Wang
        3. AMBARI-15605.v0.patch
          7 kB
          James Wang

        Issue Links

          Activity

            People

              jwang James Wang
              jwang James Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: