integration-docs: Update UptimeRobot for new doc format.

Part of zulip#29592.
This commit is contained in:
Niloth P 2024-07-04 18:49:04 +05:30 committed by Tim Abbott
parent 9c520ae23f
commit 4759b6aed7
1 changed files with 29 additions and 18 deletions

View File

@ -1,33 +1,44 @@
# Zulip UptimeRobot integration
Receive Zulip notifications from UptimeRobot! Receive Zulip notifications from UptimeRobot!
{start_tabs}
1. {!create-channel.md!} 1. {!create-channel.md!}
1. {!create-an-incoming-webhook.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**. 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 1. Set **Alert Contact Type** to **webhook**, set **Friendly Name** to
URL constructed above. Under **POST Value (JSON Format)**, select **Send as JSON (application/json)**. 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_url":"*monitorURL*", "monitor_friendly_name":"*monitorFriendlyName*",
"monitor_friendly_name":"*monitorFriendlyName*", "alert_type":"*alertType*",
"alert_type":"*alertType*", "alert_type_friendly_name":"*alertTypeFriendlyName*",
"alert_type_friendly_name":"*alertTypeFriendlyName*", "alert_details":"*alertDetails*",
"alert_details":"*alertDetails*", "alert_friendly_duration":"*alertFriendlyDuration*"
"alert_friendly_duration":"*alertFriendlyDuration*" }
}
```
1. Set **Enable Notifications For** to whichever events you want to notify on. 1. Set **Enable Notifications For** the [events](#filtering-incoming-events)
Save the form. you'd like to be notified about, and save the form.
{end_tabs}
{!congrats.md!} {!congrats.md!}
![](/static/images/integrations/uptimerobot/001.png) ![](/static/images/integrations/uptimerobot/001.png)
{!event-filtering-additional-feature.md!}
### Related documentation
{!webhooks-url-specification.md!}