How to write a runbook for an alert: a template for the 3 a.m. responder

A short, copyable runbook template for a single alert: what it means, how to check impact, first actions, rollback steps and who to escalate to, written for a tired reader.

· 6 min read · By the Spot Downtime team

An alert wakes someone up. They are tired, possibly new to the system, and the person who built it is asleep. The alert says what is broken. It does not say what to do. A runbook closes that gap: a short page attached to one alert that tells the responder where to look and what to try first.

Good runbooks are boring and small. This post gives a template you can copy, an example filled in, and rules for keeping them from going stale.

What a runbook is, and is not

A runbook is a checklist for one specific alert. It is not architecture documentation, a postmortem or a general troubleshooting essay. If it needs scrolling, it is too long for 3 a.m.

Write one for every alert that can page a human. If you cannot write down what the responder should do, the alert probably should not page anyone yet: either make it actionable or send it somewhere quieter. See how to cut false alarms.

The template

text
# <Alert name>

Owner: <team or person>          Last reviewed: <date>

## What this means
One or two sentences. What the check does and what failing means for customers.

## Impact
Who is affected and how. Is revenue or data at risk? Severity level if it stays down.

## Check first (2 minutes)
1. Is it real? <how to confirm, e.g. open URL, run command, check from another location>
2. Is a deploy or change recent? <where to look>
3. Is a dependency down? <links to status pages of provider, DB, DNS>

## Likely causes and fixes
- <Cause> -> <symptom to look for> -> <command or action>
- <Cause> -> ...

## If you can't fix it quickly
- Roll back: <exact command or link>
- Failover or disable: <exact steps>
- Post on the status page: <link and template>

## Escalate
After <N> minutes, or if <condition>: contact <name or role> via <channel>.

## Links
Dashboard, logs, repository, deploy pipeline, related runbooks.

A filled-in example

text
# Checkout API health check failing

Owner: payments team          Last reviewed: 2026-11-10

## What this means
GET /health on the checkout API returned a non-2xx status or timed out from
two locations. Customers cannot complete orders.

## Impact
Severity SEV1 if it lasts more than 5 minutes. Orders are being lost.

## Check first
1. Open https://api.example.com/health in a browser. Still failing?
2. Check the deploy channel. Was there a release in the last hour?
3. Check the payment provider's status page.

## Likely causes and fixes
- Bad deploy -> errors began right after a release -> roll back (below)
- Database connections exhausted -> logs show "too many connections"
  -> restart the app pods: kubectl rollout restart deploy/checkout
- Payment provider outage -> their status page shows an incident
  -> enable the "provider down" banner; nothing to fix on our side

## If you can't fix it quickly
- Roll back: kubectl rollout undo deploy/checkout
- Post on the status page using the "Major outage" template

## Escalate
After 15 minutes, page the engineering manager via the escalation policy.

## Links
Logs, dashboard and pipeline links go here.

Rules that keep runbooks useful

  • Put commands in, not descriptions. “Restart the service” sends a tired person hunting. sudo systemctl restart myapp does not. Copy-paste beats comprehension at 3 a.m.
  • Start with confirming it is real. Many alerts are a blip or a monitoring problem. The first step should be a quick way to tell. See monitor says down but the site works.
  • Order by likelihood. Put the cause that has happened five times before the one that has happened once.
  • Always include a safe way out. Rollback, failover or disabling a feature should be a single, tested step, not a paragraph of advice.
  • Say when to ask for help. A time limit gives permission to escalate. People hesitate to wake a colleague. A line saying “after 15 minutes, escalate” removes the decision.
  • Link it from the alert. A runbook nobody can find is no runbook. Put the URL in the alert message or the monitor's notes.

Keeping them current

A stale runbook is worse than none, because it sends people down the wrong path with confidence. Three habits help:

  • Fix the runbook during the incident review. The last section of a post-incident review should ask whether the runbook was right, and update it.
  • Show the last-reviewed date. Anything older than six months deserves a look.
  • Test it by having someone else follow it. A new team member walking through a runbook finds the missing step faster than its author ever will.

Automate the boring parts

If every runbook starts with the same three commands, script them. If the fix is always “restart X”, ask whether the system can restart X itself and only page when that fails.

Connect it to your alerts

Spot Downtime sends an alert when a check confirms a failure, and incidents are kept in the incident history with their reason and duration, which helps with the check-first step. Send critical monitors to a channel that can wake someone and route minor ones elsewhere. See alert escalation policies, the on-call handoff checklist and incident severity levels, which decide what each level triggers.

Get new guides by email

Practical posts on monitoring, outages, error fixes and on-call, when they're published. No spam.

Unsubscribe from any email with one click. See our privacy policy.

Keep reading