Using Telegram bots with Zabbix
If you love automation in chat applications, you might have heard of or used Telegram Messenger. Telegram has an extensive API and amazing bot features.
In this recipe, we are going to use a Telegram bot to create a Telegram group for Zabbix alerts. Let’s get started.
Getting ready
Make sure you have your Zabbix server ready. You can use lar-book-rocky
or any Zabbix server capable of sending some alerts.
It would be useful if you have some knowledge of Telegram, but I’ll be describing how to set it up step by step, even for those of you who have never used Telegram bots. Just make sure that you have the Telegram app on your computer and that your account is set up.
How to do it…
- First, let’s create a new channel in Telegram. Click on the create icon next to the search box and select New Group:
Figure 9.42 – Telegram New Group button
- Add another user –...