Integrations
Integrations let you send notifications about monitor and report events to various messengers and alerting systems.
Supported integrationsβ
| Integration | Description |
|---|---|
| Telegram | Notifications to a Telegram chat or group |
| Slack | Notifications to a Slack channel via Webhook |
| Discord | Notifications to a Discord channel via Webhook |
| VK Teams | Notifications to VK Teams (formerly MyTeam) |
| Google Chat | Notifications to Google Chat via Webhook |
| Webhook | Arbitrary HTTP Webhook |
Telegramβ
Send notifications to a Telegram chat or group.
Setupβ
- Open Telegram and find the bot @TunaAmBot
- Start a dialog with the bot using
/start - For a group chat β add the bot to the group and run
/start@TunaAmBot - The bot will send a confirmation link
- Open the link β the integration will be created automatically
Parametersβ
| Parameter | Description |
|---|---|
| Name | Integration name for identification |
| Chat ID | Chat identifier (filled in automatically) |
Slackβ
Send notifications to a Slack channel via Incoming Webhook.
Setupβ
- Go to your Slack workspace settings
- Create a new Incoming Webhook: Slack documentationOpens in a new tab
- Copy the webhook URL
- In Tuna, create a Slack integration and paste the URL
Parametersβ
| Parameter | Description |
|---|---|
| Name | Integration name for identification |
| Channel | Channel name (e.g., #alerts) |
| Webhook URL | Incoming Webhook URL |
Discordβ
Send notifications to a Discord channel via Webhook.
Setupβ
- Open the Discord channel settings
- Go to Integrations β Webhooks
- Create a new Webhook: Discord documentationOpens in a new tab
- Copy the webhook URL
- In Tuna, create a Discord integration and paste the URL
Parametersβ
| Parameter | Description |
|---|---|
| Name | Integration name for identification |
| Webhook URL | Discord Webhook URL |
VK Teamsβ
Send notifications to VK Teams (formerly MyTeam).
Setupβ
- Open VK Teams and find the bot @metabot
- Create a new bot and obtain a token
- Get the Chat ID of the chat where notifications will be sent
- In Tuna, create a VK Teams integration
More info: Getting a VK Teams tokenOpens in a new tab
Parametersβ
| Parameter | Description |
|---|---|
| Name | Integration name for identification |
| Chat ID | Chat identifier |
| Token | Bot token (format: 000.0000000000.0000000000:0000000000) |
Google Chatβ
Send notifications to Google Chat via Webhook.
Setupβ
- Open the desired chat in Google Chat
- Go to chat settings β Webhooks
- Create a new Webhook: Google documentationOpens in a new tab
- Copy the webhook URL
- In Tuna, create a Google Chat integration and paste the URL
Parametersβ
| Parameter | Description |
|---|---|
| Name | Integration name for identification |
| Webhook URL | Google Chat Webhook URL |
Webhook (Generic)β
Send notifications to an arbitrary HTTP endpoint.
Setupβ
- Create an endpoint on your server to receive notifications
- In Tuna, create a Webhook integration and specify the URL
Parametersβ
| Parameter | Description |
|---|---|
| Name | Integration name for identification |
| Webhook URL | URL of your endpoint |
Request formatβ
When an event occurs, Tuna sends a POST request with a JSON body:
{
"monitor_id": "2aB3cD4eF5gH6iJ7kL8m",
"monitor_name": "My Service",
"event_type": "fail",
"message": "Monitor is down",
"timestamp": "2024-01-15T10:30:00Z"
}
Testing an integrationβ
Before saving an integration, you can send a test message to verify the configuration is correct.
- Fill in the integration parameters
- Click the Test button
- Check that the message arrives in the target service
- Save the integration
Use in contactsβ
Once an integration is created, it can be added to a contact group. When a monitor event occurs, notifications will be sent to all integrations added to the selected contact groups.