Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kapacitor rules [tasks] disable option #847

Closed
chetu opened this issue Feb 6, 2017 · 9 comments
Closed

kapacitor rules [tasks] disable option #847

chetu opened this issue Feb 6, 2017 · 9 comments

Comments

@chetu
Copy link

chetu commented Feb 6, 2017

Need to option to mute kapacitor tasks from chronograf UI.

Right now we have to do it from kapacitor cli :

  • kapacitor list tasks
  • kapacitor disable taskid

The requirement to mute rules is required when we plan downtime/maintenance to production servers and avoid all alerts during maintenance period.

@goller
Copy link
Contributor

goller commented Feb 6, 2017

@chetu thanks for writing in and absolutely we need to do this!

@alyan2008
Copy link

Yes, it will be very useful for us as well. Also I want to have the ability to write some comments when I disable tasks or I wan`t to disable it for some time (it should be automatically enabled after some time)

@goller
Copy link
Contributor

goller commented Feb 9, 2017

@alyan2008 I agree that recording comments about alerts is important.

@nathanielc does kapacitor have facilities for adding "notes" to a task? I don't see anything in the API (https://github.com/influxdata/kapacitor/blob/master/client/API.md#tasks).

@nathanielc
Copy link

@goller No it does not. Slightly related we do plan to add a silence feature to Kapacitor that would allow you to silence individual alerts without needing to disable the entire task. That feature would accept "notes" about why an alert was silenced. Although there is some overlap here so we should make sure the use case is clear.

@goller
Copy link
Contributor

goller commented Feb 10, 2017

Hi @chetu and @alyan2008, @121watts and I have PR #868 up that implements disabling and enabling of the alerts.

We are hoping to get it merged in for today's release!

@goller
Copy link
Contributor

goller commented Feb 11, 2017

We were able to get the disable/enable into 1.2.0-beta2 release yesterday.

@alexpaxton styled it like this on the alerts page:

kapacitor-checkboxes

Try it out!

@goller goller closed this as completed Feb 11, 2017
@goller goller removed the delivered label Feb 11, 2017
@alekseyp
Copy link

Hey guys, it doesn't work when you have more then 1 alert.
It always disables/enables first one.

@goller
Copy link
Contributor

goller commented Feb 28, 2017

@alekseyp Just reproduced this. Expect a hotfix soon.

@goller goller reopened this Feb 28, 2017
@lin-credible
Copy link

lin-credible commented Feb 28, 2017

@goller @alekseyp +1
(It always disables/enables the first alert rule).

@nhaugo nhaugo removed the delivered label Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants