ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe (Joe) Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-15604) Alert Definitions Repeat Tolerance Values Exposed In Web Client
Date Tue, 05 Apr 2016 17:48:25 GMT

     [ 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.v2.patch

Local ambari-web test passed.
25609 tests complete (24 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, AMBARI-15604.v1.patch, AMBARI-15604.v2.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)

Mime
View raw message