Telegram is a freeware, cross-platform cloud-based instant messaging, video calling, and VoIP service. It was initially launched for iOS on 14 August 2013 in Russia, and is currently based in Dubai. Official Telegram client apps are available for Android, iOS, Windows, macOS and Linux, as well as for the now-discontinued Windows Phone. There is also an official web interface and numerous unofficial clients. All of Telegram's official apps are open source.
Telegram provides end-to-end encrypted calls and optional end-to-end encrypted "secret" chats between two online users on smartphone clients, whereas cloud chats use client-server/ server-client encryption. Users can send text and voice messages, animated stickers, make voice and video calls, and share an unlimited number of images, documents (2GB per file), user locations, contacts, and music. As of April 2020, Telegram reached 400 million monthly active users.
Checker monitors HAProxy and Nginx services and HAProxy backends. If some backend or HAProxy/Nginx service is down, Checker will alert via Telegram, real-time alerting via HAProxy-WI and keep incident history.
To create a chatbot on Telegram, you need to contact the BotFather, which is essentially a bot used to create other bots.
The command you need is /newbot which leads to the following steps to create your bot:
After you got the Token from BotFather you should create a channel. Add the bot as an administrator to the channel.
Add your Token and channel name on the "Checker" tab:
In the end activate Checker for services:
Also after enabling checker for servers HAProxy-WI starts collect incident history. It can help in future debuging: