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

Exposure of Global Alert Repeat Tolerance Value in Web Client

    XMLWordPrintableJSON

Details

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

    Description

      The global repeat tolerance value for all alert definitions is set on the cluster-env configuration. Unless an alert definition overrides this value, it will be used for any definition in the system. By default, this value will be set to 1, indicating that there is no tolerance and the alert state should be taken at face value.

      GET api/v1/clusters/<cluster>/configurations?type=cluster-env&tag=<tag>
      
            "Config": {
              "cluster_name": "c1",
              "stack_id": "HDP-2.4"
            },
            "properties": {
              "command_retry_enabled": "true",
              "command_retry_max_time_in_sec": "600",
              ...
              "alerts_repeat_tolerance" : "1"
             ...
            }
      

      The web client should expose a way to update the cluster-env to set this value.

      UI Warning of Delayed Alerts
      When changing the value of the global of definition-specific repeat tolerance, a warning should be presented to the user to indicate that it will now take longer for the alert notifications to be sent. This is because notifications are delayed until the interval multiplied by the repeat tolerance is reached. Consider the case where the check against an alert happens every 5 minutes and the repeat tolerance is set to 5. It will be at least 25 minutes before any outbound notifications are dispatched. This warning can be on a per-alert definition basis as well as when setting the global value.

      Attachments

        1. AMBARI-15603.v0.patch
          7 kB
          James Wang
        2. AMBARI-15603.v1.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: