Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Prevent Google Stackdriver from auto closing an Alert in OpsGenie

Ray Statham November 24, 2020

Hello all, is there any way to prevent Google StackDriver from auto closing an alert in OpsGenie when the value of the matrix drops back below the alerts threshold? My GCP notification channel is a Webhook.

The problem I have is that the alert needs to be escalated in OpsGenie regardless that the state has become good. 

Many thanks in advance, Ray 

1 answer

2 votes
Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 24, 2020

Hi @Ray Statham ,

You can manage what creates or closes alerts in the Advanced tab of the integration:

stack comm 1.jpg

^ Note - this section is only available on the Standard and Enterprise plans.

 

Seems like you'll want to add an additional Create Alert action that almost replicates what the Close Alert action does - filtering on the action that closes the alert. What this will do is deduplicate the alert when the close request is sent to Opsgenie. 

https://docs.opsgenie.com/docs/alert-deduplication

You'll also want to make sure this action increases the priority when it triggers. Deduplication is meant to prevent alert fatigue by increasing the count of an alert. But - if the alert deduplicates with a higher priority, the notification workflow will restart. That configuration might look something like this:

stack comm 2.jpgstack comm 3.jpg

 

If the integration shouldn't be closing any alerts, you have the option to delete the Close Alert action in this section as well:

stack comm 4.jpg

 

Hope this helps. Let us know if you have additional questions or issues.

Ray Statham November 25, 2020

Hello Nick,

Thank you for taking the time to respond to my question. I did find reference to the "Advanced" button during my initial search, but our account is "Essentials" so the option is missing. I will try and justify an account upgrade to finance and then follow your steps.

Many thanks, Ray

Like Nick H likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events