happy monitors
List, create, update, pause, resume, delete, and ad-hoc test monitors.
happy monitors
bashhappy monitors list # all monitorshappy monitors get <id-or-name> # detail viewhappy monitors create [flags] # create monitorhappy monitors update <id-or-name> [flags] # update monitorhappy monitors pause <id-or-name> # pause checkshappy monitors resume <id-or-name> # un-pausehappy monitors delete <id-or-name> # delete + check historyhappy monitors check <id-or-name> # run an ad-hoc check now
list
bashhappy monitors listhappy monitors list --status down # filter by statushappy monitors list --json # machine-readable
Output: name, status, region count, last-checked timestamp, URL.
create
bashhappy monitors create \ --name "Acme API" \ --url https://api.acme.com/health \ --type http \ --interval 60 \ --regions us-east,us-west,eu-west \ --expected-status 200,201
| Flag | Default |
|---|---|
--name | (required) |
--url | (required for http/tcp/dns/keyword) |
--type | http |
--interval | 60 (seconds) |
--regions | us-east |
--method | GET |
--timeout | 30 (seconds) |
--expected-status | none (any 2xx) |
--keyword | (only for --type keyword) |
--keyword-type | contains |
--heartbeat-url | (only for --type heartbeat) |
--ssl-check | off |
--domain-check | off |
get
bashhappy monitors get acme-api
Returns the full monitor row + the last 10 check results + uptime % over the past 24h.
update
bashhappy monitors update acme-api --interval 30 --regions us-east,us-west,eu-west,ap-southeast
pause / resume
bashhappy monitors pause acme-apihappy monitors resume acme-api
delete
bashhappy monitors delete acme-api
Asks for confirmation. Use --yes to skip.
check (ad-hoc)
bashhappy monitors check acme-api
Runs the configured probe right now from the configured region(s) without scheduling a recurring check. Useful for verifying a deploy.