---
title: Uptime checks
description: Create HTTP, TCP, DNS and TLS checks that run from several probe regions, with expected status, keywords, latency thresholds and certificate expiry warnings.
url: https://docs.zevsight.com/monitor/uptime-checks
---

# Uptime checks

> Create HTTP, TCP, DNS and TLS checks that run from several probe regions, with expected status, keywords, latency thresholds and certificate expiry warnings.

An uptime check probes an endpoint on a schedule from several [probe regions](/monitor/probe-regions). Each check belongs to a service environment, such as `api · production`. Create checks on the dashboard's **Uptime** page.

## Check types

| Type | Target | Up when |
|---|---|---|
| **HTTP** | `http://` or `https://` URL | The response status is expected, the optional keyword rule holds, and it is not slower than the degraded threshold |
| **TCP** | `host:port` | A connection opens within the timeout |
| **DNS** | Host name, record type `A`, `AAAA`, `CNAME`, `MX`, `TXT` or `NS` | The name resolves; with expected values (up to 20), the answer contains them |
| **TLS** | `host:port` | The certificate is valid and not inside the expiry warning window |

There is no ICMP ping check. Use TCP against a port the host serves.

## HTTP options

| Option | Default | Notes |
|---|---|---|
| Method | `GET` | `GET`, `HEAD`, `POST`, `PUT`, `PATCH`, `DELETE`, `OPTIONS` |
| Headers | none | Up to 20. A `Host` header overrides the host. |
| Body | none | Up to 10,000 characters. Not allowed with `GET` or `HEAD`. |
| Expected status | `2xx` and `3xx` | Exact codes or classes, such as `200` or `2xx` |
| Keyword | none | Case-sensitive text that must appear in the first 1 MiB of the body. Turn on **Fail when it is present instead** to invert it. |
| Follow redirects | on | At most 10. Custom headers are dropped when a redirect goes to another origin. |
| Degraded when slower than (ms) | off | Must be below the timeout |
| Certificate expiry warning | 14 days | 1 to 90 days, or off. Applies to `https` URLs and TLS checks. |

Requests send `User-Agent: ZevSight/1 (+https://zevsight.com/bot)`. Credentials in the URL are refused; put them in a header such as `Authorization`.

## Interval and timeout

- **Interval** is how often each region probes, from 10 seconds to a day. Your plan sets the shortest interval allowed. The dashboard offers 30 s, 1, 3, 5, 10, 15 and 30 minutes, and 1 hour.
- **Timeout** is 1 to 60 seconds and must be shorter than the interval. The default is 10 seconds, or the interval minus one second if that is shorter.

## Regions and consensus

Pick the probe regions for each check. A new check uses three regions, capped by your plan. **Consensus** is how many regions must see the check down before the check is down; the default is 2 (or 1 with a single region). See [Probe regions](/monitor/probe-regions) for exactly how the state is judged.

## Targets that are refused

Checks must target the public internet. Private, loopback, link-local, CGNAT, multicast, documentation and cloud metadata addresses are refused, as are `localhost`, `*.local` and `*.internal`. This is enforced when you save, after DNS resolution and after every redirect.

## What you see

The check page shows the current state, uptime for 24 hours, 7 days and 30 days, p50 and p95 latency over 24 hours, and response time by region. Each HTTP result records DNS, connect, TLS, time to first byte and total time, the status code, HTTP version, redirects and final URL. Failed results also keep up to 20 response headers (secret ones removed) and the first 2 KiB of the body.

The same data is available to API keys: [Uptime checks API reference](/api/reference/uptime-checks).

## Alerts

Every check gets an alert rule automatically. It fires when the check is **down** for 60 seconds, and resolves when it is up again. You can change it to also fire on **degraded**, change the timing, or pause it. See [Alerts and rules](/respond/alerts#check-and-heartbeat-rules).

> **Note: Certificate warnings**
>
> Inside the expiry warning window a check is **degraded**, not down. An expired certificate is down. Because the default rule fires on down only, add **degraded** to the rule if you want an alert before the certificate expires.

## Maintenance

A [maintenance window](/status-pages/reports-and-maintenance#maintenance) on a status page can list the checks it covers and mute their alerts. Minutes inside the window do not count as downtime.
