How It Works
Adding a Remote Agent
Create Agent in Hub
Go to Agents tab in Hub dashboard and click Add Agent.Enter a name for the server and click Create.Copy the token - it’s only shown once!
Install Agent
Copy the Install Command from the modal and run it on the remote server:This script automatically:
- Detects your OS and architecture
- Downloads the correct binary
- Installs to
/usr/local/bin/catops-agent - Creates a systemd service
- Starts the agent
Manual Installation
If you prefer manual installation instead of the install script:Agent Options
| Flag | Description |
|---|---|
--hub | Hub URL (required) |
--token | Agent token (required) |
--name | Custom agent name (default: hostname) |
--interval | Collection interval in seconds (default: 10) |
--version | Print version |
What Agents Collect
Every 10 seconds (configurable), agents send:| Metric | Details |
|---|---|
| CPU | Total %, per-core %, user, system, iowait |
| Memory | Used, total, percentage, buffers/cache |
| Swap | Used, total, percentage |
| Disk | Usage %, used, total, read/write rates |
| Network | RX/TX bytes per second |
| Load | 1, 5, 15 minute averages |
Managing Agents
View Agent Status
In the Hub dashboard, go to Agents to see:- Online/Offline status
- Last seen time
- System information
Regenerate Token
If a token is compromised:- Go to Agents → select agent
- Click Regenerate Token
- Update the agent with new token
Delete Agent
- Go to Agents → select agent
- Click Delete
- Stop the agent process on remote server
Agent Limits
| Plan | Max Agents |
|---|---|
| Personal | 3 |
| PRO | Unlimited |
Troubleshooting
Agent shows offline
Agent shows offline
- Check agent is running:
systemctl status catops-agent - Verify Hub is reachable:
curl https://your-hub:8090/health - Check token is correct
- View logs:
journalctl -u catops-agent -f
Connection refused
Connection refused
- Ensure Hub firewall allows port 8090
- Check Hub is running:
systemctl status catops-hub - Verify URL is correct (include https:// or http://)
Token invalid
Token invalid
- Tokens are only shown once at creation
- Regenerate token in Hub dashboard
- Update agent with new token