How It Works
Adding a Remote Agent
1
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!
2
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
3
Verify Connection
Check that the agent is running:The agent should appear as Online in the Hub dashboard.
Manual Installation
If you prefer manual installation instead of the install script:Agent Options
What Agents Collect
Every 10 seconds (configurable), agents send: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
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