Writing criteria for this guide
Every "for Mere Mortals" guide is written to the same nine-point standard, so a reader who trusts one can trust the rest. Here it is, with the verification notes for this particular guide below.
- Fix it first. Reader outcomes lead, not action items: each chapter opens by naming the outcome it delivers, shows a check the reader can run to confirm they got it, and a reasonable reader finishes able to state what was done, what it means, and what to try next.
- Plain language. Short sentences, everyday vocabulary, technical terms defined on first use. No slang, and no idioms that only make sense in one country — the reader may be translating as they go.
- No dead ends. A guide never tells the reader to do something it cannot show them how to verify. Every claim a reader relies on — an install, a command, an output — is something this guide demonstrates or clearly labels documented-only below.
- Live-verified where it matters. Procedures are run for real in the guide's lab wherever the build machine allows it, and the transcripts kept in the repository are the evidence. What could not be run is listed honestly below, never presented as if it had been.
- General audiences. Nothing in this guide — examples, fixtures, names, addresses — is modelled on any particular reader or author's real life, network, or organisations. The lab watches only servers it started itself, on loopback.
- Standalone. A reader needs this guide, its lab, and nothing else. Where another guide would genuinely help, it is pointed to once, by name, and the chapter still completes without it.
- Honest about limits. Chapter 11 names what the tool cannot do: the watcher dying with the watched, health being only ever the conditions written, checks the machine can refuse (ICMP, DNS), history capped at a window rather than an archive, alerts that are messages rather than incident management, and config errors that stop the program.
- The ethics rule is in the text, early. Gatus's checks are requests sent to machines, so chapter 1 and the install chapter draw its line plainly: watch what is yours or what you are allowed to check, at intervals that are polite — and chapter 11 adds the other side of the rule, that a status page publishes your failures to whoever can reach it.
- Builds clean. The site builds with MkDocs in strict mode with no warnings, and a fresh reader following the chapters in order reaches the stated outcome of each.
Verification notes for this guide
The build machine is a shared Ubuntu sandbox. Gatus v5.38.0
was obtained as the official release source archive from
the project's GitHub repository (tag v5.38.0, published
2026-10-28) and built unmodified with the official Go toolchain
(go1.26.10, its tarball's sha256 verified against go.dev),
producing one statically linked binary of 50,989,560 bytes —
see gatus-lab/transcripts/t00-binary.txt. One install fact
was checked rather than assumed: the v5.38.0 release page
attaches no prebuilt binaries (source archives only), so
the guide teaches the build honestly instead of pointing at a
download that is not there. The project's primary documented
install, the container image, could not be run here — the
sandbox starts no containers — and is labelled documented-only
wherever it appears.
The lab's targets were its own: gatus-lab/serve.py, a small
Python HTTP server on 127.0.0.1:8734 serving a known page and a
JSON health reply; gatus-lab/capture.py, a webhook listener
on 127.0.0.1:8735 that records what it receives; and port
8799, on which nothing listened until the lab started a
stand-in server there to play the rescue. Gatus itself ran on
127.0.0.1:8085, because this sandbox already had a service on
the default port 8080 (address already in use — the failure
and the fix are both in the transcripts and chapter 3). The
lab config behind every claim is gatus-lab/config.yaml;
lab processes were all stopped and their data removed when
the work was done.
Run for real, with transcripts as evidence:
- Startup against the lab config: three endpoints validated, the custom provider listed as configured (and every other provider as ignored), the listener announced (t01).
- The dashboard fetched: HTTP 200, page title
Health Dashboard | Gatus(t02). - Three endpoints on 10s intervals: a page endpoint passing
status,
pat()body pattern and response-time conditions on every visit; a health endpoint passing[STATUS] == 200and[BODY].status == UP; a dead-port endpoint failing every visit withconnection refusedand its conditions shown resolved ([CONNECTED] (false) == true). States and full result history read from/api/v1/endpoints/statuses; the complete JSON is kept atgatus-lab/api-statuses.json(t03). - Badges fetched for real endpoints — health (up), health
(down), uptime 24h (100%), response time 24h (3ms) — each
HTTP 200,
image/svg+xml, badge text extracted from the SVG (t04). - Alerting end to end: the dead endpoint's custom alert at failure-threshold 2 sent exactly one webhook, captured with its full JSON payload — event TRIGGERED, endpoint, group, description and the real connection-refused error resolved into the body — and sent no more across seven failures (t05). A stand-in server started on the dead port then produced the matching RESOLVED webhook (empty errors field) and the endpoint's events read START, UNHEALTHY, HEALTHY (t06).
- Config reload: editing a condition in the file of the
running process produced the log line
Configuration file has been modified, and subsequent results carried the new condition with no restart (t07). - Storage: with
storage.type: sqlite, the running totals (22 results per endpoint, 66 rows inendpoint_results, the table list read from the file) survived a full stop and start — 24 results per endpoint afterwards, the first result's timestamp unchanged (t08). - Broken configs at startup: a
===condition typo and broken YAML indentation each stopped the program, with the precise first-line error quoted in chapter 11 (t09). - A TCP endpoint (
tcp://127.0.0.1:8734,[CONNECTED] == true) passing on every visit (t10). - A deliberately wrong body condition on a healthy page
producing an overall failure at HTTP 200, with the resolved
condition shown (
[BODY].status (UP) == DOWN) (t11).
Documented only — described from the project's documentation, not run, and the text does not claim otherwise:
- The container install (
ghcr.io/twin/gatus) and Docker Compose and Kubernetes arrangements; the systemd unit in the recipes is assembled from verified pieces, not run. - ICMP endpoints: attempted live and failed for sandbox
reasons, with the proof kept — the sandbox's own
pingreportsOperation not permitted(raw sockets refused,ping_group_rangean empty range), so Gatus's pings of loopback could not succeed here. DNS endpoints likewise (outbound UDP blocked). Both are taught from the documentation (t10). - TLS certificate-expiry conditions and the
[CERTIFICATE_EXPIRATION]placeholder (no TLS service of the lab's own to watch), the certificate-expiry recipe, and HTTPS endpoints generally. - Alert providers other than
custom(Slack, email, PagerDuty and the rest of the catalogue): their shared configuration pattern is taught through the verified custom provider, and no real external service was contacted. Alert reminders (minimum-reminder-interval), per-providerdefault-alertblocks, external endpoints, suites (ALPHA upstream), maintenance windows, the directory-merged config of recipe 5, PostgreSQL storage,metrics, and the dashboard'sui:cosmetics andsecurity:authentication.
Fixtures are this guide's own and deliberately generic: a lab
web page, a health reply, a dead port, groups named lab —
no real services, people, or organisations, and nothing was
monitored that the lab did not start itself.