Skip to content

Alert Manager webhook behaviour it is restarted with an active alert #4310

Discussion options

You must be logged in to vote

Alertmanager keeps alerts in memory, however as you found it uses a file to track the last notification sent for each group of alerts. If you restart Alertmanager, it will lose any alerts it had in memory. That means even if the endsAt time has elapsed, following a restart Alertmanager won't know about it as the alert will have been lost.

What happens is Prometheus re-sends all of its alerts to Alertmanager at a regular interval, and this is how Alertmanager recovers its state. But since the alert never resolved in Prometheus, Alertmanager just sees the same alert firing as before the crash.

What people tend to do in this situation is run something called high availability mode. You can r…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@grobinson-grafana
Comment options

Answer selected by stephen-monaghan
@stephen-monaghan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants