You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Current I use OpsGenie with Prometheus and I have a big problem. Alertmanager creates new alert and after a while it closes this alert during this operation opsgenie always creates new alerts, not de-duplicate existing alert. The reason why this happens is because OpsGenie not solving the alarms but closing them. In summary, I have a very large number of the same alerts that should be duplicated.
In web app it it impossible to select a status other than closed.
Hi @Witold Gren - Opsgenie doesn't have an alert state of "Resolved". Alerts are either open or closed. However, there is the "acknowledge" action you can take on an alert.
What you could do is edit the opsgenie_config in Prometheus and change "send_resolved" to FALSE - so that Prometheus does not send anything to Opsgenie when the alert is resolved, this will stop the alert from being closed in Opsgenie automatically.
There isn't really anything that could be adjusted on the Opsgenie side though, as the Prometheus integration is just sending requests to Opsgenie's alert API, so it's setup to post to the "Close Alert" endpoint when the alert is resolved if that "send_resolved" is set to True.