Skip to content

Commit 76f1a73

Browse files
create dash partial (cloudflare#17277)
1 parent 47e46d2 commit 76f1a73

File tree

3 files changed

+25
-16
lines changed

3 files changed

+25
-16
lines changed

src/content/docs/magic-transit/how-to/configure-magic-tunnel-alerts.mdx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@ import { Render, Tabs, TabItem } from "~/components";
2020

2121
<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">
2222

23-
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account.
24-
2. Select **Notifications** > **Add**.
25-
3. Select **Magic Transit** > **Magic Tunnel Health Check Alert** > **Select** to add a notification.
26-
4. Enter a name and description for the notification.
27-
5. Add webhooks or an email address for the person who should receive the notification, and select **Next**.
28-
6. Choose the tunnels you want to receive alerts for.
29-
7. Select the **Alert Sensitivity Level** threshold. It is predefined for _Medium_, but you can choose between _High_, _Medium_, and _Low_. If you need more than three sensitivity levels, use the API.
30-
8. Select **Create** when you are done.
23+
<Render
24+
file="magic-tunnel-health-alerts/setup-magic-tunnels-dash"
25+
product="magic-wan"
26+
params={{
27+
one: "Magic Transit"
28+
}}
29+
/>
3130

3231
</TabItem> <TabItem label="API">
3332

src/content/docs/magic-wan/configuration/common-settings/configure-magic-tunnel-alerts.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ import { Render, Tabs, TabItem } from "~/components";
1919

2020
<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">
2121

22-
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account.
23-
2. Select **Notifications** > **Add**.
24-
3. Select **Magic WAN** > **Magic Tunnel Health Check Alert** > **Select** to add a notification.
25-
4. Enter a name and description for the notification.
26-
5. Add webhooks or an email address for the person who should receive the notification, and select **Next**.
27-
6. Choose the tunnels you want to receive alerts for.
28-
7. Select the **Alert Sensitivity Level** threshold. It is predefined for _Medium_, but you can choose between _High_, _Medium_, and _Low_. If you need more than three sensitivity levels, use the API.
29-
8. Select **Create** when you are done.
22+
<Render
23+
file="magic-tunnel-health-alerts/setup-magic-tunnels-dash"
24+
params={{
25+
one: "Magic WAN"
26+
}}
27+
/>
3028

3129
</TabItem> <TabItem label="API">
3230

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
inputParameters: productName
3+
---
4+
5+
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account.
6+
2. Select **Notifications** > **Add**.
7+
3. Select **{props.one}** > **Magic Tunnel Health Check Alert** > **Select** to add a notification.
8+
4. Enter a name and description for the notification.
9+
5. Add webhooks or an email address for the person who should receive the notification, and select **Next**.
10+
6. Choose the tunnels you want to receive alerts for.
11+
7. Select the **Alert Sensitivity Level** threshold. It is predefined for _Medium_, but you can choose between _High_, _Medium_, and _Low_. If you need more than three sensitivity levels, use the API.
12+
8. Select **Create** when you are done.

0 commit comments

Comments
 (0)