将 Slack 与 Uptime 机器人建议集成

发布于 2025-01-15 21:52:19 字数 193 浏览 3 评论 0原文

大家早上好,

当我使用 Uptime Robot 进行停机或正常运行时,我目前正在尝试获取松弛通知。

我发现的方法虽然使用了第 3 方下载,但似乎是 4/5 年前的?

也许我只是不擅长谷歌搜索。

关于如何做到这一点或最佳实践有什么建议吗?

一定是机器人在正常运行时间内的一种方式吗?

干杯

Morning all

I am currently trying to get slack notifications when I have downtime or uptime using Uptime Robot

The methods I have found have used 3rd party downloads though and seem to be from 4/5 years ago?

Maybe I am just terrible at googling.

Any recommendations on how to do it or best practice?

Must be a way within uptime robot alone?

Cheers

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小姐丶请自重 2025-01-22 21:52:19

Uptime Robot 建议使用 Slack 的 Incoming WebHooks 的方法,目前看来可行,但是Slack 建议可能随时被弃用或删除。

以下是在 Uptime Robot 中设置 Slack 通知的方法:

  1. 在 Uptime Robot 中,转至我的设置 ->添加警报联系人 ->警报联系类型:Slack

Uptime Robot 中的对话框显示为 Slack 添加警报联系人的流程

  1. 在您所需的 Slack 工作区中,您需要设置 传入 webhook 发布到特定频道。完成此操作后,您将收到来自 Slack 的 URL,您需要在 Uptime Robot 中提供该 URL。然后您可以保存新的 Slack Alert 联系人。

  2. 在 Uptime Robot 中,转到所需的“监视器”,然后“编辑”,然后选择“提醒联系人进行通知”。确保选中您的新 Slack 提醒联系人的复选框。

您可以通过选择所需的监视器,然后运行“测试通知设置”来测试集成。请注意,这将向您为此监视器选择的所有警报联系人发出警报。

Uptime Robot suggests a method using Slack's Incoming WebHooks, which seems to work for now, but Slack advises may be deprecated or removed at any time.

Here's how to set up Slack notifications in Uptime Robot:

  1. In Uptime Robot, Go to My Settings -> Add Alert Contact -> Alert Contact Type: Slack

Dialog box in Uptime Robot showing flow to Add Alert Contact for Slack

  1. In your desired Slack Workspace, you'll need to set up the incoming webhook to post to a particular channel. Once you do that, you'll receive a URL from Slack, which you'll need to provide back in Uptime Robot. Then you can save the new Slack Alert Contact.

  2. In Uptime Robot, go to your desired Monitor, then Edit, then Select "Alert Contacts to Notify". Make sure the box is checked for your new Slack alert contact.

You can test the integration by selecting your desired Monitor, then running "Test notification setup". Note that this will alert ALL of your selected Alert Contacts for this monitor.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文