将 Slack 与 Uptime 机器人建议集成
大家早上好,
当我使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Uptime Robot 建议使用 Slack 的 Incoming WebHooks 的方法,目前看来可行,但是Slack 建议可能随时被弃用或删除。
以下是在 Uptime Robot 中设置 Slack 通知的方法:
在您所需的 Slack 工作区中,您需要设置 传入 webhook 发布到特定频道。完成此操作后,您将收到来自 Slack 的 URL,您需要在 Uptime Robot 中提供该 URL。然后您可以保存新的 Slack Alert 联系人。
在 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:
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.
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.