Agent management
Open a server's details, then click Settings. Agent updates shows the current version and latest available version. The Update agent button appears when a newer release is available. Server name and Remove server sit beside it on wide screens.
Update from the server
Run the installed helper on the monitored VPS:
sudo /opt/vpsagent/update.sh
The helper downloads the latest release, checks its checksum, replaces the binary, and restarts the service. If the new service fails to start, it attempts to restore the previous binary and restart it. Recovery and restart can also fail and require manual repair. Review release information, keep appropriate backups and recovery access, test critical systems, and choose a maintenance window. Your Cloud pairing remains in place. Sudo may ask for your server password.
Enable updates from Cloud
Remote updates are off by default. Run this once on the monitored server:
sudo /opt/vpsagent/vpsagent enable-remote-updates
If that command is unavailable, run the manual update helper first. Wait for the agent to report its version and opt-in state, then open Server settings in Cloud and click Update agent when a newer version is available.
Cloud sends a release update request through the agent's outbound control connection. It does not log in through SSH or ask for your sudo password. The installed updater verifies the signed release and checksum before replacing the binary. If startup fails, it attempts to restore the previous binary and restart it. Check the update result and service logs if it fails. A restart briefly interrupts samples.
If Cloud shows This server needs one manual update or The update did not complete, the agent could not run the update itself. This happens on servers that turned on remote updates before agent v0.0.13: their updater is not allowed to change the service settings a newer release needs, and an interrupted update can stop later ones. Repair it once on the server:
sudo /opt/vpsagent/update.sh
sudo /opt/vpsagent/vpsagent enable-remote-updates
The first command updates the agent and finishes any interrupted update. The second reinstalls the current remote-update units and restarts the agent. Later updates from Cloud then work normally. From agent v0.0.18, a failed pre-check leaves the installed version untouched.
Automatic updates
Turn on Automatic updates in a server's Settings to install new releases without clicking Update agent. It is off by default and set per server. Remote updates must also be enabled on the VPS (above).
When the agent next checks in and a newer signed release is available, Cloud queues it, using the same verified update path as a manual request. The agent restarts briefly, so collection pauses for a moment. If a release fails or is rolled back on that server, Cloud does not retry that release automatically; check the logs and use Update agent once you have fixed the cause. A later release is tried automatically as usual.
Without automatic updates, updates run only when requested; enabling remote updates on the VPS does not by itself turn on automatic upgrades. Control checks continue even if billing pauses metric uploads. To disable future update requests locally, including automatic ones:
sudo /opt/vpsagent/vpsagent disable-remote-updates
An update already in progress may finish after you disable new requests.
Rename or remove a server
Renaming changes the server's display name in Cloud.
Removing a server in Server settings deletes its Cloud metrics and incidents and revokes its Cloud credential. It does not uninstall the agent on that server. To remove the installed agent as well, run:
sudo /opt/vpsagent/remove.sh
The removal helper asks for confirmation. Running it alone stops the local service and removes its credential, but leaves the server entry and history in Cloud until you remove them there.
For update diagnostics, check:
sudo systemctl status vpsagent-update.path --no-pager
sudo journalctl -u vpsagent-update.service -n 50 --no-pager
vpsmon Cloud