You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2016/04/05 00:42:25 UTC

[jira] [Created] (AMBARI-15702) Global Repeat Tolerance Value For Alerts

Jonathan Hurley created AMBARI-15702:
----------------------------------------

             Summary: Global Repeat Tolerance Value For Alerts
                 Key: AMBARI-15702
                 URL: https://issues.apache.org/jira/browse/AMBARI-15702
             Project: Ambari
          Issue Type: Task
          Components: ambari-server
    Affects Versions: 2.4.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Critical
             Fix For: 2.4.0


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 retry tolerance and the alert state should be taken at face value.

{code}
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"
       ...
      }
{code}

The scope of work must also include
- Default values if the property does not exist
- Ambari upgrade work to ensure it's populated with a default value



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