Manage SSL, TCP, UDP, and database monitors. Each has the same surface as
url monitors: CRUD plus run, runs, toggle,
toggle-muted.
TCP, UDP, and database monitors reach host:port directly from ObserveOne's
infrastructure, so the target must be reachable on the public internet, not
just from inside your network. See
Monitoring private infrastructure
for exposure guidance before pointing one at a database or internal service.
obs ssl-monitor create --name "cert" --hostname example.com --port 443 --warn-days 14obs tcp-monitor create --name "PG" --host db.example.com --port 5432 --expect-banner "..."obs udp-monitor create --name "DNS" --host 1.1.1.1 --port 53 --expect-responseobs db-monitor create --name "PG" --host db.example.com --port 5432 --protocol postgres --tls
obs ssl-monitor create --name "cert" --hostname example.com --port 443 --warn-days 14obs tcp-monitor create --name "PG" --host db.example.com --port 5432 --expect-banner "..."obs udp-monitor create --name "DNS" --host 1.1.1.1 --port 53 --expect-responseobs db-monitor create --name "PG" --host db.example.com --port 5432 --protocol postgres --tls
Commands and aliases: obs ssl-monitor (ssl), obs tcp-monitor (tcp),
obs udp-monitor (udp), obs db-monitor (db).
Type-specific flags:
| Command | Flags |
|---|---|
ssl-monitor | --hostname (bare host, required), --port (default 443), --warn-days (default 30) |
tcp-monitor | --host, --port (required), --payload-hex, --expect-banner |
udp-monitor | --host, --port (required), --payload-hex, --expect-response |
db-monitor | --host, --port (required), --protocol (postgres|mysql|redis), --tls |
Common flags (all four): -n, --name, -d, --description, -i, --interval
(cron), --timeout <ms>, --region <region> (repeatable), --retry-count <n>, --retry-interval <seconds>, --team-id <id>, --alert-channel-id <id> (repeatable), --no-alerts.
obs ssl-monitor listobs ssl-monitor get <id>obs ssl-monitor runs <id> --limit 10 # Recent executionsobs ssl-monitor run <id> # Trigger a manual runobs ssl-monitor toggle <id> # Pause or resume executionobs ssl-monitor toggle-muted <id> # Mute or unmute alerts without pausingobs ssl-monitor delete <id> -y
obs ssl-monitor listobs ssl-monitor get <id>obs ssl-monitor runs <id> --limit 10 # Recent executionsobs ssl-monitor run <id> # Trigger a manual runobs ssl-monitor toggle <id> # Pause or resume executionobs ssl-monitor toggle-muted <id> # Mute or unmute alerts without pausingobs ssl-monitor delete <id> -y
Every type also supports --file <path> create and obs schema <type> for
the JSON Schema (Draft-07) definition, matching obs monitor and obs check.
Environments#
Each of these monitor types can be bound to a project and environment from the dashboard, the same as url monitors. {{KEY}} tokens resolve from the bound environment's variables and secrets at run time, on manual and scheduled runs alike, in these fields per type:
| Type | Fields with {{KEY}} resolution |
|---|---|
ssl-monitor | hostname |
tcp-monitor | host, payload-hex, expect-banner |
udp-monitor | host, payload-hex |
db-monitor | host |
Resolution happens server-side only: the stored monitor keeps the raw {{KEY}} template, and results show the token rather than the resolved secret value.
See also: Monitors for basic HTTP ping monitors, and the CLI reference overview.