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
Hi, I have ops genie set up to send alerts to a Slack channel when they are triggered. What I'd like to do is create a small "buffer" between the alert hitting the channel and the person on call getting paged, so other team members in more convenient time zones get a chance to respond. In order for this to be successful, I'd like the OpsGenie bot to ping the whole channel with `@channel` so team members have an opportunity to see and respond to the alert within the window.
I can't seem to find anything in the integration that can accomplish this. Is there any way to somehow prepend an `@channel` to the message? I use prometheus to generate the original alert text, so I guess I could put that in the original alert description, but my gut tells me that won't get translated to the `@channel` handle by the time it propogates through the bot.
Hi @leejhampton1 ,
Including "@channel" in the Message of the alert will not notify the members of the Slack channel as expected when this command is executed.
Having said that - including "@channel" in the Description of the alert will. The Description of the alert can be included with what's sent to Slack.
Under the Prometheus integration, you could include a hardcoded "@channel" in the Description field. This can be configured under the Advanced tab of the integration:
Otherwise you can configure an Alert Policy under the team receiving these alerts that modifies your alerts and includes the "@channel" in each alert's description:
Hope that helps!
FYI - Both of the features listed above are only available on the Opsgenie Standard and Enterprise plans.