Skip to content

Performance

Website uptime monitoring basics: what to check, how often, and how to avoid false alarms

What to monitor on a website, how often to check, how to stop false alarms waking you up, and what a status page should show, with the downtime math.

The CrispStats team · · 9 min read

In short

Website uptime monitoring means requesting your important URLs on a schedule from outside your own network and alerting someone when they stop answering correctly. Monitor what visitors and customers actually hit: the home page, the login or checkout, and an API health endpoint. Check every 1 to 5 minutes, and only alert after two or more failures in a row, which removes most false alarms from a single dropped request. A public status page then tells customers what you know before they have to ask.

The worst way to learn your site is down is from a customer. The second worst is from an alert at 3 a.m. that turns out to be a single dropped request. Good uptime monitoring avoids both: it notices real outages within minutes and stays quiet the rest of the time.

This guide covers the decisions you make when setting it up: what to monitor, how often, when to alert, and what to publish. It leans on Google’s Site Reliability Engineering book, which is still the clearest public writing on alerting, and on plain arithmetic.

What is uptime monitoring?

An uptime monitor is a robot visitor. On a schedule, it requests a URL, waits for an answer and records whether it succeeded and how long it took. When requests start failing, it opens an incident and tells you. When they succeed again, it closes the incident and records how long the outage lasted.

In SRE terms this is black-box monitoring: “testing externally visible behavior as a user would see it”. It does not know why something broke, only that it did. That is its strength. Your servers can report healthy while a DNS change, an expired certificate or a CDN problem stops every visitor from reaching them, and only a check from outside sees that.

Uptime is the share of checks, or of time, during which the site answered correctly. It is usually quoted as a percentage over a month.

What should you monitor?

Not every URL. Monitor the paths whose failure costs you something, and make each check prove the thing you care about:

What should you monitor?
What to monitorWhyWhat a pass should mean
Home pageThe front door, and what people check when they hear you are downThe page loads with a success status
Login or sign-up pageCustomers cannot use the product without itThe page loads; the auth service is reachable
Checkout or pricing pageDirect revenueThe page loads, including any third-party payment script host you depend on
API health endpointApps and integrations depend on it even when the website is fineA small endpoint that checks the database connection and returns 200
Marketing site on another hostOften on a different provider from the appEach host is checked separately

Make the health endpoint honest

A /health route that returns 200 without touching anything only proves the web server is running. A useful one makes the cheapest possible call to each dependency that would break the product, such as a SELECT 1 against the database, and returns an error status if any fail. Keep it fast and unauthenticated, and do not let it do expensive work: it will be called every minute.

Status codes are not the whole story

The SRE book lists errors that are “implicit” as well as explicit: a 200 response with the wrong content. A page that returns 200 with “Something went wrong” in the body passes a status-code check. If that failure mode matters, check a health endpoint that returns a real error status, since most uptime tools judge success by the status code.

How often should you check?

The interval decides how quickly you find out, and how short an outage can be before you miss it entirely. With an alert that needs two failures in a row, the time from the start of an outage to the alert is between one and two intervals:

Assumes an alert after two failed checks in a row, and ignores the request timeout. An outage must span two checks to alert, so one shorter than two intervals can slip between them.
Check intervalFastest alert after an outage startsSlowest alertOutages that may never alert
1 minuteAbout 1 minuteAbout 2 minutesShorter than about 2 minutes
5 minutesAbout 5 minutesAbout 10 minutesShorter than about 10 minutes
15 minutesAbout 15 minutesAbout 30 minutesShorter than about 30 minutes
1 hourAbout 1 hourAbout 2 hoursShorter than about 2 hours

For anything that takes payments or logins, check every minute. For a blog or a documentation site, every 5 minutes is plenty. Hourly checks mostly tell you about outages after customers already have.

How much downtime does each uptime target allow?

Uptime targets sound similar and are not. Each extra nine cuts the allowed downtime by ten:

Calculated: allowed downtime = period × (1 − uptime).
UptimeDowntime in a 30-day monthDowntime in a 365-day year
99%7 hours 12 minutes3 days 15 hours
99.5%3 hours 36 minutes1 day 19 hours
99.9%43.2 minutes8 hours 46 minutes
99.95%21.6 minutes4 hours 23 minutes
99.99%4.3 minutes52.6 minutes

A worked example: a 30-day month has 30 × 24 × 60 = 43,200 minutes. At 99.9% uptime, 0.1% of that may be down: 43,200 × 0.001 = 43.2 minutes. Note what that means for check intervals: with 5-minute checks, a single outage can use up to 10 minutes of a 43-minute budget before anyone is alerted. A 99.99% target, 4.3 minutes a month, is not measurable with 5-minute checks at all.

How do you avoid false alarms?

The SRE book’s rule for alerts that wake people up is that they should be urgent, actionable and visible to users, and that “every page should be actionable”. A monitor that cries wolf trains people to ignore it, which is worse than no monitor. The usual causes of false alarms and their fixes:

  1. Alert on consecutive failures, not one. A single check can fail for reasons unrelated to your site: a packet lost on the way, a brief problem at the checking location. Requiring two or more failures in a row filters most of these out.
  2. Set a sensible timeout. A timeout shorter than your slowest normal response turns every slow moment into an outage. Use a separate slow threshold for “degraded” instead.
  3. Allow the monitor through your firewall. Bot protection that blocks unfamiliar clients will block your monitor too. Allow its user agent or addresses.
  4. Pause monitors during planned maintenance, or expect alerts you already know about.
  5. Route alerts by urgency. Downtime on checkout goes to a phone. A slow docs page can go to a chat channel and wait for the morning.

A worked example: why two failures in a row matters

Say a healthy site still fails one random check in 1,000 for network reasons. This rate is an assumption for illustration, not a measured figure. With 1-minute checks, a 30-day month has 43,200 checks, so alerting on any single failure would send about 43 false alarms a month. If those random failures are independent, two in a row happen with a probability of 1 in 1,000,000 per pair, which works out to about 0.04 false alarms a month, roughly one every two years. Requiring a second failure costs you one more minute of detection time and removes nearly all the noise.

What should a status page show?

A public status page answers the question customers will otherwise send to support: is it you or is it me? A good one shows:

  • Current status per component, in words people understand: website, app, API, not internal service names.
  • Recent incidents, with what was affected, when it started and when it was resolved.
  • History, such as a bar per day for the last 90 days, so a single incident is seen in context.
  • Nothing sensitive. Internal URLs, IP addresses and exact response times stay private.

Host the status page somewhere that does not share a failure with your site. A status page on the same server goes down with it, which is exactly when it is needed.

What should you do while the site is down?

If an outage or planned maintenance lasts a while, what your server returns matters for search. Google’s guidance on pausing a site says to return a 503 status with an informational page, optionally with a Retry-After header, rather than a 200 error page or a 404. It warns not to return 503 for robots.txt, which blocks all crawling, and that taking a whole site offline should last “a few days at most”. Returning 403, 404 or 410 can remove your URLs from Google Search.

How CrispStats handles uptime monitoring

CrispStats includes uptime monitoring next to your analytics. Monitors request a URL with GET or HEAD every minute, 5 minutes, 15 minutes, 30 minutes or hour, from Cloudflare’s network. A check passes on a status from 200 to 399, follows up to 3 redirects, and you can set a slow threshold that marks the monitor as degraded. By default a monitor is marked down and an incident opens after two failed checks in a row, the rule from the worked example above; you can set it anywhere from 1 to 10. The first successful check closes the incident with the outage length.

Each monitor shows 90 daily bars, average and 95th-percentile response time, and its incidents. A Monitor down alert can go to email, Slack, Discord, Telegram or a webhook, and a public status page shows monitor names, hosts, 90 days of uptime and recent incidents without exposing full URLs or response times. The uptime docs list every setting. The trial includes 1 monitor, Starter 5, Growth 20 and Scale 50.

The limits, plainly: monitors check the status code and response time, not the content of the page, and SSL certificate expiry is not checked yet. There are no keyword checks, multi-step browser checks or phone-call alerting, so a team with an on-call rotation will still want a dedicated incident tool alongside it.

Guide questions. Straight answers.

What people ask after reading this.

  • Every minute for anything that takes payments, logins or API traffic, and every 5 minutes for content sites. With an alert after two failed checks in a row, 1-minute checks alert within about 2 minutes of an outage, and 5-minute checks within about 10.

  • About 43.2 minutes of downtime in a 30-day month, or about 8 hours 46 minutes in a 365-day year. 99.99% allows about 4.3 minutes a month.

  • Usually because it alerts on a single failed check, its timeout is shorter than your slowest normal response, or your firewall or bot protection blocks the monitor. Alert after two or more failures in a row, set a realistic timeout and allow the monitor's user agent.

  • No. A status page hosted on the same server or provider goes down with your site, which is when customers need it. Host it on separate infrastructure.

  • Google recommends a 503 with an informational page, optionally with a Retry-After header, for short outages. Do not return 503 for robots.txt, and do not use 404 or 410, which can remove your pages from Google Search.

Not answered here? Write to hello@crispstats.com

Go further

Terms in this guide

Free tools

  • AI crawler checker

    Check whether a site's robots.txt lets GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in, by training, search and user fetch, with the deciding rule.

  • robots.txt generator

    Write a robots.txt file that allows or blocks each AI crawler, with presets by kind, private paths and a sitemap line.

Use cases

  • CrispStats for agencies

    Run every client site from one account, share read-only dashboards by link, and send weekly reports, with no cookie banner to explain.

  • CrispStats for SaaS

    See which channels bring paying customers, where trials stall in the funnel, and how your app performs for real users, from one cookieless script.

  • CrispStats for indie hackers

    Traffic, revenue by source, uptime and errors for every side project in one dashboard.

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.