Skip to content

Alerts, on-call and escalation

Channels, who is alerted, on-call rotations, escalation policies and acknowledging incidents.

When an incident opens, its monitor’s escalation policy decides who is notified, on which channels and when. Escalation stops as soon as anyone acknowledges.

An incident can also come from your own tools — Alertmanager, Grafana, Zabbix, a script — through an alert source, and then it is alerted the same way, through the source’s team. See Alert sources.

Channels

  • E-mail and Telegram (bot messages to your own Telegram chat, connected in Settings → Profile → Notifications) on every plan
  • SMS and phone calls on every plan, within a monthly fair-use quota, sent from Heimdall’s GSM gateways
  • Slack, Microsoft Teams (a card in a channel, through the channel's workflow — Workflows → “Post to a channel when a webhook request is received”) and webhooks (a JSON POST signed with HMAC-SHA256) on Pro, Team and Business

On-call → Integrations shows each channel’s latest alert of the last 30 days: delivered, or not delivering since the first failure — with the HTTP status or the connection’s problem. A Slack, Microsoft Teams or webhook channel hears every incident in its scope — see Teams below — when it opens, when somebody acknowledges it and when it is resolved, whatever the escalation policy says: the incidents of a policy that pages only the on-call person are in the channel too. Policy steps only add to that. A step that names a channel brings it that policy’s incidents outside its scope, from that step on, and a later step that names it or alerts everyone posts its escalation there as well. Planned maintenance mutes a channel like everybody else: an incident that opens inside a window reaches it when the window ends with the monitor still down — or earlier, when somebody snoozed it inside the window and the snooze runs out: its reminder goes to the channel as to the people. “Send test” posts straight to the channel, whatever the policies say.

Who is alerted

The people Heimdall alerts are the members of your organisation (Settings → Users & roles). Nobody is added to a separate contact list, and each member sets their own phone number, Telegram and quiet hours in Settings → Profile → Notifications. On-call → People shows who can be reached how.

Without rules of your own there is a default, and it always applies: everybody who is alerted in the organisation gets SMS, e-mail and Telegram at once, then a phone call after 5 minutes if nobody has acknowledged — and once more 2 minutes later if that call is not answered. An admin can switch “In everyone” off (On-call → People) for a member who has a login but need not be woken — an accountant, say. That is for monitors of critical severity, the default: a monitor you mark major or minor (Edit → Alerts → Severity) reaches people by e-mail and Telegram only, unless a policy step says its SMS and calls go out for it too.

That default is a policy you can see under On-call → Escalation policies (“Default policy”). With Team and Business an admin can change it like any other policy — the on-call person first, say — and every monitor without a policy of its own follows the change; “Back to the built-in rule” undoes it. On a plan without on-call the built-in rule applies.

On-call → Escalation policies: the default policy, built in, followed by the monitors without a policy of their own; at once everyone gets SMS, e-mail and Telegram, after 5 minutes a phone call; SMS and calls for critical incidents only.
The default policy: what a monitor without a policy of its own follows.

A weekly on-call rotation resolves “primary” and “secondary” to real people at the moment an alert fires. Rotations and escalation policies come with Team and Business; an account may have as many rotations as teams — one per team. A rotation pages nobody by itself: a policy that uses it, with a step for the on-call primary or secondary, does — On-call → Rotations says which policies use each rotation, and warns about one that none does. The on-call primary and secondary, and a person a policy step names, are reached whatever their “In everyone” switch says: that switch only decides who “everyone” is. On-call → People shows, for each person, where they are alerted anyway, and switching such a person off says so first.

Teams

A team — Backend, Payments, Infrastructure — makes a monitor alert the people who look after it instead of everybody, on every plan. How teams are made, what a team’s monitor alerts, a team’s own policy, leads and channels: see Teams.

Escalation policies

A policy is an ordered list of steps. Each step waits for its delay, then notifies its targets on its channels. The channels are how people are reached — SMS, call, e-mail, Telegram. A Slack, Microsoft Teams or webhook channel needs no step: it hears the incidents in its scope anyway. A step can name one as a target of its own, to bring it in at that point — below, a management channel outside the incident’s scope (integration:management) hears of it when nobody has acknowledged it after 10 minutes.

Escalation policy
name: Production
steps:
  - after: 0m
    targets: [primary]
    channels: [sms]
  - after: 5m
    targets: [primary]
    channels: [call]
  - after: 10m
    targets: [secondary, integration:management]
    channels: [sms, call]
  - after: 20m
    targets: [team:backend]
    channels: [sms, email]
repeat: 2
The escalation policy form: the rotation the policy uses and how often it repeats; step 1 alerts the on-call primary at once by SMS and e-mail; step 2 calls the primary after 5 minutes.
An escalation policy in the app: every step says how long to wait, who is alerted, and on which channels.

Acknowledge, snooze, resolve

  • Acknowledge stops escalation; from the dashboard, the API or by replying ACK <code> to the SMS
  • Snooze pauses escalation for N minutes, for example SNOOZE 482193 30. Until then the incident counts as acknowledged: snoozed while it was open, the channels and people an acknowledgement tells hear that it was snoozed, and until when
  • Resolve closes the incident, and everyone who was alerted is told it was closed by hand — “Resolved” is only ever said of a monitor that recovered. Resolving does not end an outage: if the monitor is still down, the message says so, and its next failed check opens a new incident and the alerts start again. To stop the escalation and keep the incident open, acknowledge or snooze it instead. Incidents also resolve automatically when the monitor recovers
  • Pausing or deleting a monitor resolves its open incident too — the app says so before it does —, and those alerted are told that its monitoring stopped and whether it was still down, not that it recovered. The status pages it was published on post their “Resolved” update and e-mail their subscribers, unless you untick them. Where no pages are shown to untick — an SMS RESOLVE, the mobile app, an API token — a public incident of a monitor that is still down stays open until the monitor recovers, and then closes with its “Resolved”
  • When monitoring stops by itself — the plan’s limit pauses a monitor at the end of a trial or of a lapsed subscription, the account is closed — nobody is told “Resolved”, and an incident published on a status page stays open there until you close it: nothing recovered. Its “Resolved” update can be posted even when the organisation or the page is read-only. The Slack, Teams and webhook channels that heard the incident get the “Monitoring stopped” notice too, even on a plan without them — that one notice, nothing after it. The plan’s limit pauses monitors that are up before the ones that are down
An incident’s page: the buttons Acknowledge, Snooze, Resolve and Publish to status page; the timeline of alerts and escalations; the ack code for answering by SMS; and the check that failed, with the condition it did not meet.
An open incident: what you can do with it, who was alerted and when, and the check that failed.