Services

Resources

Company

/

Runbook

Runbook

A runbook is a documented procedure for a specific operational task or alert. It tells the responder how to check what is wrong, how to fix or mitigate it, and when to escalate. A good runbook lets any engineer on the on-call rotation handle a problem without the one person who knows the system. It is also called a playbook.

How it works

Each alert links to its runbook. A runbook for "Postgres disk above 90%" might contain:

  1. A short note on what the alert means and how users are affected.

  2. Run df -h to confirm the usage, then look for large write-ahead log (WAL) or temporary files.

  3. If old files can go, remove them safely. If not, grow the volume by 50 GB.

  4. If usage passes 95%, page the database owner.

After each incident, update the runbook with what was missing. Steps that run the same way every time are candidates for automation, which reduces toil.

Why it matters in production

With the runbook open, the on-call engineer at 2 a.m. runs df -h and grows the volume instead of guessing, which cuts mean time to recovery. The database owner is paged only past 95%. A runbook that still lists a command that no longer works sends the responder the wrong way, so review changes to it in pull requests, the same as code.

See also

On the One2N blog

Further reading

A runbook as a table: an alert, Postgres disk > 90%, links to a runbook with four rows. Means: what broke and the user impact. Check: df -h for WAL and temp files. Mitigate: remove files or add 50 GB. Escalate: page the DB owner at 95%. A green loop around the table reads update after each incident, and a red line below warns that a stale runbook is dangerous.

Putting this into practice?

Talk to One2N about our SRE consulting

Talk to One2N about our SRE consulting