Skip to content

NATS

Common parts of every card (states, backoff, Unit and ExecReload, Test config, manual commands) are described in Monitor window.

Detected by systemd units nats-server, nats or binaries nats-server
Read every 60 s while the Monitor window shows the tab
Active probe yes, off by default
Test config on demand

NATS server: connections, slow consumers, the cluster and JetStream (memory and storage against their limits).

Passive: nats-server processes with a closed list of argv options (never --user, --pass, --auth, --routes or --cluster: URLs with credentials) and the configuration (-c or a default path) through conf.awk after a rule of this card that turns NATS’ key: v and key v into key = v. Only listed keys leave the host (ports, names, JetStream paths and limits, one-line route URLs without userinfo); never authorization, accounts, operator, resolver, resolver_preload, tls, jetstream.key or leafnodes.remotes.

Active (off by default): the monitoring port (-m/http_port/ http), only plain http on the loopback through the shared HTTP helper, held by the trusted process whose options were read: GET /varz, /routez and /jsz?accounts=false, each reduced on the host to a closed list of counters (never /connz, account names or client addresses).

Runs: GET /varz, /routez and /jsz?accounts=false of the monitoring port (-m, http_port, monitor_port or http) on 127.0.0.1/[::1] through the shared HTTP helper (trusted curl under env -i and GNU timeout, no proxy, no redirects), only when the port is held by the trusted nats-server whose options were read. Never /connz, /accountz or /subsz. Only counters, versions, route addresses and JetStream totals leave the host

Traces on the host: three requests every 60 s; NATS does not log monitoring requests

What it does, as the card says: parses the configuration and its includes and exits (-t); does not listen, connect or touch the running server or its JetStream store.

Scroll or pinch to zoom · drag to move · double-click to zoom · Esc or click outside to close