# Outside Uptime Checks

**I watch each site from outside its own platform, and I watch the watcher too.**

> A checker that runs on the same platform as the site goes quiet when the site does. Watch from outside, and watch the watcher.

This page names the checker this standard uses for go-live items 7 (uptime and HTTPS checks from an external service) and 9 (alerts by email and phone push, sent from outside the watched account), how to set it up, and what to do if it goes away.

## The checker: updown.io

Chosen 2026-12-04 by a full alternatives analysis ([spec](https://jonashw.dev/alternatives/software.md)) over UptimeRobot, HetrixTools, Better Stack, a self-hosted Uptime Kuma and a scheduled GitHub Actions script.

Why it won:

- It meets every must-have: it runs outside Cloudflare, Netlify and GitHub Pages; it matches page text, not only the status code; it warns before a certificate expires; it confirms a failure with two more checks, at least one from another location, before alerting; one account covers every site.
- It is paid per check (prepaid credits, no subscription), so about 16 checks cost roughly $1.50 a month and the whole reliability budget stays under $10. Every other option that passed every must-have cost $8 to $30 or more a month and broke the cap.
- It has run since 2012. The trade-off is that one developer runs it; see [Watching the watcher](#watching-the-watcher).

## Cadence by outage tier

Alert time is roughly the check interval plus the confirmation checks (updown runs two confirmation checks at half the interval). Pick the interval so the worst case fits the tier's time in [Observability](https://jonashw.dev/reliability/observability.md).

| Tier | Must hear within | Health or home check | Deeper page |
|---|---|---|---|
| 1 and 2 | about 10 minutes | every 5 minutes (worst case about 10) | every 10 minutes |
| 3 | 15 minutes | every 10 minutes (worst case about 15) | every 10 minutes |
| 4 | 1 hour | every 30 minutes | every 30 minutes |

A site may set a faster interval for its own reason. On 2026-12-03 the owner chose every 5 minutes for tiers 1 and 2, the calendar hub included, because every 2 minutes was more than these sites need.

## Setup (per site)

1. **Check a URL that proves the app works**, not a cached page: a health endpoint that touches the app's real dependencies, returning a fixed text such as `{"ok": true}`. Copy the exact spacing into the text match.
2. **Turn on text match** for that fixed text, so an error page that answers 200 still alerts.
3. **Turn on SSL expiration notifications.** Short-lived certificates (90 days) warn at 14, 7 and 1 days.
4. **Add the deeper page** (one page past the home page) at the deeper-page interval.
5. **Record the checks** in `scripts/reliability/uptime-checks.tsv`, so they can be re-created anywhere.

updown.io accepts intervals of 15, 30, 60, 120, 300, 600, 1800 or 3600 seconds only.

## Bulk add (supported path)

`scripts/reliability/updown_checks.py` creates every check in `scripts/reliability/uptime-checks.tsv` that doesn't exist yet. It is a dry run unless given `--apply`, and it never changes or deletes an existing check.

- **The key is a network secret, never an environment variable.** Store updown.io's read/write ("super-powered") API key as a network secret on the cloud environment for host `updown.io`, header `X-API-KEY`. The script sends no key itself.
- **Don't** paste the key into a chat, a file, a command line or a `?api-key=` URL: updown.io accepts that form, but it lands in logs and shell history.
- **Pitfall:** the read-only key can list checks but can't create them; the script then stops with a 401 or 403.
- **Pitfall:** updown.io's check list lags about a minute behind new checks (seen 2026-12-04: an empty list right after creating 16). Running `--apply` twice inside that minute creates duplicates. Wait two minutes and do a dry run first; it should show every row as `skip (exists)`.

## Alerts: email and Pushover

- **Email:** add the owner's inbox as a recipient.
- **Phone push:** updown.io has no native Pushover integration, so use Pushover's own e-mail gateway: create a Pushover e-mail alias (an address ending in `@pomail.net`) and add it as a second email recipient. Each alias has its own priority and sound, so use a high-priority alias for tiers 1 and 2.
- Alerts need no API key or code. Only the bulk-add script uses a key; see Bulk add.

## Pitfalls

- **Cloudflare caching and "Always Online"** can serve a cached page while the origin is down, so the check stays green. Check a non-cacheable path such as `/health`.
- **Bot protection** (Bot Fight Mode, WAF rules, Cloudflare Access) can answer the checker with 403 or a login page. Allow the health path, or check a path the protection leaves open.
- **A health path must not touch unbounded queries.** It is hit about 9,000 times a month at a 5-minute interval, more during confirmation checks.
- **Text match on a client-rendered page fails**, because the checker doesn't run JavaScript. Match text the server sends.

## Watching the watcher

A checker that stops working just goes quiet, and silence looks like health. Two signals cover that:

1. **News watch (daily).** The daily vendor scan reads updown.io's status page and blog and flags a shutdown notice, a sale or handover, a pricing or feature change, a long checker outage, or a blog silent for 18 months.
2. **Alert drill (quarterly).** On the 1st of March, June, September and December, the owner sends a test alert and confirms it reached both the phone and the inbox. A missing alert is an incident.

## Exit path

Credits are prepaid, so there is no subscription to cancel. The checks are plain URLs, text matches and intervals listed in `scripts/reliability/uptime-checks.tsv`; re-creating them on HetrixTools or UptimeRobot takes about 15 minutes. Both have native Pushover, but their tiers that pass every must-have cost more, so re-check the budget when moving.
