Skip to content

Uptime checks

An uptime check calls one of your endpoints every minute from Korai, outside your cloud (or from a private probe inside your network), and records whether it answered correctly. Availability comes from those minutes, not from traces, so it works even if you send little or no telemetry. Find them in Observability › Reliability › Uptime checks.

Uptime checks with their state, the last 30 days and this month’s and year’s availability

Kind What Korai does Use it for
HTTP(S) GET, HEAD or POST to a URL; checks the status code (200-399 by default, or a list like 200,204), optionally a text the answer must contain, within a timeout web apps, APIs, health endpoints
TCP port opens a TCP connection to host:port services that listen on a raw port
Terminal (ADMS) sends the handshake an ADMS terminal (time attendance, access control) sends, GET <server>/iclock/cdata?SN=<serial>&options=all, and expects 200 terminal communications, with the serial number of a test terminal

An HTTP check can send one request header, for example Authorization with a token. The value is stored as a secret: it is never shown again and never published. It is only sent to the address it was saved for (the same scheme, host and port): a redirect to another address is not followed (its status code is the answer) and a redirect from https to plain http fails. If you change the address’s host or port, or the header’s name, enter the value again. A check that sends a token always verifies the TLS certificate.

Press Test now in the form to run the check once before saving it (nothing is recorded). The button shows Testing… while it runs (up to about ten seconds), and the result appears just above the buttons: whether it answered correctly, the status code and response time, or why it failed.

  • Each run makes up to two attempts a couple of seconds apart. An answer slower than the timeout is a failure.
  • One failed run is degraded and still counts as available. It becomes an outage only when it repeats in consecutive runs (two by default; you can choose 1 to 5). Then the earlier minutes of that streak count as outage too, and the outage starts at the first of them.
  • If Korai’s runner itself stops, those minutes are recorded as no data: never as up.
  • Paused checks are not called; their minutes count as not measured.
Availability (%) = (minutes measured − outage minutes) / minutes measured × 100

Measured 24×7 per calendar month and year (UTC). Minutes without data are reported apart and do not count as up. A period needs at least 90 % of its minutes measured (and at least a day) to have enough data; otherwise the trust page shows “Not enough data”, never 100 %. A month that started after the check was created counts from that day.

Maintenance windows (one-off or weekly, in UTC) are left out of the total, the same way as in SLAs. Add only windows agreed with your customers; without any, availability is measured around the clock. No alert is sent for an outage inside a window.

One check: its state, this month and year, 90 days, month by month and its outages

Each check shows its last 90 days, month by month and year by year (outage, no-data and maintenance minutes and the share measured), the response time of the last 24 hours, its outages and its TLS certificate expiry. Minute-by-minute results are kept for 90 days; the monthly figures are kept for good, so a yearly figure survives the per-minute expiry.

A confirmed outage goes to your alert channels (all of them, or the ones you choose in the check) and resolves when the check answers again. An SLA can be measured with an uptime check instead of traces (Measured from › Uptime check): each measured minute counts as a request and each outage minute as a failure, over a calendar month, quarter or year.

Publish your checks on a public status page: the state now, a bar per day, incidents and maintenance windows, grouped as you choose (Public status page in this screen). The monthly and yearly history can also go on your trust page. Either way, only the public names, states and figures leave Korai.

Korai’s own runner only checks public addresses: it refuses private, local, link-local and cloud metadata addresses, also when a name resolves to one or a redirect points to one (for endpoints that are not public, use a private probe); it connects to the address it checked, follows at most 3 redirects and reads at most 256 KiB of an answer. A name that does not resolve and one that resolves to an address Korai refuses give the same message. A failed TCP check only says that there was no connection. Up to 20 checks per tenant. Operators and admins create and edit checks; viewers can read them, with the values of a URL’s query string hidden.