Zum Hauptinhalt springen

โœˆ๏ธ Telegram

Telegram is one of the fastest notification channels โ€” messages arrive almost instantly on your phone.


๐Ÿ”ง Einrichtungโ€‹

Step 1: Create a Telegram Botโ€‹

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Choose a name (e.g., Monitron Alerts)
  4. Choose a username (e.g., monitron_alerts_bot)
  5. Copy the Bot Token (looks like 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw)

Step 2: Get Your Chat IDโ€‹

  1. Start a chat with your new bot (click the link BotFather gives you)
  2. Send any message to the bot
  3. Open this URL in your browser (replace YOUR_BOT_TOKEN):
    https://api.telegram.org/botYOUR_BOT_TOKEN/getUpdates
  4. Find your chat.id in the JSON response
info

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:

EinstellungWert
Bot TokenYour bot token from BotFather

Step 4: Add to Contactโ€‹

EinstellungWert
ChannelTelegram
Chat IDYour chat ID

๐Ÿ“จ Nachrichtenformatโ€‹

Monitron sends Markdown-formatted messages with monitor name, status, error details, and timestamp.


๐Ÿ’ก Tippsโ€‹

  • 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!