Farsight

Keeps watch.

Farsight is an uptime monitor in one small program. It checks your sites and servers every minute and tells you when one is really down.

41up 0down

Live from imemyself.dev, as of

Six kinds of check.

Websites and APIs, ports, whole servers, DNS records, certificates, and the jobs that should have run by now.

HTTP
Websites, APIs, health endpoints
https://api.example.com/health
TCP port
SSH, databases, mail, anything with a port
db.example.com:5432
Ping
Whole servers
198.51.100.14
DNS
Records that change or vanish
MX example.com
TLS certificate
Expiry, on any port
mail.example.com:993
Heartbeat
Backups, cron jobs, scripts
curl farsight.example.com/hb/a1b2

It checks twice before it tells you.

One failure is counted and checked again ten seconds later. A whole server going down arrives as one message, not twenty.

  1. First failed check: got 502, expected 200-399
  2. Confirmed down, so the incident opened
  3. Alert sent to #alerts on Discord: Down: Orders API (got 502, expected 200-399)
  4. Back up after 4 m 40 s

And it shows its work.

A status page comes with it. This is the last 30 days of imemyself.dev, drawn from the page's own public data.

Servers99.99%
Trading99.87%
Bots and audio99.97%
Apps99.79%
Tools99.98%
Windows apps99.98%
Sites99.97%
41 services, 99.9% upOpen the status page

One file.

The checks, the dashboard, the status page and its own HTTPS are one program. No database server, no proxy, no containers.

$ farsightd serve --https 0.0.0.0:443 --domains status.example.com
The whole program
16.9 MB
Watching right now
70 monitors, 54 checks a minute
Memory in use
82 MB
Database
SQLite, inside
Certificates
Let's Encrypt, by itself
API
Everything the dashboard does
Runs on
Small enough for a free cloud VM

Scripts and AI agents get the whole thing over the API. Read the docs

See what it sees.

See it live

Farsight 0.3.3 is watching 70 monitors for imemyself.dev.