Send one alert to multiple Slack channels

bogdanmartin
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!
March 16, 2022

Hi guys,

 

We have multiple projects that are monitored by Monit, and when something goes wrong, Monit sends an API call to Opsgenie and we get alerted on Slack. Each project has a separate slack channel, so all the alerts are separated by project.

For some PROD alarms (not all PROD alarms are included here), we have policies and only they trigger a call from Opsgenie to our on-call team 24/7. All is working as expected.

What I am trying to do is: somehow configure Opsgenie to send the same PROD/on-call  notification/alarm to 2 different slack channels at the same time, so the on-call team can easily spot the issue.

I want to implement this because when something bad happens on PROD we get multiple alerts on Slack, but not all of them are relevant for the on-call team, and they can miss some relevant alerts by mistake.

Example:

Currently we already have this:

Project1 sends alarms to slack channel #project1_alarms

Project2 sends alarms to slack channel #project2_alarms

 

What I want to implement:

Project1 sends alarms to slack channel #project1_alarms + also the same alarm to #general-oncall-alarms

Project2 sends alarms to slack channel #project2_alarms + also the same alarm to #general-oncall-alarms

 

I tried tinkering with integrations and some policies, but was unable to find a way to implement this.

How can I make this happen?

 

Thanks!

1 answer

1 accepted

1 vote
Answer accepted
Nick Haller
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 16, 2022

Hi @bogdanmartin ,

Is all of this managed under one team? If yes, it seems like you could create a third Slack integration under this team that sends Project1 and Project2 alerts to the #general-oncall-alarms channel.

 

Otherwise, you could create a global Slack integration - which means it's assigned to No Team - and send Project1 and Project2 alerts to the #general-oncall-alarms channel.

Note that global Slack integrations can apply to all alerts if no filter is configured. So depending on how your label Project1 and Project2 alerts, the Slack filter might look something like this:

slack1.jpg

bogdanmartin
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!
March 17, 2022

Thank you, working, it never occurred to me to not configure a team :) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events