Agent CLI
Every command for the orion-agent on a Linux or macOS server.
orion-agent statusShow whether the service is running and connected to Core.
orion-agent status
✔ service running
✔ connected to core.example.com
✔ last report 4 s agoorion-agent doctorCheck config, connectivity and the service, and suggest fixes.
orion-agent doctor
✔ config valid
✔ docker socket readable
! 1 monitor has not reportedorion-agent logsShow recent log entries from the agent, pretty-printed.
| Flag | What it does |
|---|---|
--lines N | How many entries to show. |
--level error | Only entries at or above a level. |
--since 1h | Only entries from the last hour. |
orion-agent logs --level error --since 1horion-agent updateUpdate to the latest release, or roll back to a version.
| Flag | What it does |
|---|---|
-version X.Y.Z | Install a specific version. |
orion-agent update
orion-agent update -version 0.1.1orion-agent token applyApply a replacement token when the agent can no longer authenticate.
orion-agent token apply --token-file /secure/path/replacement-token
orion-agent restartorion-agent reconfigureCreate a new local registration. Core will see this machine as a new server.
orion-agent reconfigureUse reconfigure sparingly. It registers the machine as a new server instead of reusing its identity.
Was this page helpful? Thanks, noted.