如何通过Slack OpsGenie集成通知团队成员?

问题描述 投票:0回答:1

我正在使用针对OpsGenie的Slack集成将警报发布到Slack频道。

但是,我想将OpsGenie升级/轮换与Slack集成一起使用,以便轮换中的成员可以通过Slack直接消息得到通知。

现在,警报只是发送到一个闲置通道,但不会通知轮换中的成员。

可以这样做吗?换句话说,我可以通过Slack直接消息通知轮换用户吗?

提前感谢。

slack slack-api opsgenie
1个回答
0
投票

根据Slack App Integration文档,可以创建警报。可以将警报分配给团队,警报将在呼叫轮换时发出通知,也许可以为您提供帮助:

使用/ genie命令

https://docs.opsgenie.com/docs/slack-app-integration#section-using-genie-command

创建警报:

/genie alert [alert message] for [team1,team2,user1..]

示例:

/genie alert this is alert message for [email protected]
/genie alert this is alert message for integration team, product team
/genie alert this is alert message for myTeam, [email protected]

另请参见:

https://docs.opsgenie.com/docs/slack-app-integration

https://docs.opsgenie.com/docs/slack-app-integration#section-chat-user-mapping

https://docs.opsgenie.com/docs/slack-app-integration#section-using-genie-command

© www.soinside.com 2019 - 2024. All rights reserved.