Elastic Agent
Common parts of every card (states, backoff, Unit and ExecReload, Test config, manual commands) are described in Monitor window.
| Detected by | systemd units elastic-agent or binaries elastic-agent |
| Read every | 60 s while the Monitor window shows the tab |
| Active probe | yes, off by default |
| Test config | none |
What the card reads and shows
Section titled “What the card reads and shows”Elastic Agent: the agent’s processes, elastic-agent.yml filtered on the host to a closed list of keys (Fleet enabled and hosts, the default output’s type and hosts without userinfo, inputs), whether a Fleet enrollment is stored (fleet.enc, never read), the package version and, as an active probe, elastic-agent status --output json reduced on the host to the states and messages of the agent, Fleet, components and units (never unit payloads). Nothing else of the CLI runs (inspect, diagnostics, enroll, … are out, review B.023).
Active probe
Section titled “Active probe”Runs: elastic-agent status –output json (/usr/bin/elastic-agent or /opt/Elastic/Agent/elastic-agent: trusted, not setuid, under env -i, timeout 8 s) every minute while the Monitor is open, only when a trusted elastic-agent process runs under the session’s account. It asks the daemon over its control socket; on the host the JSON is reduced to the states and messages of the agent, Fleet, components and units (unit payloads and the agent id stay on the host)
Traces on the host: one request per run on the agent’s control socket; the agent does not log status requests at the default log level (not checked whether the CLI writes files); no other files
Test config
Section titled “Test config”None: KryoDesk has no configuration test for this service.