You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/configure-slack-alerting/index.mdx
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,20 @@
1
1
---
2
2
meta:
3
-
title: Configuring Slack for Grafana alerting using a Webhook URL
4
-
description: Learn how to send your Grafana alert notifications to your Slack channels for more efficient monitoring.
3
+
title: Sending Cockpit's alert notifications to Slack using a webkook URL
4
+
description: Learn how to send your Cockpit alert notifications to your Slack channels for more efficient monitoring.
5
5
content:
6
-
h1: Configuring Slack for Grafana alerting using a Webhook URL
7
-
paragraph: Learn how to send your Grafana alert notifications to your Slack channels for more efficient monitoring.
6
+
h1: Sending Cockpit's alert notifications to Slack using a webkook URL
7
+
paragraph: Learn how to send your Cockpit alert notifications to your Slack channels for more efficient monitoring.
8
8
categories:
9
9
- cockpit
10
10
dates:
11
-
validation: 2025-02-13
12
-
posted: 2025-02-13
11
+
validation: 2025-02-18
12
+
posted: 2025-02-18
13
13
---
14
14
15
-
This page shows you how to create a Slack app, a Slack webhook, and your Slack integration in Grafana using the `Scaleway Alerting` alert manager, and how to configure notification policies to receive your Grafana alert notifications in your Slack channel.
15
+
This page shows you how to create a Slack app, a Slack webhook, and your Slack integration using the `Scaleway Alerting` alert manager, and how to configure notification policies in Grafana to receive your Cockpit alert notifications in your Slack channel.
16
+
17
+
As **we do not support Grafana managed alerts**, this documentation only shows you how to **send Cockpit alerts to your Slack channel**.
16
18
17
19
<Macroid="requirements" />
18
20
@@ -21,28 +23,28 @@ This page shows you how to create a Slack app, a Slack webhook, and your Slack i
21
23
-[Created](/cockpit/how-to/create-external-data-sources/) data sources
22
24
-[Enabled](/cockpit/how-to/enable-alert-manager/) the alert manager
23
25
-[Retrieved](/cockpit/how-to/retrieve-grafana-credentials/) your Grafana credentials
24
-
-[Configured](/cockpit/how-to/configure-alerts-for-scw-resources/)Grafana alerts for your resources
26
+
-[Configured](/cockpit/how-to/configure-alerts-for-scw-resources/) alerts for your resources (preconfigured or custom)
25
27
-[Created](https://slack.com/help/articles/206845317-Create-a-Slack-workspace) a Slack workspace in which you want to receive the alert notifications
26
28
27
29
## Creating a Slack app
28
30
29
31
1. Refer to the [Slack documentation](https://api.slack.com/messaging/webhooks#create-app) and click **Create your Slack app**. You are redirected to a new page and a pop-up appears prompting you to either create your app **from a manifest** or **from scratch**.
30
32
2. Click **From scratch**.
31
-
3. Enter a name for your app. For the purpose of this documentation, we are naming the app `Grafana alerts`.
33
+
3. Enter a name for your app. For the purpose of this documentation, we are naming the app `Scaleway alerts`.
32
34
4. Pick the workspace you want to receive alerts in from the drop-down.
33
35
5. Click **Create App** to confirm. You app's **Basic information** page displays.
34
-
6. Optionally, scroll down to **Display information** to customize the way your app will display in Slack. For example, you can:
36
+
6. Optionally, scroll down to **Display information** to customize the way your app will display in Slack. For more information, refer to the [App Detail Guidelines]((https://api.slack.com/slack-marketplace/guidelines)). For example, you can:
35
37
- Add a short description in the **Short description** field
36
38
- Add an icon
37
39
- Choose a background color
38
-
- Add a long description
40
+
- Add a long description that will show up on your app detail page.
39
41
7. Click **Save Changes** Once you are done configuring your app.
40
42
41
43
## Activating incoming Webhooks
42
44
43
45
1. Click **Incoming Webhooks** under the **Features** section.
44
46
2. Click the toggle icon to activate incoming webhooks. The **Webhook URLs for Your Workspace** section displays.
45
-
3. Click **Add New Webhook to Workspace**. You are prompted to choose a Slack channel in which your Grafana alerts app will post.
47
+
3. Click **Add New Webhook to Workspace**. You are prompted to choose a Slack channel in which your Scaleway alerts app will post.
46
48
4. Click the drop-down and select one or all Slack channels.
47
49
5. Click **Allow**.
48
50
6. Click **Copy** under the **Webhook URL** section, as you will need it in the next steps.
0 commit comments