Skip to main content
Documentation

About uptime checks

Uptime

An uptime check requests a URL from outside your network, the way a visitor's browser would, and judges the answer. It is the check that tells you a page is unreachable, returning errors, or no longer showing the content it should.

Every domain starts with one uptime check on https://<your-domain>/. You can add more, for example one for a login page or an API health endpoint. Each is configured separately. The fields are listed in Uptime check settings.

What one run does

Each run follows the same steps.

  1. Alopex looks up the host name and checks that it resolves to a public address. A host that resolves to a private address is not checked (see Address not allowed).
  2. It sends the request with your Method, Headers and Body, and the user agent Alopex/1.0 (+uptime monitor).
  3. If the answer is a redirect and Follow redirects is on, it follows it, up to 5 redirects. Each redirect target is checked for a public address in the same way.
  4. It compares the final status code with Expected status.
  5. It looks for Required text and Forbidden text in the response.

Every run comes from a single location in the UK.

The run passes only if every step passes. The first step that fails decides the failure reason shown on the incident.

Alopex also records how long the run took, from the start of the lookup to the end of the final response, including any redirects. That is the response time you see in the charts.

Note

Alopex reads what your server sends. It does not run JavaScript, so text that a script adds in the browser is not in the response and cannot satisfy Required text.

What counts as a failure

A run fails when any of these happens. Each links to the page that explains it.

What happenedFailure reason
The final status code is not one you expectedUnexpected status code
Required text is not in the responseRequired text missing
Forbidden text is in the responseForbidden text found
The redirects do not endToo many redirects
No answer arrives within the Timeout (seconds)Timed out
The server could not be reached, or the connection brokeConnection failed
The host name does not resolveDNS lookup failed
The host resolves to a non-public addressAddress not allowed

A slow answer that arrives inside the timeout is a pass. Alopex records the response time but does not fail the check for it.

How quickly you hear about an outage

You choose how often an uptime check runs, from every minute to every hour. New domains default to every 5 minutes. The setting is on the domain, under Settings, in General, as Check every.

One failed run does not alert you. An incident opens when the check has failed several runs in a row, and that number is also set per domain. The default is 2, and you can choose 1 to 10 with Consecutive failures before an incident, described in Domain settings. This keeps a single dropped connection from waking you.

While a check is failing, Alopex runs it again after one minute, whatever the interval. Those extra runs count towards the failures in a row, so an outage is confirmed in a minute or two rather than a whole interval. A passing run resets the count to zero and closes any open incident.

For example, with the defaults (every 5 minutes, 2 failures in a row), your site goes down just after a run. The next run, up to 5 minutes later, fails and is the first failure. The re-run a minute after that fails too, and the incident opens. That is about 6 minutes after the site went down, at the longest. With Check every set to 1 minute, it is about 2 minutes.

An outage shorter than the gap between runs can be missed altogether, because no run sees it. An outage that ends before the second failure never opens an incident.

An incident for an uptime check is headed Website returning errors when the server answered but the answer failed the check (an unexpected status code, or required or forbidden text), and Website unreachable when there was no usable answer (timeouts, connection and DNS problems, blocked addresses and too many redirects).

Pages on someone else's domain

If the URL belongs to a different domain from the one you added it to, Alopex treats it as a dependency, such as a payment API or an authentication provider. When a dependency fails, the domain is shown as degraded rather than down, and the alert says so.

Maintenance windows

While a maintenance window covers an uptime check, its runs are recorded as maintenance. They are not counted as failures and no incident is opened. If an incident was already open when the window began, it stays open. Maintenance windows are set up on the domain. See About maintenance windows and Schedule maintenance.

Page changes

An uptime check can also watch the page it fetches for scripts and other third-party content that was not there before. See About page change detection.