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

Update and refresh alarms when an alarm tag is updated #38

Open
mpechner-akasa opened this issue Apr 10, 2023 · 1 comment
Open

Update and refresh alarms when an alarm tag is updated #38

mpechner-akasa opened this issue Apr 10, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mpechner-akasa
Copy link

If the alert tag is changed, or the defaults are changed, then new alerts are created. But the current alerts that are meant to be replaced are left as is.

There is a scan function, possibly a refresh that will delete alerts and re add them.

Possibly allow args and the function to run with parameters. So as a lambda lambda handler is called. From main another function. I've had code used as lambda and called from CLI.

@knizami knizami added the enhancement New feature or request label Apr 10, 2023
@knizami knizami self-assigned this Apr 10, 2023
@knizami
Copy link
Contributor

knizami commented Apr 10, 2023

Hi @mpechner-akasa, thanks for opening this issue and feature request. You are correct, if you change the tag it is additive and doesn't eliminate the previous alarm tag. I will work on the solution for this so that it will do a true "rescan" of tags and also remove alarms that are present for which no corresponding tag now exists.

@knizami knizami changed the title Cannot modify an alert Update and refresh alarms when an alarm tag is updated Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants