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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Is there a way to set up an auto-close alert on opsgenie?
This is what I have set up, I'm using grafana for monitoring and have set an alert for CPU usage. If the CPU usage reaches 85% then want an alert to be sent to opsgenie which will then send a notification to slack and phone call /SMS.
All that works fine, the only issue I run into is I want the alert to be able to close if the CPU usage decreases from the threshold I set up which is 85%.
I have created a brand new dashboard and alert policy from grafana which all tested fine. I followed the suggested steps from Atlassian for creating an API from opgenie and then configuring the API key with grafana.
Could someone point me to how I can set a policy where the alert gets closed automatically if the gets resolved on its own? Let's say the usage spiked up to 85% for a minute and went back to its normal usage. I want the alert that gets created to be closed after the issue is resolved.
Hi @Sohaib Khan
The way the Opsgenie/Grafana integration works is that when an alert is closed in Grafana, the related alert is closed in Opsgenie.
If you set Grafana up to automatically close the alert when the usage drops back below 85%, a 'close' action will be then sent to opsgenie which will close Opsgenie's open alert.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.