Skip to content
BENIBIX Learn

Uptime Monitoring

Infrastructure📈 Monitoring & ObservabilityMonitoring Basics

Also known as Uptime Check, Website Monitoring, Availability Monitoring, Uptime

A check from outside, each minute, that a site still answers. It warns you when it stops.

Think of it like

It is like knocking on a door every minute. If no one comes, you call for help.

Example

Jack's checker calls his shop's home page every minute from three cities. At 99.9% uptime, the shop may be down about 8.8 hours in a whole year.

Why it matters

It sees what a user sees. A server can look fine from inside while nobody outside can reach it.

Definition

Uptime monitoring checks from the outside that a site or service answers. A tool sends a request every minute or so, often from several places in the world. If the answer is wrong, slow or missing, it sends an alert. It also keeps a record of the share of time the service was up. That share is called uptime, and it is often shown as a percentage.

Example code

console
$ curl -s -o /dev/null -w "%{http_code}\n" https://example.com
200
The smallest uptime check. Ask for the page, and read back only the status code.
An uptime check is the simplest loop. The only number is whether the page answered.

Common mistake

Checking from one place only. A single bad network path then looks like the whole site is down.

Key takeaways

  1. 1
    From outside. It tests the path a real user takes.
  2. 2
    Many places. Checks from several cities avoid false alarms.
  3. 3
    Uptime share. The record shows the percent of time up.

Compare