osapi agent
Run the agent. osapi cli command get --name agent shows the same.
Group
| Name | agent |
| Description | Manage the agents in the fleet: discovery, drain and PKI enrollment |
osapi client agent status status
| Method | status |
| Description | Show the health of each agent |
osapi client agent list
| Method | list |
| Description | List active agents |
osapi client agent get
| Method | get |
| Description | Get agent details |
osapi client agent drain
| Method | drain |
| Description | Drain an agent |
osapi client agent undrain
| Method | undrain |
| Description | Undrain an agent |