summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkdvlr <d.kiran@yahoo.com>2020-12-25 14:44:12 -0600
committerGitHub <noreply@github.com>2020-12-25 20:44:12 +0000
commitefff2d478ebd807c9c19411ba2420a9c94ab63e0 (patch)
treef3edb43e7bbd737621cf2a04efeb729561f19a34
parenta06ef3a44aff966d9bbe2d76dbd8b06fc4d7f7a8 (diff)
Added instructions on which file to edit. (#10398)
-rw-r--r--health/notifications/telegram/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/notifications/telegram/README.md b/health/notifications/telegram/README.md
index 089507e4f0..f3323dd5ca 100644
--- a/health/notifications/telegram/README.md
+++ b/health/notifications/telegram/README.md
@@ -19,7 +19,7 @@ You need to:
2. Start a conversation with your bot or invite it into a group where you want it to send messages.
3. Find the chat ID for every chat you want to send messages to. Contact the [@myidbot](https://t.me/myidbot) bot and send the `/getid` command to get your personal chat ID or invite it into a group and use the `/getgroupid` command to get the group chat ID. Group IDs start with a hyphen, supergroup IDs start with `-100`.
Alternatively, you can get the chat ID directly from the bot API. Send *your* bot a command in the chat you want to use, then check `https://api.telegram.org/bot{YourBotToken}/getUpdates`, eg. `https://api.telegram.org/bot111122223:7OpFlFFRzRBbrUUmIjj5HF9Ox2pYJZy5/getUpdates`
-
+4. Set the bot token and the chat ID of the recipient in `/etc/netdata/health_alarm_notify.conf` (to edit it on your system run `/etc/netdata/edit-config health_alarm_notify.conf`), like this:
```
SEND_TELEGRAM="YES"
TELEGRAM_BOT_TOKEN="111122223:7OpFlFFRzRBbrUUmIjj5HF9Ox2pYJZy5"