Pipe Alertmanager alerts into Telegram
Prometheus + Alertmanager only ship alerts to email or PagerDuty. The team lives in Telegram and you need a bridge without spinning up another service.
Recipe
yaml
# alertmanager.yml — Telegram receiver via the official telegram_configs.
# Bot token from @BotFather, chat_id from getUpdates after /start in the chat.
route:
group_by: ['alertname']
receiver: 'telegram-default'
routes:
- matchers: [severity="critical"]
receiver: 'telegram-oncall'
receivers:
- name: 'telegram-default'
telegram_configs:
- bot_token: '<BOT_TOKEN>'
chat_id: -1001234567890
parse_mode: 'HTML'
message: '{{ .CommonAnnotations.summary }}'
- name: 'telegram-oncall'
telegram_configs:
- bot_token: '<BOT_TOKEN>'
chat_id: -1001111222333
parse_mode: 'HTML'
Same thing in Enterno.io
If you do not need full Prometheus yet, point a URL at an Enterno monitor — the Telegram bot links with a single /link command. No alertmanager, no webhook server.
Related recipes
Ensure your site returns 2xx every minute, alert to Slack/Telegram on failure.
Minimal script that checks an SSL certificate and alerts 14 days before expiry.
Detect the moment a replica falls behind the primary by more than 10 seconds.