@cryptotaxi247 / netdata-1 / commits / f5ac9b658

minor fix on notification doc (Discord) (#14339)

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

Tasos Katsoulas committed Jan 27, 2023 at 19:58 UTC f5ac9b658ee661b2341d2e3147c9f10dc2231d68
3 files changed +10 -12
health/notifications/alarm-notify.sh.in
+1 -1
@@ -18,7 +18,7 @@
18 # - emails by @ktsaou
19 # - slack.com notifications by @ktsaou
20 # - alerta.io notifications by @kattunga
21 -# - discordapp.com notifications by @lowfive
21 +# - discord.com notifications by @lowfive
22 # - pushover.net notifications by @ktsaou
23 # - pushbullet.com push notifications by Tiago Peralta @tperalta82 #1070
24 # - telegram.org notifications by @hashworks #1002
health/notifications/discord/README.md
+6 -8
@@ -1,5 +1,5 @@
1 <!--
2 -title: "Discordapp.com"
2 +title: "Discord.com"
3 sidebar_label: "Discord"
4 custom_edit_url: "https://github.com/netdata/netdata/edit/master/health/notifications/discord/README.md"
5 learn_status: "Published"
@@ -8,7 +8,7 @@ learn_rel_path: "Setup/Notification/Agent"
8 learn_autogeneration_metadata: "{'part_of_cloud': False, 'part_of_agent': True}"
9 -->
10
11 -# Discordapp.com
11 +# Discord.com
12
13 This is what you will get:
14
@@ -16,7 +16,7 @@ This is what you will get:
16
17 You need:
18
19 -1. The **incoming webhook URL** as given by Discord. Create a webhook by following the official [Discord documentation](https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks). You can use the same on all your Netdata servers (or you can have multiple if you like - your decision).
19 +1. The **incoming webhook URL** as given by Discord. Create a webhook by following the official [Discord documentation](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks). You can use the same on all your Netdata servers (or you can have multiple if you like - your decision).
20 2. One or more Discord channels to post the messages to.
21
22 Set them in `/etc/netdata/health_alarm_notify.conf` (to edit it on your system run `/etc/netdata/edit-config health_alarm_notify.conf`), like this:
@@ -32,8 +32,8 @@ Set them in `/etc/netdata/health_alarm_notify.conf` (to edit it on your system r
32 SEND_DISCORD="YES"
33
34 # Create a webhook by following the official documentation -
35 -# https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks
36 -DISCORD_WEBHOOK_URL="https://discordapp.com/api/webhooks/XXXXXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
35 +# https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
36 +DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/XXXXXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
37
38 # if a role's recipients are not configured, a notification will be send to
39 # this discord channel (empty = do not send a notification for unconfigured
@@ -50,6 +50,4 @@ role_recipients_discord[dba]="databases systems"
50 role_recipients_discord[webmaster]="marketing development"
51 ```
52
53 -The keywords `systems`, `databases`, `marketing`, `development` are discordapp.com channels (they should already exist within your discord server).
54 -
55 -
53 +The keywords `systems`, `databases`, `marketing`, `development` are discord.com channels (they should already exist within your discord server).
health/notifications/health_alarm_notify.conf
+3 -3
@@ -9,7 +9,7 @@
9 # - messages to your slack team (slack.com),
10 # - messages to your alerta server (alerta.io),
11 # - messages to your flock team (flock.com),
12 -# - messages to your discord guild (discordapp.com),
12 +# - messages to your discord guild (discord.com),
13 # - messages to your telegram chat / group chat (telegram.org)
14 # - sms messages to your cell phone or any sms enabled device (twilio.com)
15 # - sms messages to your cell phone or any sms enabled device (messagebird.com)
@@ -588,7 +588,7 @@ DEFAULT_RECIPIENT_FLOCK=""
588
589
590 #------------------------------------------------------------------------------
591 -# discord (discordapp.com) global notification options
591 +# discord (discord.com) global notification options
592
593 # multiple recipients can be given like this:
594 # "CHANNEL1 CHANNEL2 ..."
@@ -597,7 +597,7 @@ DEFAULT_RECIPIENT_FLOCK=""
597 SEND_DISCORD="YES"
598
599 # Create a webhook by following the official documentation -
600 -# https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks
600 +# https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
601 DISCORD_WEBHOOK_URL=""
602
603 # if a role's recipients are not configured, a notification will be send to