Skip to content

Methodologies

Elimination

Focus on one part at a time, starting with the most likely suspect. Clear it or find the fault, then move to the next, until the root cause is found.

Also known as: the process of elimination. The ranked suspect list and the test log described here are this site's own way of working.

How it works

  1. List the suspects: every part that could produce the symptom.
  2. Rank them by how likely each is. Where two are equally likely, test the cheaper one first.
  3. Take the top suspect and test only that one.
  4. Record the result: cleared, with the evidence, or fault found.
  5. Move to the next suspect. Do not change anything else in the meantime.
  6. When you find a fault, confirm it. Fix it and check the symptom goes. If it is safe, reintroduce it and check the symptom returns.

When to use it

  • There are several plausible causes and each can be tested on its own.
  • You know the system well enough to rank the suspects.
  • You need a record of what was ruled out, for a handover or a report.

When another approach is better

Worked example

Illustrative example

Users cannot reach an application. The suspect list, in order of likelihood, with a log of what each test showed:

Suspect         Test                          Result
DNS             dig +short app.example.com    Cleared: resolves to 198.51.100.20
Network         nc -vz 198.51.100.20 443      Cleared: connection succeeds from the office
Firewall rule   review rules for port 443     Fault found: blocked from the user subnet
Application     not checked
Database        not checked

The work stops at the third suspect. The last two were never tested, and the log says so. After the rule is corrected, a user on that subnet confirms the symptom is gone.

Watch for

  • Clearing a suspect with a weak test. A cleared suspect should have evidence, not an impression.
  • A suspect list that is missing the real cause. If every suspect is cleared, widen the list rather than retest.
  • Ranking by habit. "It is usually DNS" is a reason to test DNS first, not to skip the others.
  • Changing two things at once. You will not know which one mattered.

Related methodologies

Sources

$ eliminate suspects -> root cause

  1. Suspect 1 DNS dig +short app.example.com ✓ Cleared
  2. Suspect 2 Network nc -vz 198.51.100.20 443 ✓ Cleared
  3. Suspect 3 Firewall rule review rules for port 443 Blocked from the user subnet. This is the cause. ✕ Fault found
  4. Suspect 4 Application not tested • Not checked
  5. Suspect 5 Database not tested • Not checked
The worked example. Suspects are listed most likely first, and the work stops when the fault is found.

In practice

Examples and contributions

Entries appear here when a contributor tags them with this methodology.