Oriondocs
Get started
Docs›Reference›Agent CLI

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 ago
orion-agent doctorCheck config, connectivity and the service, and suggest fixes.
orion-agent doctor
✔ config valid
✔ docker socket readable
! 1 monitor has not reported
orion-agent logsShow recent log entries from the agent, pretty-printed.
FlagWhat it does
--lines NHow many entries to show.
--level errorOnly entries at or above a level.
--since 1hOnly entries from the last hour.
orion-agent logs --level error --since 1h
orion-agent updateUpdate to the latest release, or roll back to a version.
FlagWhat it does
-version X.Y.ZInstall a specific version.
orion-agent update
orion-agent update -version 0.1.1
orion-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 restart
orion-agent reconfigureCreate a new local registration. Core will see this machine as a new server.
orion-agent reconfigure
Use reconfigure sparingly. It registers the machine as a new server instead of reusing its identity.
Was this page helpful? Thanks, noted.