✈️ Telegram
Telegram is one of the fastest notification channels — messages arrive almost instantly on your phone.
🔧 Настройка
Step 1: Create a Telegram Bot
- Open Telegram and search for @BotFather
- Send
/newbot - Choose a name (e.g.,
Monitron Alerts) - Choose a username (e.g.,
monitron_alerts_bot) - Copy the Bot Token (looks like
110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw)
Step 2: Get Your Chat ID
- Start a chat with your new bot (click the link BotFather gives you)
- Send any message to the bot
- Open this URL in your browser (replace
YOUR_BOT_TOKEN):https://api.telegram.org/botYOUR_BOT_TOKEN/getUpdates - Find your
chat.idin the JSON response
к сведению
For group notifications, add the bot to a group, send a message in the group, then check getUpdates. Group chat IDs start with a negative number (e.g., -1001234567890).
Step 3: Configure Global Settings
Go to Admin → Settings → Notification Providers → Telegram:
| Настройка | Значение |
|---|---|
| Bot Token | Your bot token from BotFather |
Step 4: Add to Contact
| Настройка | Значение |
|---|---|
| Channel | Telegram |
| Chat ID | Your chat ID |
📨 Формат сообщения
Monitron sends Markdown-formatted messages with monitor name, status, error details, and timestamp.
💡 Советы
- Mute non-critical channels: Create separate Telegram groups for different severity levels.
- Pin the bot: Pin the Monitron bot chat for quick access.
- Telegram bots can't message you first — you must start the conversation!