[ 
https://issues.apache.org/jira/browse/AMBARI-15604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhe (Joe) Wang updated AMBARI-15604:
------------------------------------
    Attachment: AMBARI-15604.v0.patch

Local ambari-web test passed.
25642 tests complete (22 seconds)
154 tests pending
Manual testing done.

> Alert Definitions Repeat Tolerance Values Exposed In Web Client
> ---------------------------------------------------------------
>
>                 Key: AMBARI-15604
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15604
>             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
>
>         Attachments: AMBARI-15604.v0.patch
>
>
> Alert definitions will now expose two properties to control repeat tolerance 
> values on an individual based (overriding those from 
> {{cluster-env/alerts_repeat_tolerance}}
> {code}
> GET api/v1/clusters/<cluster>/alert_definition/<id>
>   "AlertDefinition" : {
>     "cluster_name" : "c1",
>     "component_name" : "RESOURCEMANAGER",
>     "enabled" : true,
>     "interval" : 1,
>     "label" : "Demo YARN RM Address",
>     "name" : "demo_yarn_rm_address",
>     "scope" : "ANY",
>     "service_name" : "YARN",
>     "repeat_tolerance" : 1,
>     "repeat_tolerance_enabled" : false
>                   ...
>  }
> {code}
> {code}
> PUT api/v1/clusters/<cluster>/alert_definition/<id>
>   "AlertDefinition" : {
>     ...
>     "repeat_tolerance" : 5,
>     "repeat_tolerance_enabled" : true
>                   ...
>   }
> If the overridden global repeat tolerance value is to be removed, then the 
> alert should be updated to indicate that the customized value is ignored:
>   "AlertDefinition" : {
>     ...
>     "repeat_tolerance_enabled" : false
>                   ...
>   }
> {code}



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

Reply via email to