Telegram
YipYap sends Telegram alerts through its own Telegram bot. You do not create a bot. You add the YipYap bot to a chat and link the chat with a one-time code. Alerts arrive with Acknowledge and Resolve buttons that work from Telegram.
- Go to Settings > Channels and click Add Channel.
- Enter a Name, for example “Ops Telegram”.
- Set Type to Telegram. The form names the YipYap bot, links to it, and shows a command with a one-time code, for example
/link@YipYapAlertsBot K7Q2XPM4RT. The command names the bot, so it reaches the YipYap bot even in a group with other bots. - Add that bot to the group or channel that should receive alerts. For alerts to you alone, open a direct chat with the bot instead.
- Send the command exactly as shown, with its code, in that chat. Copy puts it on your clipboard.
- The bot replies in the chat to confirm the link.
- Back in YipYap, the channel shows the chat’s title. Save the channel.
- Click Test on the new channel in the list. A sample alert should appear in the chat.
The code works once and only for your organization. It expires after 15 minutes. If it expires before you use it, open the form again for a new code. A chat can only be linked by someone who can post in it, so nobody can point alerts at a chat they are not in.
To move the channel to a different chat, edit it and link the new chat with a fresh code.
Acknowledging alerts
Section titled “Acknowledging alerts”Each alert has two buttons:
- Acknowledge acknowledges the alert and stops escalation.
- Resolve resolves the alert.
After a click, the bot adds “Acknowledged by” or “Resolved by” and the person’s Telegram username to the message, and removes the buttons.
Message content
Section titled “Message content”Each alert message shows the severity, the monitor name and the alert message. When they are set on the monitor or service, it also shows the runbook link, the service name, the status of the service’s dependencies and its quick links.
Troubleshooting
Section titled “Troubleshooting”- The bot does not reply to
/link. Check that you added the bot named in the channel form, and that it is still a member of the chat. In a channel (not a group), the bot must be an administrator to read and post messages. - The bot says the code is not valid. The code was already used or has expired. Open the form again for a new code.
- Test fails after the chat changed. If the group was upgraded to a supergroup or the bot was removed, link the chat again with a fresh code.
- Telegram is missing from the type list. Your organization is on the Free plan. See Plans.
Self-hosted servers
Section titled “Self-hosted servers”YipYap FOSS sends Telegram alerts through a Telegram bot that the server operator runs. The operator sets YIPYAP_TELEGRAM_BOT_TOKEN, YIPYAP_TELEGRAM_BOT_USERNAME and YIPYAP_TELEGRAM_WEBHOOK_SECRET, and registers https://<server>/api/v1/webhooks/telegram as the bot’s webhook with Telegram’s setWebhook call, passing the same secret as secret_token. The setup steps above are the same, with that bot in place of the YipYap bot. The link command names the operator’s bot, for example /link@example_alerts_bot K7Q2XPM4RT.