Telegram alerts
Get downtime and missed cron job alerts as Telegram messages — on your phone within moments, in a private chat, a group, or a channel.
The Telegram integration sends one message when an incident opens and one when it resolves. It is the quickest way to get push notifications for a solo developer or a small team that lives on their phones, with no extra app to install.
Alerts are sent by a bot you create and own, so WatchCat never gets access to your Telegram account. Setup takes four steps: create the bot, add it to WatchCat, put the integration in a notification channel, and assign that channel to your monitors.
Step 1 — create a Telegram bot and find the chat ID
- 1 Open Telegram and start a chat with @BotFather.
-
2
Send
/newbotand follow the prompts to name the bot. - 3 Copy the bot token BotFather replies with. Treat it like a password.
- 4 Add the bot to the group that should receive alerts, or open a direct chat with it and press Start. For a channel, add the bot as an administrator.
-
5
Find the chat ID: open the chat in Telegram Web and copy the number at the end of the address, for example
-1003516472609. Group and channel IDs are negative — keep the minus sign.
Step 2 — add a Telegram integration in WatchCat
- 1 Go to Integrations → New integration and select Telegram.
- 2 Paste the Bot token and the Chat ID, and give the integration a name.
- 3 Save, then click Send test alert on the integration's page to confirm the message arrives in Telegram.
If the test alert fails, the delivery log shows Telegram's answer. The usual causes are a bot that was never added to the chat (or never started in a direct chat) and a chat ID missing its minus sign.
Step 3 — add the integration to a notification channel
Monitors alert through notification channels, not through integrations directly. A channel bundles email recipients and any number of integrations, so one Telegram integration can serve as many monitors as you like. How notification channels work →
- 1 Go to Notification channels → New channel, or edit an existing one.
- 2 Under Integrations, check the Telegram integration you just created.
- 3 Save the channel.
Step 4 — assign the channel to monitors
Edit an uptime or cron monitor and check the channel under Notifications. From then on, an incident on that monitor alerts Telegram when it opens and again when it resolves.
What a Telegram alert contains
One message when an incident opens and one when it resolves — never a repeat on every failed check. The message is written to be acted on without opening a dashboard first:
Uptime monitor goes down
The monitored URL and check interval, the cause (for example a status code other than the expected one, a missing keyword or an invalid certificate), the regions that saw the failure, the HTTP response, how long it has been failing, a short excerpt of the response body, and links to the incident and the monitor.
Uptime monitor recovers
Total downtime, when it started, the current response, and the cause the incident opened with.
Cron job misses its schedule
The expected interval and grace period, how overdue the ping is, when it was expected, and when the last ping arrived.
Cron job pings again
How long it was overdue, when the ping arrived, and when the next one is expected.
Times are shown in your organization's timezone. The wording is the same in every chat integration, so a team split across tools reads the same alert.
See whether Telegram accepted the alert
Every request WatchCat sends is recorded on the integration's page: the outcome, the HTTP status, an excerpt of the response, the error if there was one, and how long it took. When an alert seems to be missing, you can tell whether Telegram refused it or it was never routed there. The log is kept for 7 days on Free, 30 days on Pro, and 90 days on Team.
Other integrations
A notification channel can hold several integrations at once, so chat, on-call and your own tooling can all hear about the same incident.
Related
Start monitoring in minutes
Free plan available. No credit card required.
Discord
Google Chat
ilert
incident.io
PagerDuty
Slack