Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

integration-docs: Update UptimeRobot for new doc format.

Niloth P4759b6aed71c
diff --git a/zerver/webhooks/uptimerobot/doc.md b/zerver/webhooks/uptimerobot/doc.md
index 99afd05b097..ea9946bbef2 100644
--- a/zerver/webhooks/uptimerobot/doc.md
+++ b/zerver/webhooks/uptimerobot/doc.md
@@ -1,33 +1,44 @@
+# 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**.
-1. On UptimeRobot, go to **My Settings** and select **Add Alert Contact**.
- Set **Alert Contact Type** to **webhook**.
+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 **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. Under **POST Value (JSON Format)**, select **Send as JSON (application/json)**,
+ and then set the value to:
-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*"
+ }
- ```
- {
- "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** the [events](#filtering-incoming-events)
+ you'd like to be notified about, and save the form.
-1. Set **Enable Notifications For** to whichever events you want to notify on.
- Save the form.
+{end_tabs}
{!congrats.md!}
![](/static/images/integrations/uptimerobot/001.png)
+
+{!event-filtering-additional-feature.md!}
+
+### Related documentation
+
+{!webhooks-url-specification.md!}