Skip to content

No alerts following a maintenance window #388

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

Open
resnostyle opened this issue May 13, 2016 · 2 comments
Open

No alerts following a maintenance window #388

resnostyle opened this issue May 13, 2016 · 2 comments

Comments

@resnostyle
Copy link

In our subscriptions we have a maintenance window where no alerts should be sent. After that window closes, seyren should alert that the check is in a poor state however it doesn't seem to do that.

It appears that notifications are only sent on state changes and not reinitialized following a window change.

@RSamal
Copy link

RSamal commented Jan 26, 2017

I agree. At least it should send notification even if the check continues to be in ERROR state. That would solve the maintenance window issue.

@paulej
Copy link

paulej commented Apr 20, 2017

I was just looking at that logic. It appears that the code cycles through subscriptions at the time the "check" status is changed and only sends out notifications if that subscription is active at that time a notification is warranted:
https://github.com/scobal/seyren/blob/master/seyren-core/src/main/java/com/seyren/core/service/schedule/CheckRunner.java#L135

One could save the notifications not dispatched and then pick those up on the next check. But, it would be important not to send out stale notifications. I agree, though, that it would be much better to receive those notifications once the window opens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants