Consul
Common parts of every card (states, backoff, Unit and ExecReload, Test config, manual commands) are described in Monitor window.
| Detected by | systemd units consul or binaries consul |
| Read every | 60 s while the Monitor window shows the tab |
| Active probe | yes, off by default |
| Test config | on demand |
What the card reads and shows
Section titled “What the card reads and shows”Consul agent: the agent’s configuration (-config-dir, -config-file or /etc/consul.d, HCL through conf.awk, JSON through json.awk) reduced on the host to a closed list (retry_join items only as host:port or the cloud provider’s name), flags of a closed list, the sockets of its ports and, actively, the local HTTP API without a token: /v1/status/leader, /v1/status/peers, /v1/agent/members (name, address, status, role) and /v1/health/state/critical (node, service, check name, status; never Output or Notes). Never the CLI in the probes (it reads CONSUL_HTTP_TOKEN); consul validate only on demand (“Test config”). Never encrypt, ACL tokens, TLS keys, auto_config, connect.ca_config, services’ tokens or checks’ commands.
Active probe
Section titled “Active probe”Runs: GET /v1/status/leader, /v1/status/peers, /v1/agent/members and /v1/health/state/critical of the plain HTTP API (ports.http, default 8500) on 127.0.0.1/[::1] without a token 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 consul whose configuration was read. Never the CLI. Only the leader address, peer count, members (name, address, status, role, dc) and critical checks (node, service, check name, status; no output) leave the host
Traces on the host: four requests every 60 s; Consul logs HTTP requests only at debug/trace level
Test config
Section titled “Test config”What it does, as the card says: loads the HCL and JSON configuration like the agent does at start (the agent’s -config-dir/-config-file in its order) and checks the values; prints the errors or “Configuration is valid!”; does not connect to the agent or the cluster and does not run checks or scripts.