![]() Great, you can now start receiving Zabbix notifications in Telegram! Make sure the user has access to all hosts for which you would like to receive Telegram notifications. In the "Send to" field enter Telegram user chat ID or group ID obtained during Telegram setup. If you have forgotten to send '/start' to the bot from Telegram, you will get the following error:ģ.To receive notifications in Telegram, you need to create a Zabbix user and add Media with the Telegram type. Test the media type using chat ID or group ID you've got. Note: in this case, your Telegram-related actions should be separated from other notification actions (for example, SMS), otherwise you may get plain text alert with raw Markdown/HTML tags. Read the Telegram Bot API documentation to learn how to format action notification messages: Markdown / HTML / MarkdownV2. In the ParseMode parameter set required option according to the Telegram's documentation. In the "Administration > Media types" section, import the media_telegram.yaml.Ĭopy and paste your Telegram bot token into the "telegramToken" field. If you skip this step, Telegram bot won't be able to send messages to the group.ġ. In the group chat send "/ _bot_name_here". If you skip this step, Telegram bot won't be able to send messages to the user.ģ.If you want to send group notifications, you need to obtain group ID of the group the bot should send messages to. If you want to send personal notifications, you need to obtain chat ID of the user the bot should send messages to.Īsk the user to send "/start" to the bot, created in step 1. The token provided by in the final step will be needed for configuring Zabbix webhook.Ģ. Register a new Telegram Bot: send "/newbot" to and follow the instructions. Graphs sending - waiting for ZBXNEXT-5611ġ.This guide describes how to send notifications from Zabbix 6.2 to the Telegram messenger using Telegram Bot API and Zabbix webhook feature.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |