Pair a machine agent
Step-by-step: add a host with the Linux/Windows pairing install.
infrastructuremachine-agentpairinginstall
Add a host: pair a machine agent (step by step)
The machine agent reports a host's metrics, processes and logs, and can run platform-issued commands. Pairing connects it to your organization.
- Go to Infrastructure → Machine agents → Add agent (the pairing dialog opens).
- Optionally set a Name and the Environment (e.g.
prod). - Copy the install command for your OS — Linux (bash) or Windows (PowerShell) — and run it on the host:
# Linux (example shape — copy the exact command from the dialog, it embeds your pairing token)
curl -fsSL https://app.verops.io/install/machine-agent.sh | \
sudo VEROPS_PAIRING_TOKEN=<token> VEROPS_ENVIRONMENT=prod bash
- Within a few seconds the agent shows ONLINE in the list.
- The host now reports metrics and process snapshots; configure log scraping to collect log files (see Machine agent in this category).
Troubleshooting
- Stays OFFLINE: check outbound HTTPS to
app.verops.ioand that the pairing token wasn't truncated. - No processes shown: the agent may need host PID visibility (run with
--pid hostin Docker).
You can alert on an agent going OFFLINE — a silent host is often the first sign of trouble.