Monitoring guide

Alerting and Incident Response

Collecting data is only half the job. This guide explains how to turn monitoring data into alerts that reach the right person, at the right time, with enough context to act.

What makes a good alert

An alert interrupts a person. It should only do that when a person needs to do something. Every alert should pass four tests:

  • Actionable: there is something the recipient can do about it.
  • Urgent enough: it matters now, or soon, not at some point in the future.
  • Accurate: it reflects a real problem rather than a blip.
  • Informative: it says what is wrong, where, since when, and links to graphs and a runbook.

Information that is interesting but not urgent belongs on a dashboard or in a daily report, not in someone's pocket at midnight.

A good alert message reads something like: CRITICAL db-lon-01 /var/lib/postgresql 93% used (threshold 90%) for 12 min. Growing 2 GB/hour. Est. full in 3h. Runbook: disk-full-postgres

Thresholds

Static thresholds

A fixed value such as "disk above 90%". Simple to understand and right for limits that genuinely do not move, like disk capacity or certificate expiry.

Dynamic or baseline thresholds

The system learns what is normal for each metric, often by time of day and day of week, and alerts when a value moves well outside that pattern. Ideal for traffic, CPU and response time, which naturally rise and fall through the day.

Rate of change and forecasts

Alerting on how quickly something changes, or when it is predicted to hit a limit, catches problems earlier than a fixed line. "Disk will be full in four hours" is more useful than "disk is at 80%".

Duration and hysteresis

Require a condition to persist, for example five minutes, before alerting. Then require it to drop clearly below the threshold, for example to 85% after alerting at 90%, before marking it resolved. This stops alerts flapping on and off when a value hovers around the line.

Severity levels

Consistent severity levels tell people how quickly to respond. Keep the number of levels small.

LevelMeaningExampleExpected response
InfoWorth recording, no action neededPlanned reboot completedNone, visible in history
WarningHeading towards a problemDisk at 82% and growingWithin working hours
CriticalService degraded or failure imminentDisk at 95%, database slowWithin minutes, at any hour
DownService unavailableWebsite not responding from any locationImmediately, escalate if not acknowledged

Avoiding alert fatigue

Alert fatigue happens when people receive so many alerts that they start ignoring them. It is one of the most common reasons monitoring fails in practice. Real problems get lost in the noise.

  • Use durations so brief spikes do not trigger alerts.
  • Set dependencies. If a switch fails, send one alert for the switch, not fifty for every server behind it.
  • Group and deduplicate. Combine related alerts into one incident.
  • Schedule maintenance windows so planned work does not page anyone.
  • Alert on symptoms, not every cause. Users care that the site is slow; high CPU is useful context in that alert rather than a separate page.
  • Review regularly. Any alert that fires often and is always ignored should be tuned, downgraded or deleted.
  • Track the numbers. Count alerts per week and the proportion that led to action. Aim to raise that proportion over time.

Routing and escalation

Alerts should go to the people who own the affected system. A database alert belongs with the database team, not the whole company.

  • Routing rules send alerts based on server group, tag, service or severity.
  • On call rotas make sure someone is responsible outside working hours, and that the burden is shared fairly.
  • Escalation policies notify a second person if the first does not acknowledge within a set time, for example 10 minutes, and then a manager after 20.
  • Acknowledgement tells everyone that somebody is handling the problem and stops repeat notifications.
  • Business hours routing sends warnings during the working day only, and critical alerts at any time.

Notification channels

ChannelStrengthsBest for
EmailUniversal, good for detail and recordsWarnings and summaries
SMSReaches people without data or appsCritical alerts out of hours
Phone callHardest to missEscalations and outages
Slack and Microsoft TeamsTeam visibility, discussion in contextShared awareness and collaboration
PagerDuty and OpsgenieRotas, escalation and acknowledgementFormal on call teams
WebhooksConnect to anything, including ticketing and automationCreating tickets, triggering scripts

Incident response

An incident is any unplanned interruption or reduction in the quality of a service. A clear, practised process makes incidents shorter and less stressful.

  1. Detect. Monitoring raises an alert, ideally before users notice.
  2. Acknowledge. Someone takes ownership so others know it is being handled.
  3. Triage. Assess impact and severity. Who is affected, and how badly?
  4. Communicate. Update stakeholders and, for customer facing problems, a status page.
  5. Mitigate. Restore service as quickly as possible, even with a temporary fix such as failing over, restarting or rolling back.
  6. Resolve. Fix the underlying cause properly.
  7. Review. Learn from it so it does not happen again.

Measuring response

These measures show whether monitoring and response are improving over time.

MeasureMeaningHow monitoring helps
MTTDMean time to detect: from a problem starting to it being noticedShort check intervals and good coverage
MTTAMean time to acknowledge: from alert to someone taking ownershipClear routing and escalation
MTTRMean time to resolve (or recover): from start to service restoredContext in alerts, history and runbooks
MTBFMean time between failures: how long things run without incidentTrends that let you fix weaknesses early

Runbooks

A runbook is a short document attached to an alert that explains what it means and what to do. Good runbooks let anyone on call respond confidently, not just the person who built the system. Include:

  • What the alert means and why it matters
  • How to check whether it is a real problem
  • The usual causes and the steps to fix each
  • Who to escalate to and when
  • Links to dashboards, logs and related documentation

Post incident reviews

After any significant incident, hold a short, blameless review. The aim is to improve systems and processes, not to find someone at fault. Record a timeline, the impact, the root cause and contributing factors, what went well, what did not, and clear actions with owners and dates. Often an action will be a new or improved alert, so that next time the problem is caught earlier.

Next: bring it all together with our server monitoring best practices.

Start monitoring your servers in under five minutes

Free for up to three servers. No card required. Cancel or upgrade whenever you like.