Tutorial
Uninstall a server agent
Remove an agent cleanly from a host and detach it from the dashboard.
1) Pause the agent in the dashboard
- Open Dashboard → Server agents and select the target host.
- Pause monitoring to stop alerts during removal.
2) Stop and remove on the host
- SSH into the server.
- Stop the service:
sudo systemctl stop uptime-server-agent-go.service. - Remove the install directory (where you ran the installer). Example:
sudo rm -rf /opt/uptime-agent. - Delete the service file:
sudo rm /etc/systemd/system/uptime-server-agent-go.service, thensudo systemctl daemon-reload.
If you installed under a different path or init system, remove the equivalent files there.
3) Clean up the dashboard entry
- Back in Server agents, mark the host as removed or delete it.
- Confirm it disappears from server health summaries and no new heartbeats arrive.