Command Overview
beacon endpoint doctor runs local health checks for the Beacon endpoint agent and exits non-zero when any hard check fails. Add --fix to apply safe remediations for supported findings.
Command syntax
beacon endpoint status.
beacon doctor is a top-level alias for beacon endpoint doctor.
Checks
Doctor verifies:- Endpoint configuration file
- Endpoint configuration validity
- Collector configuration file
- Runtime JSONL log path
- Runtime log permissions
- launchd plist on macOS
- Configured harness telemetry and recent observed events
Fix mode
beacon endpoint doctor --fix plans and applies safe remediations for supported findings. It can create a missing runtime log and, on macOS, recreate managed collector configuration and launchd service files when the endpoint configuration is valid.
Fix mode deliberately skips cases that need operator intent, such as invalid endpoint configuration, missing harness setup, missing observed runtime events, unsafe runtime log permissions, or non-macOS service repair. If a collector service repair fails, Beacon rolls back the files and service state it changed where possible, then refreshes doctor results so the printed checks reflect any partial fixes that succeeded.
JSON output includes applied and skipped fix details so deployment scripts can distinguish remediated checks from findings that still need manual action.
Flags
| Flag | Description |
|---|---|
--user | Use per-user endpoint paths. Enabled by default |
--system | Use system endpoint paths and launch daemon |
--log-path <path> | Runtime JSONL log path |
--fix | Apply safe remediations for supported failed or warning checks |
--json | Print doctor results as JSON |
Examples
Run health checks with the default per-user paths:Run health checks with the default per-user paths
Run health checks and apply supported fixes
Check a root-managed endpoint deployment
Repair supported root-managed findings
Print machine-readable check results
Print machine-readable results with applied and skipped fix details
Use the top-level alias
Related
Endpoint status
Inspect collector, service, harness, diagnostics, and runtime-log state.
Endpoint inventory
Show configured, detected, and observed endpoint inventory.

