Files
zulip/zerver/webhooks/uptimerobot/doc.md
Zixuan James Li 8a80443b73 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>
2022-09-08 13:37:35 -07:00

32 lines
980 B
Markdown

Receive Zulip notifications from UptimeRobot!
1. {!create-stream.md!}
1. {!create-bot-construct-url.md!}
1. On UptimeRobot, go to **My Settings** and select **Add Alert Contact**.
Set **Alert Contact Type** to **webhook**.
1. Set **Friendly Name** to a name of your choice, such as `Zulip`. Set **URL to notify** to the
URL constructed above. Under **POST Value (JSON Format)**, select **Send as JSON (application/json)**.
1. Set **POST Value(JSON Format)** to:
```
{
"monitor_url":"*monitorURL*",
"monitor_friendly_name":"*monitorFriendlyName*",
"alert_type":"*alertType*",
"alert_type_friendly_name":"*alertTypeFriendlyName*",
"alert_details":"*alertDetails*",
"alert_friendly_duration":"*alertFriendlyDuration*"
}
```
1. Set **Enable Notifications For** to whichever events you want to notify on.
Save the form.
{!congrats.md!}
![](/static/images/integrations/uptimerobot/001.png)