alerting icon indicating copy to clipboard operation
alerting copied to clipboard

[FEATURE] Need an API to disable/enable monitor

Open eirsep opened this issue 2 years ago • 2 comments

making an update API call to disable or enable a monitor is not the best practice and is also very cumbersome as user would need to be aware of mapping of monitor document. Since monitors are jobs and require to be enabled or disabled we should provide one of the following:

  1. PUT _plugins/_alerting/monitors/{monitor_id}/enable and PUT _plugins/_alerting/monitors/{monitor_id}/disable
  2. PUT _plugins/_alerting/monitors/{monitor_id}}/status {"enable" = true/false}

eirsep avatar Jul 27 '23 21:07 eirsep

I will work on this one

JacobCho-i avatar Oct 18 '23 04:10 JacobCho-i

This feature would be a huge help for my team.

adamdepollo avatar Nov 06 '23 21:11 adamdepollo