Website Monitoring: How It Works and What to Check

Website monitoring is the automated check that a site responds, responds in time and returns the right content. The probe runs from outside your network. That way it follows the same path as the user: it resolves the name, opens the connection, negotiates TLS and reads the response. Each of those stages fails in a different way.
The problem shows up when the check looks only at the status code. A store can return HTTP 200 with its catalog down. In that case the check records everything as healthy. We built that situation in a lab and both verdicts appear below.
Every number in this article came from a Docker lab. It ran on September 3, 2026, with blackbox exporter 0.28.0, Prometheus 3.7.3 and nginx 1.29. No threshold here is a guess: each one was either measured or has a linked source.
How does website monitoring work?
Website monitoring works by probing: an external agent repeats the same request at a fixed interval and records the result of each phase. There are five phases, in the order they happen: name resolution, TCP connection, TLS handshake, waiting for the first byte and downloading the body.
Separating the phases is what turns an alert into a diagnosis. A site that is slow because of DNS and a site that is slow because the database stalled look the same on screen. At 3 a.m. they page different teams.
Below are the medians of 30 runs against the lab target, with 25.8 ms of latency between the endpoints. The absolute times are specific to the lab. The proportions between phases, however, carry over to your environment.
Notice that the server response does not change between the two columns: 76.11 ms against 76.20 ms. The entire 24.8 ms difference sits in the handshake. It therefore shows up again on every new connection a visitor opens.
A word of caution about the first row. Name resolution in the lab is local, so 0.62 ms is no reference. On the internet that time depends on the TTL of your record and on the cache of the visitor's resolver.
The last phase, the server response, is the one application teams tend to look at alone. It is also the only phase present in the page loading experience metrics Google uses for ranking.
An HTTP 200 does not prove the site works
A 200 code says the server returned a response. It does not say the response is useful. When the catalog backend goes down, the application serves its own error page. The status stays 200 and the body size barely changes. Only a content check tells the two cases apart.
In the lab, the /broken route returns 200 with a failure message in place of the product list. Two blackbox exporter modules probe that same address. The only difference between them is the last three lines.
The third row is the decorative alarm: the catalog is down but the dashboard stays green. Swapping the module costs three lines of configuration and changes what the alert means.
Pick as the marker an element that exists only when the feature works. The checkout button, the account balance or a confirmation number all work. Pointing at the page <title> does not help, because the error screen has a title too.
TLS handshake cost and the trap of measuring from inside
A TLS handshake costs one round trip in version 1.3 and two in version 1.2. That difference only shows up when there is distance between client and server. To isolate the effect we measured both against the same nginx with the same certificate, changing only the ssl_protocols directive.
With 25.8 ms between the endpoints, version 1.2 charges 24.77 ms extra on every new connection. Measured from the host itself, the difference disappears. Version 1.2 even looks faster by 0.41 ms.
That sets a common design trap. A probe installed in the same data center as the site approves a configuration the user pays for every day. Place at least one check location outside your network.
What each type of check detects
Counting how many checks a platform offers says nothing about coverage. What each check can see defines it. Next come the threshold that makes sense for it and the condition that justifies waking someone up.
| Check type | What it detects | Typical threshold | When to alert |
|---|---|---|---|
| HTTP/HTTPS availability | Server down, application error, load balancer with no healthy target | Status outside the 2xx range or response slower than 5 s |
Two consecutive failures, confirmed from a second location |
| Page content | Page that loads with a broken feature: empty catalog, cart down, rendered error | Marker missing from the response body | One failure confirmed from a second location. This is the check that catches the lying 200 |
| Time to first byte | Overloaded server, slow query, cold cache | 800 ms is the "good" cutoff and 1,800 ms the "poor" one, per the web.dev guidance | 95th percentile above the cutoff for 10 minutes, never on a single sample |
| Browser transaction | Breakage in a multi-step flow: login, search, cart, invoice issuing | A step that fails or total time above the baseline plus two standard deviations | Two consecutive runs failing at the same step |
| TLS certificate | Imminent expiry, incomplete chain, name mismatch | One fifth of the issued validity: 40 days for a 200-day certificate, 9 for a 47-day one | As soon as it crosses, repeating daily. It means automatic renewal failed |
| Domain expiry | A registration about to lapse, which takes the whole site down at once | 60 days, because renewal depends on a purchase rather than automation | At 60 and again at 30 days, to the contract owner rather than the on-call engineer |
| DNS resolution | Broken zone, authoritative server down, record deleted by mistake | NXDOMAIN or SERVFAIL; also response time three times above the median of your own environment |
An error response alerts immediately. Slowness only after two locations agree |
| REST API | Broken contract: a field that disappeared, a type that changed, an integration that stopped | Valid status plus the required fields present in the response | Two consecutive runs. Status alone hides a contract break |
| TCP port | Process that died, new firewall rule, service that did not come back after a reboot | Connection refused or timed out | Two consecutive failures. Listening on the port is not the same as serving correctly |
| ICMP (ping) | Unreachable host and link degradation, nothing more | Loss or latency above the baseline of the link itself | Never as the only signal that a site is down. Many servers drop ICMP by policy |
| SMTP, IMAP and POP | Corporate mail that accepts connections but rejects authentication | Service banner plus a full authentication, not just an open port | Two consecutive authentication failures |
The browser transaction in the fourth row is what the industry calls synthetic monitoring. It is the only check in the table that requires a real browser running the whole flow.
Lists of check types tend to repeat themselves: web transaction and web transactions, REST API and REST API transactions, website and URL. The table above keeps only what produces different signals.
Certificate and domain expiry: when should the alert fire?
A certificate alert does not fire at renewal time. It fires when the renewal should already have happened and did not. That distinction has stopped being a detail: the validity of public certificates is shrinking by industry decision.
In April 2025 the CA/Browser Forum approved a schedule for reducing validity in three steps. Since March 15, 2026 the cap has been 200 days. March 2027 brings the limit to 100 days. March 2029 reaches 47 days.
On the other side, Let's Encrypt recommends renewing a 90-day certificate every 60 days and a six-day certificate every three. In both cases renewal happens with one third to one half of the validity still ahead. The alert is what comes after it.
The probe hands you this math ready-made. The lab serves two certificates on the same server, one valid for 365 days and one for 12. The metric therefore reports the expiry date of the nearest one.
The certificate on the second row was born with 12.00 days of validity. A fixed rule of warning 30 days ahead would have fired at the moment of issuance, on a freshly replaced and healthy certificate.
That is what will happen to everyone in 2029, when 47 days becomes the cap. Tie the threshold to the issued validity and skip the round number. The round number is a leftover from the era when certificates lasted two years.
How often should you check?
The check interval defines the size of the outage you can see. An outage shorter than the interval fits entirely between two probes and leaves no record at all. To measure this we took the backend down for 181 seconds with two identical probes watching the same address.
The 15-second probe recorded the failure nine seconds after the start. It returned twelve bad samples in a row. For the five-minute probe the site never went down.
Choose the interval by the window you need to prove. A 99.9% monthly SLA gives an error budget of 43 minutes of downtime. A single five-minute outage then consumes 12% of it without showing up in the report.
A short interval also has a price, paid by your server. Checking 40 addresses every 15 seconds generates 230,000 requests per day, with TLS load on each one. Reserve the short interval for the critical path of the business.
The same discipline applies as for infrastructure thresholds: the number that fires the alert comes from the baseline of your own environment, never from the value that shipped as the default.
Where to start on Monday
Start with the content check on the path that makes money, because it is the cheapest change with the biggest effect. Pick a marker that appears only when the feature is alive. Then swap the module. The dashboard stops lying about the 200.
After that, review two thresholds that almost always arrive inherited. The certificate one needs to leave the round number and become a fraction of the issued validity. The interval one is justified by the SLA window, never by the installation default.
Finally, move at least one check location outside your network. A probe in the same data center approves what the user ends up paying for, as the handshake cost measured here shows.
If your dashboard is green and the phone rings anyway, look at what the tool was configured to watch. Talk to our experts to review the coverage of your environment.
Know your site is down before your customers do.
KeepWatch runs synthetic tests from the outside and alerts the team when a journey stops working.