# Website uptime monitoring basics

The CrispStats team · Published 2026-11-23 · Updated 2026-11-29

**TL;DR:** 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](https://sre.google/sre-book/monitoring-distributed-systems/), 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](/glossary/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 to monitor | Why | What a pass should mean |
| --- | --- | --- |
| Home page | The front door, and what people check when they hear you are down | The page loads with a success status |
| Login or sign-up page | Customers cannot use the product without it | The page loads; the auth service is reachable |
| Checkout or pricing page | Direct revenue | The page loads, including any third-party payment script host you depend on |
| API health endpoint | Apps and integrations depend on it even when the website is fine | A small endpoint that checks the database connection and returns 200 |
| Marketing site on another host | Often on a different provider from the app | Each 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 interval | Fastest alert after an outage starts | Slowest alert | Outages that may never alert |
| --- | --- | --- | --- |
| 1 minute | About 1 minute | About 2 minutes | Shorter than about 2 minutes |
| 5 minutes | About 5 minutes | About 10 minutes | Shorter than about 10 minutes |
| 15 minutes | About 15 minutes | About 30 minutes | Shorter than about 30 minutes |
| 1 hour | About 1 hour | About 2 hours | Shorter 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).

| Uptime | Downtime in a 30-day month | Downtime in a 365-day year |
| --- | --- | --- |
| 99% | 7 hours 12 minutes | 3 days 15 hours |
| 99.5% | 3 hours 36 minutes | 1 day 19 hours |
| 99.9% | 43.2 minutes | 8 hours 46 minutes |
| 99.95% | 21.6 minutes | 4 hours 23 minutes |
| 99.99% | 4.3 minutes | 52.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.

> **The trade-off.** Consecutive-failure rules hide flapping: a site that fails every other request never fails twice in a row. Watch the per-check history and response time too, not only the incident list.

## 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](https://developers.google.com/search/docs/crawling-indexing/pause-online-business) 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](/features/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](/features/alerts-and-reports) 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](/docs/health/uptime) 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.

## How is website uptime calculated?

Divide the checks that succeeded by all checks, or divide the time the site was up by the time in the period. The result is the uptime percentage.

```
uptime = successful checks ÷ all checks × 100
downtime = minutes in the period − minutes up
```

### Worked example

A check every minute for 30 days is 30 × 24 × 60 = 43,200 checks. If 36 of them fail, successful checks are 43,164. Uptime is 43,164 ÷ 43,200 × 100 = 99.92%, and the downtime is 36 minutes. The [uptime](/glossary/uptime) entry writes the same division, and [uptime monitoring](/features/uptime-monitoring) runs the checks from outside your own network.

The mistake is to treat a 200 response as proof the site worked. A page can return 200 with an error in the body, and a status-code check counts that as up. The percentage is also not a target to adopt. 99.92% is the result of this arithmetic, not a service level you are supposed to promise.

## How many minutes of downtime is 99.9% uptime?

About 43.2 minutes in a 30-day month, and about 8 hours 46 minutes in a 365-day year. The percentage is a fraction of the period, not a recommendation.

```
downtime minutes = minutes in the period × (1 − uptime ÷ 100)

30 × 24 × 60 = 43,200 minutes
43,200 × 0.001 = 43.2 minutes
```

### Worked example

Run the formula backwards. (43,200 − 43.2) ÷ 43,200 = 99.9%. At 99%, the same month allows 43,200 × 0.01 = 432 minutes, which is 7 hours 12 minutes. At 99.99%, it allows 43,200 × 0.0001 = 4.32 minutes, about 4.3 minutes. None of these is a target this guide is setting.

The mistake is to pick 99.9% because it looks familiar, then police it with a check every 5 minutes. With an alert after two failed checks, a 5-minute interval can take about 10 minutes to fire, so an outage shorter than about 10 minutes can slip through. A 4.3 minute budget cannot be seen that way at all. Match the interval to the outages you need to notice, and keep the percentage as math.

## Frequently asked questions

### How often should I check my website's uptime?

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.

### What does 99.9% uptime mean in minutes?

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.

### Why does my uptime monitor report outages when my site is fine?

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.

### Should my status page be on the same server as my site?

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.

### What status code should my site return during maintenance?

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.

### How is website uptime calculated?

Divide the checks that succeeded by all checks and multiply by 100. A check every minute for 30 days is 43,200 checks. If 36 fail, uptime is 43,164 divided by 43,200, which is 99.92%, and the downtime is 36 minutes. A 200 response with an error in the body still counts as up if the check only looks at the status code.

### How many minutes of downtime is 99.9% uptime?

About 43.2 minutes in a 30-day month, because that month has 43,200 minutes and 0.1% of 43,200 is 43.2. A 365-day year allows about 8 hours 46 minutes. This is arithmetic, not a target to promise.
