A monitor checks one thing on a schedule: every 5 minutes by default (free for your first five), as often as every 30 seconds (--every 30s). Checks run from froog's servers. Targets must be public; private addresses get 400.
$ froog revere add https://example.com # http
$ froog revere add db.example.com:5432 --name db # tcp
$ froog revere add vpn.example.com --name vpn # icmp
$ froog revere add --name nightly-backup --every 1d --grace 30m # heartbeat
$ froog revere ls · show NAME · check NAME · edit NAME --every 1m · pause NAME · resume NAME · rm NAME
HTTP
Passes when the status is in expect_status (default 200-399), within timeout_secs (10), and, if you set one, the body has keyword (or lacks keyword_absent). Bad certificates fail; you're warned --cert-warn DAYS (14, 0 = off) before one expires. Add up to 10 request headers and a body; method is any of GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS.
$ froog revere add https://api.example.com/health --every 30s --keyword '"ok":true'
$ froog revere add https://api.example.com/v1/me --header 'Authorization: Bearer …' --method post --body '{}'
TCP and ICMP
tcp passes when the port accepts a connection (host:port). icmp passes when one ping is answered (a bare host name).
Heartbeats
For cron jobs, backups and queues: instead of Revere calling you, your job calls the heartbeat's URL (printed by froog revere add) at least every interval_secs + grace_secs. It needs no API key; the URL is the secret. <url>/fail?msg=… fails it at once, with your message.
# the end of a nightly backup script
pg_dump app | gzip > backup.gz && curl -fsS "$HEARTBEAT_URL" || curl -fsS "$HEARTBEAT_URL/fail?msg=backup+failed"
History
Checks are kept 7 days. GET /v1/revere/monitors/{monitor}/history?range=24h|7d|30d|90d gives uptime and response times (average, minimum, maximum) in buckets, and ?history=true on the list adds each monitor's last 24 hours. Outages are listed at /v1/revere/monitors/{monitor}/outages.