A runbook is a documented, step-by-step procedure for carrying out a specific operational task or responding to a specific known problem. In IT operations, runbooks tell the engineer on call exactly what to check and what to do, so that a routine task or a familiar failure is handled the same way by whoever is awake.
This page is about runbooks for IT infrastructure and operations: the procedures that SREs, DevOps engineers and system administrators use to run servers, databases, networks and applications. It explains what a runbook contains, shows a complete example, compares runbooks with playbooks and SOPs, and then deals with the question most runbook guides skip: what happens when the failure is one that nobody wrote a runbook for.
In short:
- A runbook is a procedure for one known situation: one task or one failure, with exact steps, commands, checks and an escalation path.
- Runbooks come in three forms: manual, semi-automated and automated.
- A playbook is broader: it coordinates people and decisions across a whole kind of incident. An SOP is a formal, approved procedure, often for compliance.
- A runbook only exists for a failure someone has already understood. The incidents that hurt most are the ones nobody anticipated, in systems that changed since the runbook was written.
- For those, the answer is not more runbooks. It is evidence: seeing what was abnormal and what changed before anyone forms a theory. Netdata does this with zero playbooks.
What is a runbook?
The word comes from the binders that operators of early computer rooms kept next to the machines: the book of how to run the system. The idea has not changed. A runbook captures what an experienced engineer would do, so that a less experienced one can do it at 3am without calling them.
What is the purpose of a runbook?
- Consistency. The task is done the same way every time.
- Speed. Nobody works out the steps again under pressure.
- Less dependence on individuals. Knowledge stops living in one person’s head.
- Safer changes. Risky commands come with their preconditions and their rollback.
- A base for automation. A procedure that is written down and stable can be scripted.
What are the types of runbooks?
Runbooks are usually classified by how they are executed.
| Type | Who or what executes it | Fits |
|---|---|---|
| Manual | An engineer follows written steps and runs each command | Rare tasks, risky changes, anything that needs judgment at each step |
| Semi-automated | Scripts do the steps; a person starts them and approves the risky ones | Frequent tasks with a decision in the middle, such as a failover |
| Automated | A system runs the whole procedure when a trigger fires | Frequent, well-understood, low-risk tasks, such as restarting a stateless worker |
They also differ by what triggers them:
- Operational runbooks for planned work: deploy, rotate a certificate, add a node, restore a backup.
- Alert or incident runbooks for a known failure: disk full, replication lag, queue backlog.
- Emergency runbooks for rare, high-impact events: region failover, disaster recovery.
Running runbooks through a tool that executes the steps is called runbook automation. It changes who types the commands. It does not change what a runbook is, or what it can cover.
What does a good runbook contain?
- Title and scope. The one situation it covers, and what it does not cover.
- Owner and review date. A runbook without an owner is already out of date.
- Trigger. The alert, request or condition that starts it.
- Impact. What happens if nobody acts, so that the reader can judge urgency.
- Prerequisites. Access, tools and permissions needed.
- Steps. Numbered, one action each, with the exact command and the expected result.
- Verification. How to confirm that it worked.
- Rollback. How to undo each risky step.
- Escalation. Who to call, and when to stop following the runbook.
The last line of point 9 is the one most runbooks leave out. A good runbook says where it ends.
What is an example of a runbook?
A complete alert runbook for a familiar problem:
RUNBOOK: Root filesystem above 90% on a Linux application host
Owner: platform team Last reviewed: 2026-11-01
Trigger: disk space alert (warning) on /
Impact: at 100% the application cannot write logs or state and stops
Needs: SSH access and sudo on the host
1. Confirm the alert.
df -h /
Expect: usage above 90%. If below, close as recovered.
2. Find what is using the space.
sudo du -xh / --max-depth=2 | sort -rh | head -20
3. If /var/log is the largest:
sudo ls -lhS /var/log | head
sudo logrotate -f /etc/logrotate.conf
4. If the systemd journal is the largest:
sudo journalctl --vacuum-size=1G
5. If du shows less than df reports, look for deleted files still open:
sudo lsof +L1
Restart the service that holds them.
6. Verify.
df -h /
Expect: usage below 80%.
7. Escalate to the service owner if:
- none of steps 3 to 5 applies, or
- usage returns above 90% within one hour.
Rollback: none. Step 4 permanently deletes old journal entries and cannot be undone.
It is short, every step has one action, and it says when to stop. It also shows the nature of every runbook: steps 3, 4 and 5 are three causes somebody has seen before. Step 7 is everything else.
Runbook vs playbook vs SOP: what is the difference?
| Runbook | Playbook | SOP | |
|---|---|---|---|
| Scope | One task or one known failure | A whole type of incident or scenario | A business or operational process |
| Answers | How do I do this? | Who does what, in what order, and how do we decide? | What is the approved way to do this? |
| Level | Technical: commands and checks | Coordination: roles, communication, decision points | Formal: policy, controls, sign-off |
| Reader | The engineer doing the work | The incident owner and the responders | Anyone who performs or audits the process |
| Changes | Whenever the system changes | When the organization or the process changes | Through formal review |
| Example | Fail over the primary database | Respond to a major outage of the payment service | Grant and revoke production access |
A playbook often refers to several runbooks. A major-outage playbook says who leads, who communicates and when to escalate, and it points to the failover runbook for the step where the database is switched.
The words are used loosely. Some teams call everything a playbook. Security teams use “playbook” for their incident response procedures. What matters is the distinction between a procedure for a known situation and the coordination around it.
How do you write a runbook?
- Start from something that happened. Write the runbook after you have done the task or fixed the failure at least once, from what you actually did.
- Write for the reader at 3am. Someone capable who does not know this system. Exact commands, expected output, no “check that everything is fine”.
- One situation per runbook. If it branches more than twice, split it.
- Test it. Have someone who did not write it follow it.
- Link it from the alert, so that it is one click from the page.
- Give it an owner and a review date, and update it after every incident where it was used or was wrong.
What can runbooks not cover?
Runbooks work for what they were written for. Their limits come from what they are.
1. Failures nobody anticipated. A runbook is written after someone has understood a failure. It is recorded hindsight. An alert works the same way: it tests a hypothesis someone formed in advance. But incidents are rarely caused by what someone wrote a check for, and even less often by what someone wrote a procedure for. The incident that takes three hours is the one with no runbook.
2. Systems that changed since the runbook was written. Services are split, moved, rescheduled and reconfigured every week. The runbook still says to check a host that was replaced, or a queue that now belongs to another team. A stale runbook is worse than none, because it is followed with confidence.
3. A runbook starts after the diagnosis. “Disk full: do this” only helps once you know the problem is a full disk. Most alerts do not name their cause. “API latency is high” has fifty possible causes. A runbook for it is a list of the five most common ones: check the database, check the cache, check the last deployment. That is a list of guesses in a fixed order. When the cause is the sixth thing, the engineer has spent twenty minutes ruling out five things that were fine.
4. The upkeep does not scale. The usual advice is a runbook for every alert. A monitoring system with a thousand alert rules then needs a thousand documents, each with an owner and a review date, each wrong after the next change. Nobody keeps a thousand runbooks current through weekly changes, so coverage shrinks to the alerts that fired recently.
5. AI playbooks have the same limit. Many AI tools for operations ask you to write playbooks first: for this type of alert, look at these dashboards and run these queries. That is a runbook with a different reader. It still only covers what someone anticipated, and it still has to be maintained.
None of this is an argument against runbooks. It is a statement about where they stop: at the edge of what the team already understands.
What replaces runbooks for unknown failures?
Evidence.
A runbook tells you what to do once you know what is wrong. For an unknown failure, the missing piece is knowing what is wrong. The usual way to find out is speculation: see the symptom, assume a cause, try to prove it, drop it, assume the next one. Experienced engineers speculate well. It is still guessing, and it depends on knowing the system.
The alternative is to see what the data says before anyone forms a theory: what was abnormal, what changed, on which components, in what order. That needs no knowledge of the failure in advance. It needs the analysis to have been done on everything, all the time.
This is what Netdata does. We call it evidence-first root cause analysis.
- A model for every metric. Netdata trains machine learning models for every metric it collects, with nothing to configure, and stores the anomaly verdict with every sample.
- A scoring engine. For any time window, Netdata scores every metric across the stack by how anomalous it was, by how much it changed against the period before, and by what changed together with it, and returns a ranked list. Of millions of metrics, only a few hundred show synchronized anomalies in the same seconds, so Netdata drills down to them instantly, however large the infrastructure is.
- AI that starts from that evidence. Netdata AI receives the few hundred metrics that were anomalous or changed, reasons over them, runs its own follow-up checks and writes the report in about two minutes: the cause and everything it affected.
One click. No prompts to write, no runbooks, no service maps, no instrumentation. You start it from any alert, or by asking a question, or for any time window. Nothing has to be written in advance, because nothing in this chain depends on someone having seen the failure before.
You don’t need to know the system to find the cause. Netdata has already scored every metric and shows what changed.
Does Netdata need runbooks or playbooks to find the cause?
No. Root cause in about two minutes. One click. Zero playbooks.
Netdata finds the root cause: the application responsible, what it did, and everything it affected. Nobody writes a procedure first, describes the services, draws a map or tells it where to look. The scoring engine has done the analysis before the AI starts, so a failure nobody has seen before is investigated the same way as a familiar one. Other AI SRE products hand an LLM raw logs. Netdata’s AI starts from ranked evidence.
It finds the incidents no alert rule anticipated, and those are the ones with no runbook waiting for them. It tells noise from an incident: in an environment full of alerts and anomalies, it says what is noise and what is real, so nobody follows a runbook for a problem that is not there.
The runbook nobody updated stops standing between you and the cause. The senior engineer stops being the only one able to find it: every engineer gets the answer, not only the one who knows the system. It works on day one, on one node or 100,000+: nothing to write, map, tag, instrument or maintain. Keep runbooks for the fix.
What does this look like in practice?
An illustrative case. The alert is “API latency high”. The runbook lists five checks: database, cache, last deployment, upstream provider, garbage collection. The engineer works through them in twenty-five minutes. All five are fine.
The evidence for the same window, ranked:
| Order | What turned anomalous or changed | Where |
|---|---|---|
| 1 | Write volume of the log shipper process, up sharply | Every API host, starting in the same minute |
| 2 | Disk write latency and I/O wait | The same hosts |
| 3 | Request duration of the API | The same hosts |
A configuration change had switched the log shipper to a verbose mode. It shares a disk with the API on every host. No runbook mentioned the log shipper, because it had never caused a problem before. The evidence put it first, because it was the first thing that changed.
After the incident, this becomes a good runbook: “API latency with high disk wait: check the log shipper”. That is the right order. Evidence finds the cause the first time. The runbook makes the second time faster.
Should you keep your runbooks?
Yes, for what they are good at.
| Situation | Use |
|---|---|
| A planned task: deploy, failover, restore, rotate | A runbook |
| A known failure with a known fix | A runbook, linked from its alert |
| Coordination of a major incident | A playbook |
| A failure nobody has seen before | Evidence-first root cause analysis, then write the runbook |
| An alert that “always fires” and nobody can explain | Evidence-first root cause analysis, then fix or remove the alert |
And stop writing runbooks whose only content is “look at these five dashboards”. That is investigation, and investigation should start from evidence, not from a fixed list.
Netdata adds two things when you want the investigation to go further. Connect GitHub, Jira and PagerDuty, or any MCP server, and Netdata AI takes the investigation into your code, tickets and incidents. And Infrastructure Knowledge and AI Memory ground its answers in your environment, with what your team knows about your systems.
FAQ
What is a runbook in simple terms?
A written set of steps for doing one operational task or fixing one known problem, so that anyone qualified can do it correctly.
What is the difference between a runbook and a playbook?
A runbook is a technical procedure for one task or one known failure. A playbook covers a whole kind of incident and coordinates people: roles, communication and decisions. A playbook often points to several runbooks.
What is the difference between a runbook and an SOP?
An SOP is a formal, approved procedure for a process, often required for compliance and changed through review. A runbook is a working technical document owned by the team that runs the system and changed whenever the system changes.
Who writes runbooks?
The team that operates the service, ideally the engineer who last handled the task or the failure, reviewed by someone who did not.
How often should runbooks be updated?
After every incident in which the runbook was used or turned out to be wrong, after every significant change to the system it describes, and on a fixed review date. An unreviewed runbook should be treated as unverified.
Do you need a runbook for every alert?
No. Write runbooks for alerts with a known cause and a known fix. For the others, a runbook can only list guesses. With Netdata, any alert is explained in about two minutes, one click away, so alerts no longer pile up for triage. See our guide on alert and incident triage.
Do AI tools for incident response need runbooks?
Many do: they need playbooks written per failure type before they are useful. Netdata needs none: its AI starts from evidence that the scoring engine prepared, not from instructions about where to look. You start an investigation with one click on an alert, with a question, or on a schedule. Teams that want investigations running on their own can talk to us about AI SRE.
How do you find the cause of a problem that has no runbook?
Start from what changed. Look at every metric that was abnormal or changed around the start of the problem, across all components, ordered by when it started. The first one is the lead. The Anomaly Advisor gives this list for any time window, built on anomaly detection for every metric, and the root cause is usually among the top 30 to 50 results.
Find the cause before you reach for the runbook
Every other investigation starts with a guess. Netdata starts with the evidence. You can install Netdata in the middle of a crisis and get real-time insights and AI-assisted troubleshooting immediately. Anomaly scores follow after about 15 minutes. Netdata is open source, and a Netdata Cloud trial is all it takes to run evidence-first root cause analysis on your own systems. Start a trial, or book a demo and bring the incident your runbooks did not cover.
Related guides: anomaly detection in monitoring, dependency mapping and incident management.








