How it works

How Monitor 360 decides a website is down

M Suman · · Updated

Reviewed by Monitor360 MS Blog editor on

A single failed request is usually a blip, not an outage. So Monitor 360 does not call a website down on one failure: it rechecks, then waits for a second failed run before it raises an alert.

Every monitoring tool faces the same trade-off. Alert too fast and your team is woken at 3 a.m. by a dropped packet. Alert too slowly and your customers find the outage before you do. This post walks through how Monitor 360 makes that call, so you know what a "down" alert means when it lands in your inbox.

Website monitors need nothing installed on your servers. The check comes from our side, the way a visitor's request would, which is why we are careful about what we treat as proof of failure.

What counts as a failed check

A check fails when your site does not respond the way a healthy site should.

What happens Counts as a failure when
DNS The hostname does not resolve
Connection The connection is refused or times out
TLS The TLS connection cannot be established
HTTP status The response is a status you did not accept. By default anything outside 200 to 299 fails, and you can change the list
Timeout No complete response arrives within the timeout. The default is 10 seconds, and you can set it from 1 to 60 seconds
Content (optional) A keyword you require is missing, or, if you choose that mode, a keyword you forbid is present

A slow response is not the same as a failed one. If you set a slow threshold, a page that answers but more slowly than that is marked degraded, not down. It only fails once it crosses the timeout.

The content check matters more than people expect. Plenty of broken sites still return 200 OK with a blank page or an error message inside a working-looking response. A keyword check catches those.

Why one failure is never enough

The internet is not perfectly reliable. A single check can fail because of a routing hiccup, a congested link, a brief restart or a packet that never arrived. None of those mean your site is down for your users.

So when a check fails, Monitor 360 does not alert straight away. It confirms first, in two steps:

  1. Recheck inside the run. A failed check is repeated once, five seconds later, within the same run. If the second attempt succeeds, the run counts as a success and nothing else happens.
  2. Require two failed runs. If the run still fails after the recheck, the monitor records the failure but does not change state yet. It goes down only after two consecutive failed runs.

All checks come from one place today. We do not yet confirm a failure from a second location, so a problem on the path between us and your site can look like an outage.

This costs detection time. An outage needs two failed runs, so the time to detect one is roughly two check intervals. On a plan with a one-minute interval that is about two minutes. On the Free plan the shortest interval is 15 minutes, so an outage can take up to about half an hour to be reported. In exchange, an alert from Monitor 360 is one you can trust.

From a failed check to a Down alert

After the first failed run, the monitor shows "Checking…" and nothing is sent. If the next run passes, it goes back to Up and nobody hears about it. If it fails again, the monitor goes Down, an incident opens, and your alert contacts are notified.

Alerts, recovery and flapping

When a monitor goes Down, Monitor 360 sends one alert, not one per failed check. You hear about the outage once, with the time it started and the error that was seen: a timeout, a 503, a connection failure.

Recovery is quicker than detection on purpose. For a website monitor, one successful run brings the monitor back to Up and closes the incident, and you get a recovery notice. We would rather tell you the site is back a little early than leave an incident open.

This also limits flapping. An unstable site produces one incident, not a stream of alerts, because the monitor only goes down after two consecutive failures. A site that fails every other run can still flap between Up and Down, so it is worth looking at why it is unstable.

Tuning it for your site

The defaults suit most websites, but you can change what a check looks at per monitor.

  • Check interval. Shorter intervals find outages sooner, within the limit of your plan.
  • Timeout. Raise it for slow, heavy pages. Lower it for endpoints that should answer fast.
  • Expected status and keyword. Tell Monitor 360 what healthy looks like for your page, so a 200 with an error message still counts as a failure.
  • Alert contacts. Choose who is told about a monitor, so critical sites reach the right people.

The short version

Monitor 360 treats a failed check as a question, not a verdict. It rechecks, waits for a second failed run, and only then calls the site down. When the site comes back, one good run clears it.

Try it on your own site at monitor360.co.uk and see how a real check behaves.

This is the same text as the revised file, docs/blog-drafts/01-how-we-decide-a-website-is-down-revised.md, which has the comment block at the top.

I wrote the claims from the code and haven't tested them against a running system. "Alert contacts" and "notified" are the two phrases I'm least sure about, so give them a read before publishing.

← All posts