Skip to main content
Documentation

Uptime check settings

Check fields

These fields are on the form when you add or edit an uptime check. Open it from the domain's Checks tab. How the check uses them is explained in About uptime checks.

FieldWhat it doesDefaultLimits
EnabledSwitches the check on or off. Shown when you edit a check. A switched-off check does not run.OnNone
Name (optional)The name shown for the check.The URL's host and path, without https://Up to 255 characters
Name on status pagesHow this check appears on status pages. A status page can override it. Shown when you edit a check.The check's name, or Website if it has noneUp to 60 characters
URLThe address to request.https://<your-domain>/ for the first checkMust be http or https, up to 2048 characters, and must resolve to a public address
MethodThe HTTP method.GETGET, POST, PUT or PATCH
HeadersExtra request headers, as a name and value. Use Add header to add a row and Remove to delete one.NoneUp to 20 headers. Names use letters, digits and the usual header punctuation. Values are up to 2048 characters on one line
BodyThe request body.EmptyUp to 10,000 characters
Expected statusThe status codes that count as a pass.2xxComma separated, such as 2xx, 301. Each is a three-digit code or a class like 2xx, starting with 1 to 5
Required textText that must appear in the response.EmptyUp to 255 characters
Forbidden textText that must not appear in the response.EmptyUp to 255 characters
Timeout (seconds)How long to wait for the server.51 to 10
Follow redirectsFollows a redirect to its target instead of judging the redirect itself.OnUp to 5 redirects
Watch for unexpected page changesLearns which third-party hosts the page loads and reports new ones. See About page change detection.OnApplies to GET checks only

The form's button reads Create check when you add a check and Save check when you edit one.

How the fields behave

Headers and credentials

Alopex always sends its own User-Agent, Alopex/1.0 (+uptime monitor). A User-Agent header you add is replaced. If your server or firewall allows or blocks by user agent, use this value. Checks come from a single location in the UK, and Alopex does not publish IP addresses, so allow the user agent rather than an address.

If a redirect leaves the original scheme, host and port, Alopex stops sending your Authorization, Proxy-Authorization and Cookie headers. They are not sent on any later hop, even if a redirect returns to the original site.

Body

Alopex sends the body with the Content-Type header you set. If you set none, it sends text/plain. After a redirect with status 303, or a 301 or 302 after a POST, the next request is a GET with no body.

Expected status

A class such as 2xx accepts every code from 200 to 299. A single code such as 301 accepts only that code. With Follow redirects on, the status that is judged is the one at the end of the redirects. With it off, it is the redirect response itself, so a 301 or 302 fails unless you list it.

If a page redirects anonymous visitors to a login page with a 302, you have two choices. Leave Follow redirects on, and the check passes when the login page answers with an expected status such as 200. That also confirms the login page loads, so it is the better choice if you want to know the page works. Or turn Follow redirects off and add 302 to Expected status, for example 2xx, 302. The check then passes on the redirect itself and never requests the login page, so choose this if the redirect is all you want to confirm.

Required text and forbidden text

Both are matched exactly as typed, including capital letters. They are searched in the response body as your server sends it, up to the first 5 MB. Content after that point is not searched.

Timeout

The timeout applies to connecting and to the whole transfer. With redirects, each request gets the full timeout. Alopex follows up to 5 redirects, which is up to 6 requests, so the longest a run can wait on your server is 6 times the timeout, or 60 seconds at the 10-second maximum, plus the time to look up each host name.

Domain settings that apply to every check

Two settings are on the domain, not on the check. Find them under Settings, in General.

FieldWhat it doesDefaultChoices
Check everyHow often uptime checks on the domain run.5 minutes1, 5, 10, 15, 30 or 60 minutes
Consecutive failures before an incidentHow many failed runs in a row open an incident. See Domain settings.21 to 10

These apply to all the domain's uptime checks. Once a check starts failing, Alopex runs it every minute until it passes, whatever Check every is set to.