[
https://issues.apache.org/jira/browse/AMBARI-16277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hurley updated AMBARI-16277:
-------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Alert Targets Should Be Allowed To Be Disabled Without Deleting Them
> --------------------------------------------------------------------
>
> Key: AMBARI-16277
> URL: https://issues.apache.org/jira/browse/AMBARI-16277
> Project: Ambari
> Issue Type: Task
> Affects Versions: 2.4.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Fix For: 2.4.0
>
> Attachments: AMBARI-16277.patch
>
>
> Alert targets cannot currently be disabled. In order to temporarily stop
> alerts, the following actions are required:
> - Deleting the alert target
> - Removing all states from an alert target
> - Changing the properties of an alert target to make it invalid
> - Placing the entire cluster into Maintenance Mode
> In each case, the state of the system is being changed to achieve a
> side-effect.
> Alert targets should support being disabled as a first class action.
> {code}
> PUT api/v1/alert_targets/1
> {
> "AlertTarget": {
> "enabled": false
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)