@cryptotaxi247 / netdata-1 / commits / 1953b23c1

Update enable-notifications.md (#14838)

Remove slack section

Chris Akritidis committed Mar 29, 2023 at 09:09 UTC 1953b23c1f66871e1d6d5a1b1b1c13279a7f5b0c
1 file changed -44
docs/monitor/enable-notifications.md
-44
@@ -88,48 +88,4 @@ notification platform.
88 - [**Telegram**](https://github.com/netdata/netdata/blob/master/health/notifications/telegram/README.md)
89 - [**Twilio**](https://github.com/netdata/netdata/blob/master/health/notifications/twilio/README.md)
90
91 -### Enable Slack notifications
92 -
93 -First, [Add an incoming webhook](https://slack.com/apps/A0F7XDUAZ-incoming-webhooks) in Slack for the channel where you
94 -want to see alert notifications from Netdata. Click the green **Add to Slack** button, choose the channel, and click the
95 -**Add Incoming WebHooks Integration** button.
96 -
97 -On the following page, you'll receive a **Webhook URL**. That's what you'll need to configure Netdata, so keep it handy.
98 -
99 -Navigate to your [Netdata config directory](https://github.com/netdata/netdata/blob/master/docs/configure/nodes.md#the-netdata-config-directory) and use `edit-config` to
100 -open the `health_alarm_notify.conf` file:
101 -
102 -```bash
103 -sudo ./edit-config health_alarm_notify.conf
104 -```
105 -
106 -Look for the `SLACK_WEBHOOK_URL=" "` line and add the incoming webhook URL you got from Slack:
107 -
108 -```conf
109 -SLACK_WEBHOOK_URL="https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXX"
110 -```
111 -
112 -A few lines down, edit the `DEFAULT_RECIPIENT_SLACK` line to contain a single hash `#` character. This instructs Netdata
113 -to send a notification to the channel you configured with the incoming webhook.
114 -
115 -```conf
116 -DEFAULT_RECIPIENT_SLACK="#"
117 -```
118 -
119 -To test Slack notifications, switch to the Netdata user.
120 -
121 -```bash
122 -sudo su -s /bin/bash netdata
123 -```
124 -
125 -Next, run the `alarm-notify` script using the `test` option.
126 -
127 -```bash
128 -/usr/libexec/netdata/plugins.d/alarm-notify.sh test
129 -```
130 -
131 -You should receive three notifications in your Slack channel for each health status change: `WARNING`, `CRITICAL`, and
132 -`CLEAR`.
133 -
134 -See the [Agent Slack notifications](https://github.com/netdata/netdata/blob/master/health/notifications/slack/README.md) doc for more options and information.
91