mirror of https://github.com/zulip/zulip.git
integration-docs: Update UptimeRobot for new doc format.
Part of zulip#29592.
This commit is contained in:
parent
9c520ae23f
commit
4759b6aed7
|
@ -1,20 +1,24 @@
|
|||
# Zulip UptimeRobot integration
|
||||
|
||||
Receive Zulip notifications from UptimeRobot!
|
||||
|
||||
{start_tabs}
|
||||
|
||||
1. {!create-channel.md!}
|
||||
|
||||
1. {!create-an-incoming-webhook.md!}
|
||||
|
||||
1. {!generate-integration-url.md!}
|
||||
1. {!generate-webhook-url-basic.md!}
|
||||
|
||||
1. On UptimeRobot, go to **My Settings** and select **Add Alert Contact**.
|
||||
Set **Alert Contact Type** to **webhook**.
|
||||
1. On UptimeRobot, go to **My Settings**, and select **Add Alert Contact**.
|
||||
|
||||
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 **Alert Contact Type** to **webhook**, set **Friendly Name** to
|
||||
a name of your choice, such as `Zulip`, and set **URL to notify** to the
|
||||
URL generated above.
|
||||
|
||||
1. Set **POST Value(JSON Format)** to:
|
||||
1. Under **POST Value (JSON Format)**, select **Send as JSON (application/json)**,
|
||||
and then set the value to:
|
||||
|
||||
```
|
||||
{
|
||||
"monitor_url":"*monitorURL*",
|
||||
"monitor_friendly_name":"*monitorFriendlyName*",
|
||||
|
@ -23,11 +27,18 @@ Receive Zulip notifications from UptimeRobot!
|
|||
"alert_details":"*alertDetails*",
|
||||
"alert_friendly_duration":"*alertFriendlyDuration*"
|
||||
}
|
||||
```
|
||||
|
||||
1. Set **Enable Notifications For** to whichever events you want to notify on.
|
||||
Save the form.
|
||||
1. Set **Enable Notifications For** the [events](#filtering-incoming-events)
|
||||
you'd like to be notified about, and save the form.
|
||||
|
||||
{end_tabs}
|
||||
|
||||
{!congrats.md!}
|
||||
|
||||
![](/static/images/integrations/uptimerobot/001.png)
|
||||
|
||||
{!event-filtering-additional-feature.md!}
|
||||
|
||||
### Related documentation
|
||||
|
||||
{!webhooks-url-specification.md!}
|
||||
|
|
Loading…
Reference in New Issue