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/30 01:59:25 UTC

[jira] [Updated] (AMBARI-15604) Alert Definitions Repeat Tolerance Values Exposed In Web Client

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

Zhe (Joe) Wang updated AMBARI-15604:
------------------------------------
    Status: Patch Available  (was: Open)

> 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)