Beamfar

What is uptime monitoring?

Uptime monitoring means requesting a website at regular intervals, from servers outside it, and raising an alert when the answer is missing, slow or not what was expected. The result also feeds an uptime figure for reports. Google’s SRE book calls this black-box monitoring, “testing externally visible behavior as a user would see it”, and says it is symptom-oriented: it shows active problems, not predicted ones, where white-box monitoring reads metrics from inside the system.

Definition
Uptime monitoring
Requesting a website at regular intervals from outside and alerting when it does not answer as expected.

What it measures

Whether a request from a given location, at a given moment, got a response that met the rule: a status code, a time limit and perhaps expected text. It is a statement about the path from the monitor to the site as much as about the site.

What it misses

A page that returns 200 with an error message unless text is checked, a broken checkout behind a single page check, anything that happens between checks and problems inside the server. A probe can also be blind to the certificate: Amazon’s Route 53 documentation notes that its HTTPS health checks “don’t validate SSL/TLS certificates, so checks don’t fail if a certificate is invalid or expired”. Scheduled jobs need a different kind of monitor.

Making it trustworthy

Confirming a failure from a second location, requiring several failures, setting sensible timeouts and treating periods with no measurement as unknown rather than up all reduce false alarms and false comfort.

An example rule

GET https://www.example.com/ every minute from two regions. Success: status 200 within 10 seconds and the page contains the text “Add to basket”. Down: both regions fail. One region failing is a regional issue. A minute with no valid measurement is unknown, not up. Written like this, the rule can be explained to a client in four lines and checked later against the stored results.

What to check

What the monitor counts as success, how often and from where it checks, how failures are confirmed and how gaps are reported.

Sources

Read on . Standards and vendor pages change; confirm the current text before you rely on it.

Guides that use this term

  • Check intervalThe check interval is the time between two uptime checks. How it sets the detection delay, the number of checks and how it interacts with confirmation.
  • False positiveA false positive is an alert saying a site is down when it was reachable. Usual causes: the monitor’s network, DNS, firewalls and timeouts, and how to cut them.
  • Regional issueA regional issue is when one monitoring region sees a failure and another does not. Why it is not the same as an outage and why it still deserves a look.
  • Heartbeat monitoringHeartbeat monitoring waits for a scheduled job to report in and alerts when the signal is missing. How the period and grace time work and what it is good for.

Know first. Know why. Tell your client before they call.

Paste your client list. Both regions start checking.

No card for the trial.