mirror of https://github.com/zulip/zulip.git
uptimerobot: Use the create-bot-construct-url macro for uptimerobot.
Since the setup for uptimerobot does not deviate from what we have in the "create-bot-construct-url" macro, we can reuse it and event filtering instructions for uptimerobot will be automatically included. TODO: Add event filtering documentation for buildbot when it supports custom endpoint URL. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
parent
6b527dfa61
commit
8a80443b73
|
@ -2,17 +2,7 @@ Receive Zulip notifications from UptimeRobot!
|
||||||
|
|
||||||
1. {!create-stream.md!}
|
1. {!create-stream.md!}
|
||||||
|
|
||||||
1. {!create-a-bot.md!}
|
1. {!create-bot-construct-url.md!}
|
||||||
|
|
||||||
Construct the URL for the {{ integration_display_name }}
|
|
||||||
bot using the bot's API key and the desired stream name:
|
|
||||||
|
|
||||||
`{{ api_url }}{{ integration_url }}?api_key=abcdefgh&stream=stream%20name&`
|
|
||||||
|
|
||||||
Modify the parameters of the URL above, where `api_key` is the API key
|
|
||||||
of your Zulip bot, and `stream` is the URL-encoded stream name you want the
|
|
||||||
notifications sent to. If you do not specify a `stream`, the bot will
|
|
||||||
send notifications via PMs to the creator of the bot.
|
|
||||||
|
|
||||||
1. On UptimeRobot, go to **My Settings** and select **Add Alert Contact**.
|
1. On UptimeRobot, go to **My Settings** and select **Add Alert Contact**.
|
||||||
Set **Alert Contact Type** to **webhook**.
|
Set **Alert Contact Type** to **webhook**.
|
||||||
|
|
Loading…
Reference in New Issue