Uptime and certificate alerts in Telegram
hostnag messages a Telegram bot for every alert, with links inline.
Included on Pro and Business.
Down
- Message
[Critical] https://www.example.com/ is down Down from 2 of 3 locations (US East, Frankfurt). Last error: unexpected_status: 503. Group: Client A Monitor: Marketing site Target: https://www.example.com/ Down since: 12 Sept 2026, 07:58 UTC Locations: US East, Frankfurt Status code: 503 Last error: unexpected_status: 503 Acknowledge Open monitor
- Length
- 348 of 4096 characters
Set up
- 01
Create a bot
Message @BotFather, create a bot, and copy the token it gives you.
- 02
Add the bot and the chat id
Add the bot to the chat, then paste its token and the chat id; a group chat id starts with a minus, or use a public @channel name.
What arrives
Rendered by the same code that sends it.Back up
- Message
[Recovered] https://www.example.com/ is back up after 1 h 15 min https://www.example.com/ answered again from every location. It was down for 1 h 15 min. Group: Client A Monitor: Marketing site Target: https://www.example.com/ Down since: 12 Sept 2026, 07:58 UTC Duration: 1 h 15 min Acknowledge Open monitor
- Length
- 312 of 4096 characters
Recovered
- Message
[Recovered] api.example.com certificate renewed The certificate for api.example.com is healthy again and now expires 10 Dec 2026. Group: Client A Monitor: API Target: api.example.com Expires: 10 Dec 2026 Issuer: Let's Encrypt R11 Acknowledge Open monitor
- Length
- 258 of 4096 characters
Routing
Every alert follows the group's alert policy: which channels a route goes to and the minimum severity each one takes, in bands of critical, warning and info. Quiet hours hold non-critical alerts for email, Slack, Discord, SMS, Teams and Telegram until the window closes, then deliver one digest; critical alerts are never held, and webhook, PagerDuty and Opsgenie always deliver right away since they hand off to another machine, not a person. A maintenance window on a group or a monitor suppresses alerts for its duration while checks keep running. An alert nobody acknowledges escalates through up to three tiers, each after its own number of minutes, and can be acknowledged with one tap from the alert message itself.
Questions
What if my chat is a public channel instead of a group?
Use its @name instead of a numeric chat id; hostnag accepts either.
Are links clickable in the message?
Yes. Open monitor is always a plain link; Acknowledge appears the same way, but only when the alert can be acknowledged.
Watches
Add a host. Hear about it in Telegram.
Start free