Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Combine Notification Policies

Jamie Stoddart
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 24, 2023

We are deploying our application on top of a shared Kubernetes based infrastructure. It sends alerts into OpsGenie via Prometheus and we have no control over thresholds etc.

We are having to maintain a Notification policy which does 2 things:

1 - If a specific tag value is "critical" then upgrade to a P2

2 - Occasionally filter for broken/noisy/spamming alerts when a new feature or change introduces this.

My question is can we have a policy that is effectively an Ignore list then our P" rule is simply:

if tag = critical and name NOT IN <other policy> 

1 answer

0 votes
Mona Singh
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2023

Hi Jamie,

This is Mona here, happy to help :slightly_smiling_face:

As I understand, you would like to configure Alert Policy in such a way that it updates the priority to P2 if the tag value equals Critical & only triggers for conditions not specified in other Alert policies.

The reason I’m referring to Alert Policy here is that it changes or appends the alert properties like the message, description, or even responder of the alert before it’s created. Assign Teams or Users as responders as well. Alert policies have the option to process more than one policy. If the Continue to next policy option is enabled, the next policy is processed in the alert policy list. This chain execution stops at the first policy which has disabled this option.

However, Notification Policies exist only under Teams. Notification policies apply to notifications of alert actions, like new alert creation, acknowledge notifications, etc. These actions include delay/suppress, auto restart, and auto close.

For more details on the Alert & Notification Policy, you can refer to this doc.
https://support.atlassian.com/opsgenie/docs/create-and-manage-team-alert-policies/

Using Alert Policy, you can configure the matching conditions such that this policy applies to only specific alerts and is unique compared to other configured Alert policies. Please note that using another policy as a condition is not feasible as per the current design in order to avoid policy looping.

https://share.getcloudapp.com/P8u2vPr9

Hope it helps :) In case you have any further queries, please feel free to reach out to us by creating a ticket in this link and we’ll take it from there :)

Thanks,
Mona

Suggest an answer

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

Atlassian Community Events