Skip to main content

Notifications

Notification allows you to receive alerts on a preferred channel when a particular set of events occur.

CategoryeventDescription
Health Checkcheck.passedwhen a previously failing check passes
check.failedwhen a previously passing check fails
Componentcomponent.status.<status>When a component's status changes

Examples

http-check-passed.yaml
events:
- check.passed
title: Check as {{.check.status}}
template: 'Canary: {{.canary.name}} Message: {{.status.message}} '
filter: "check.type == 'http'"
person_id: d87243c9-3183-4ab9-9df9-c77c8278df11
check-failure.yaml
events:
- check.failed
title: Check as {{.check.status}}
template: 'Canary: {{.canary.name}} Error: {{.status.error}}'
filter: "check.type == 'http'"
custom_services:
- connection: connection://slack://<api-token>@health-check-notifications
name: Slack-health-checks

Spec

FieldDescriptionSchemeRequired
eventsEvents of notification.[]stringtrue
titleTitle of notification.stringfalse
templateTemplate of notification.stringfalse
filterFilter of notification.stringfalse
person_idPerson ID of notification.uuidfalse
team_idTeam ID of notification.uuidfalse
propertiesProperties of notification.map[string]stringfalse
custom_servicesCustom services of notification.JSONfalse
info

One of person_id, team_id or custom_services is required.

Supported Channels

Mission control uses Shoutrrr under the hood to deliver notifications. Most of the services in the Shoutrrr are supported. Here's the complete list:

ServicesURL Format
Barkbark://devicekey@host
Discorddiscord://token@id
Emailsmtp://username:password@host:port/?from=fromAddress&to=recipient1[,recipient2,...]
Gotifygotify://gotify-host/token
Google Chatgooglechat://chat.googleapis.com/v1/spaces/FOO/messages?key=bar&token=baz
IFTTTifttt://key/?events=event1[,event2,...]&value1=value1&value2=value2&value3=value3
Joinjoin://shoutrrr:api-key@join/?devices=device1[,device2, ...][&icon=icon][&title=title]
Mattermostmattermost://[username@]mattermost-host/token[/channel]
Matrixmatrix://username:password@host:port/[?rooms=!roomID1[,roomAlias2]]
Ntfyntfy://username:password@ntfy.sh/topic
OpsGenieopsgenie://host/token?responders=responder1[,responder2]
Pushbulletpushbullet://api-token[/device/#channel/email]
Pushoverpushover://shoutrrr:apiToken@userKey/?devices=device1[,device2, ...]
Rocketchatrocketchat://[username@]rocketchat-host/token[/channel| @recipient]
Slackslack://[botname@]token-a/token-b/token-c
Teamsteams://group@tenant/altId/groupOwner?host=organization.webhook.office.com
Telegramtelegram://token@telegram?chats=@channel-1[,chat-id-1,...]
Zulip Chatzulip://bot-mail:bot-key@zulip-domain/?stream=name-or-id&topic=name

For more details please visit: https://containrrr.dev/shoutrrr/0.8/services/overview/