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.
| Level | Meaning | Example | Expected response |
|---|---|---|---|
| Info | Worth recording, no action needed | Planned reboot completed | None, visible in history |
| Warning | Heading towards a problem | Disk at 82% and growing | Within working hours |
| Critical | Service degraded or failure imminent | Disk at 95%, database slow | Within minutes, at any hour |
| Down | Service unavailable | Website not responding from any location | Immediately, 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
| Channel | Strengths | Best for |
|---|---|---|
| Universal, good for detail and records | Warnings and summaries | |
| SMS | Reaches people without data or apps | Critical alerts out of hours |
| Phone call | Hardest to miss | Escalations and outages |
| Slack and Microsoft Teams | Team visibility, discussion in context | Shared awareness and collaboration |
| PagerDuty and Opsgenie | Rotas, escalation and acknowledgement | Formal on call teams |
| Webhooks | Connect to anything, including ticketing and automation | Creating 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.
- Detect. Monitoring raises an alert, ideally before users notice.
- Acknowledge. Someone takes ownership so others know it is being handled.
- Triage. Assess impact and severity. Who is affected, and how badly?
- Communicate. Update stakeholders and, for customer facing problems, a status page.
- Mitigate. Restore service as quickly as possible, even with a temporary fix such as failing over, restarting or rolling back.
- Resolve. Fix the underlying cause properly.
- Review. Learn from it so it does not happen again.
Measuring response
These measures show whether monitoring and response are improving over time.
| Measure | Meaning | How monitoring helps |
|---|---|---|
| MTTD | Mean time to detect: from a problem starting to it being noticed | Short check intervals and good coverage |
| MTTA | Mean time to acknowledge: from alert to someone taking ownership | Clear routing and escalation |
| MTTR | Mean time to resolve (or recover): from start to service restored | Context in alerts, history and runbooks |
| MTBF | Mean time between failures: how long things run without incident | Trends 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.