Security
What a read-only monitoring agent can and can't do
Why Uptavio's agent has no way to run commands, what that protects you from, and the trade-off it means for automatic fixes.
Every monitoring agent you install runs on your production servers, usually all of them. That makes it one of the most trusted pieces of software in your infrastructure, and a very attractive target. So it's worth asking a blunt question: if the monitoring vendor were compromised tomorrow, what could an attacker do to your servers?
The risk most agents carry
Many agents are designed to do more than report. They can run scripts, execute remote commands, apply configuration or install plugins pushed from a central console. Those features are useful, and they're also a command channel into every server the agent runs on. If the vendor's platform, an admin account or the update pipeline is compromised, that channel can be abused. Software supply-chain attacks have shown that this isn't hypothetical.
What “read-only” means at Uptavio
Uptavio's agent is built so that it can only read and report. That isn't a setting; it's how the software is made.
- No command execution. The agent has no feature that executes anything it receives. The platform can change only how often it reports, which the agent keeps between 30 seconds and 1 hour, and which signed release is offered to the updater.
- Least privilege. It runs as an unprivileged system user with no login and no special Linux capabilities, with a read-only view of the filesystem.
- No access to your data. Home directories, where sites and
.envfiles usually live, are hidden from it entirely. The only log it reads is the SSH log, for failed-login counts and their top source IPs, and it never connects to databases. - Signed updates only. New agent code installs only with a valid signature from a release key that's kept offline, never on Uptavio's servers. Only newer versions are accepted, and a new version must prove it works within 150 seconds or the previous one is restored.
- Unforgeable reports. Each server has its own secret, and every report is signed, single-use and time-stamped over TLS 1.2 or newer.
- Outbound only. The server always starts the connection. No inbound ports are needed.
Put together: even someone in full control of Uptavio's platform couldn't run a single command on your servers. They couldn't push new agent code either, because the signing key isn't there.
What it can't do, and why that's the point
The trade-off is real: there's no “fix it for me” button. When Uptavio finds a problem, it gives you the exact command, such as sudo systemctl start php8.3-fpm or sudo ufw deny 3306, and you run it yourself, over SSH, from your control panel or through your configuration management.
We think that's the right call. Automatic remediation sounds convenient until a monitoring tool restarts the wrong service at the wrong time, or until its remediation channel is the thing an attacker uses. Reviewing a command before running it takes seconds. Recovering from an agent you can't trust doesn't.
To keep this practical, Uptavio does the work of figuring out what to run. Problems become To do tasks grouped by fix, so “reboot to load installed updates” is one task across every affected server, with the command ready to copy. Tasks close themselves once the fix is detected.
Read-only is also lightweight
An agent that only reads can be small. Uptavio's is hard-capped by systemd at 5% of one CPU core and 64 MB of memory, typically uses about 3 MB, reads the disk only at idle priority, and sends one compressed report a minute. Vulnerability matching, external port checks and capacity maths all run on Uptavio's side.
Questions to ask any monitoring vendor
- Can the agent execute commands or scripts it receives? Can that be disabled, or is it impossible?
- What user does it run as, and what can it read?
- How are agent updates signed, and where is the signing key kept?
- Can reports be replayed or forged?
- Does it need any inbound port?
- What are its hard CPU and memory limits?
Uptavio's answers are in the security model. Whatever you choose, make sure you know the answers before the agent is on every server you run.
Uptavio checks this for you. Ubuntu-aware vulnerability scanning, outside-in exposure checks, patch and reboot tracking, and a To do list with the exact command for every fix. Free for 2 servers and 5 websites. Start free →