How to Set Up Telegram Alerts for Server Monitoring
Get instant Telegram notifications when your server or website goes down. Step-by-step guide to creating a Telegram bot and connecting it to uptime monitoring.
Telegram bots are one of the fastest ways to get push notifications on your phone. No app to install (you already have Telegram), no email delays, no Slack workspace required. Just instant messages to your phone.
Here's how to set up Telegram downtime alerts.
Step 1: Create a Telegram bot
- Open Telegram and search for @BotFather
- Send
/newbot - Choose a name for your bot (e.g. "PoppaPing Alerts")
- Choose a username (e.g.
poppaping_alerts_bot— must end inbot) - BotFather will give you an API token that looks like
123456789:ABCdefGHI_jklMNOpqrSTUvwxYZ
Save this token — you'll need it in a moment.
Step 2: Get your chat ID
The bot needs to know where to send messages. You need your chat ID.
For personal alerts:
- Send any message to your new bot in Telegram (just say "hi")
- Open this URL in your browser, replacing
YOUR_TOKENwith the token from Step 1:https://api.telegram.org/botYOUR_TOKEN/getUpdates - Look for
"chat":{"id":123456789}in the response — that number is your chat ID
For group alerts:
- Add your bot to the Telegram group
- Send a message in the group
- Check the same
getUpdatesURL — the chat ID for groups is negative (like-987654321)
Step 3: Add Telegram to PoppaPing
- Log in to PoppaPing and go to Settings
- Scroll to Alert Channels
- Select Telegram as the type
- Enter the Bot Token from Step 1
- Enter the Chat ID from Step 2
- Click Add Channel
Step 4: Assign to monitors
Edit your monitors and make sure the Telegram channel is checked under Alert Channels. New monitors will include it by default.
What the alerts look like
Telegram alerts come through as formatted messages:
When a site goes down:
Your Site is DOWN https://example.com Error: Connection timeout after 10s
When it recovers:
Your Site is back UP https://example.com Downtime: ~4 min
Messages arrive as push notifications on your phone, desktop, or wherever you have Telegram open.
Why Telegram is great for on-call alerts
Push notifications are instant. Unlike email which might batch or delay, Telegram messages hit your phone immediately.
Works everywhere. Phone, tablet, desktop, web — Telegram syncs across all devices. You'll get the alert wherever you are.
Free and unlimited. No per-message costs, no rate limits you'll realistically hit, no premium tiers.
Silent hours built in. Telegram lets you mute conversations on a schedule. You can mute the bot during off-hours and unmute for on-call shifts.
Group support. Send alerts to a team group chat so the whole on-call team sees it simultaneously.
Tips
Create a dedicated group. For team alerting, create a "Server Alerts" group and add the bot there. Everyone in the group sees alerts. People can leave/join the group as on-call rotations change.
Pin the bot. Pin your alerts bot or group to the top of your Telegram chat list so it's always visible.
Combine with other channels. Telegram is great for phone notifications, but pair it with email for a paper trail or a webhook for integration with your incident management tools.
Test the integration. Send a test by temporarily pointing a monitor at a non-existent URL. Verify the Telegram message arrives, then fix the URL.
Troubleshooting
Bot not sending messages? Make sure you've sent at least one message to the bot first — Telegram bots can't initiate conversations.
Wrong chat ID? The getUpdates endpoint only shows recent messages. If it's empty, send another message to the bot and check again.
Group messages not working? Make sure the bot has permission to send messages in the group. Some groups restrict non-admin bots.
Ready to stop guessing if your site is up?
PoppaPing monitors your sites from 10 regions on 4 continents. Get started free.
Start Monitoring Free