How to Monitor a VPS Without Spending Money: 4 Free Paths
Some links on this page are affiliate links. If you sign up through them we may earn a commission at no extra cost to you. We only link to services we have actually used, and commission never decides what we recommend.
You already installed something. Maybe it was Netdata, maybe Uptime Kuma in Docker, maybe a cron job that curls your site and mails you on failure. Then the box rebooted, or the disk filled, or the database died at 3am, and you found out from a customer instead of an alert. The install was never the hard part. The hard part is that the monitoring you put on the VPS cannot tell you the VPS is gone, and the alert path you assumed would work is usually the thing that silently doesn't.
This is the procedure I'd follow today, in the order that avoids the two walls most people hit: alerts that never arrive, and monitors that die with the machine they watch.
Quick verdict
For most people running one to three VPSes, the cheapest reliable setup is an external checker with a free tier plus push heartbeats for your cron jobs, with a lightweight local agent for resource history. Better Stack is the option I'd pick for the external half, because uptime checks and log ingestion live in the same free account and you get a status page without building one. The tradeoff is that its free tier is a real ceiling — check frequency, monitor count, and log retention are all capped, and you will feel those caps the moment you add a second environment. If you refuse to depend on a vendor at all, self-hosted Uptime Kuma plus a heartbeat service is the honest alternative, and you accept that you are now maintaining two systems instead of one.
What you are actually choosing between
| Option | Cost shape | Ops burden and lock-in |
|---|---|---|
| External checker free tier (Better Stack, healthchecks.io, UptimeRobot) | Free tier, capped on monitor count, check interval, and retention | Near zero to run; switching means recreating checks by hand, export is limited |
| Self-hosted Uptime Kuma | Free software, costs a container and a port | Low, but it sits on the box it watches unless you host it elsewhere |
| Self-hosted Prometheus + node_exporter + Grafana | Free software, costs RAM, disk, and your evenings | Highest; you upgrade it, back it up, and debug it when it breaks |
| Netdata agent with free cloud tier | Free agent, cloud tier capped by node count and retention | Low to start; retention limits push you toward paid sooner than you expect |
| Cron + curl + your own script | Free | Cheapest until it isn't; you own the entire alerting path, including the part that fails |
The column that actually decides this is the second one. Free software is never free — it is paid for in attention, and attention is the thing you stopped having right around when you rented the second VPS.
Step by step
1. Split the problem into three questions and stop mixing them up.
"Is it reachable?" is answered from outside. "Is it healthy?" is answered from inside. "What happened?" is answered by logs. Almost every failed homegrown setup I've seen tried to answer all three from a single agent on the box, which means a dead box produces zero alerts and looks identical to a quiet one.
2. Put the uptime check outside the VPS, first, before anything else.
Sign up for a free tier and add an HTTP check against a URL that actually touches your stack — a /health endpoint that queries the database, not just the web server's default page. A check that returns 200 while MySQL is down is worse than no check. If you don't have a health endpoint, write one; it's ten lines in most frameworks.
This is where Better Stack earns its place in the middle of the procedure rather than at the end: one account covers the HTTP check, the heartbeat for your backups, and a log sink, so you aren't stitching three dashboards together for a single VPS. Set the check interval as low as the free tier allows and confirm the alert actually fires by stopping your web server for two minutes on purpose. Do this on day one, not during your first outage.
3. Add push heartbeats for everything that runs on a schedule.
Backups, certificate renewals, log rotation, database dumps. These fail silently by design — a backup job that exits non-zero and writes nothing to stdout is invisible. A heartbeat inverts the logic: the job pings a URL on success, and the service alerts you when the ping doesn't arrive.
# /etc/cron.d/nightly-backup
30 2 * * * root /usr/local/bin/backup.sh && \
curl -fsS -m 10 --retry 3 https://your-heartbeat-url/xxxxxxxx > /dev/null
Give each job a period slightly longer than its schedule — a daily backup gets a 26-hour window, not 24 — so a slow run doesn't page you.
4. Get resource history locally, but keep it small.
For a single VPS, node_exporter plus a Prometheus instance with a short retention window (--storage.tsdb.retention.time=15d) is enough to answer "was it memory or was it disk" after the fact. If you don't want to run Prometheus, the Netdata agent gives you the same graphs with less setup. Either way, cap the retention. The default retention on a small disk is how people turn a monitoring install into a disk-full outage.
Whatever you pick, check its actual footprint rather than trusting a blog post:
ps -o rss= -p $(pgrep -f node_exporter) | awk '{printf "%.0f MB\n", $1/1024}'
5. Fix the alert path before you trust it.
This is the wall. Most VPS providers block outbound port 25, so mail and sendmail on the box accept your message, queue it, retry for days, and never deliver. You configure alerting, see no errors, and assume silence means healthy.
Test it explicitly:
timeout 5 bash -c 'cat < /dev/null > /dev/tcp/gmail-smtp-in.l.google.com/25' \
&& echo "port 25 open" || echo "port 25 blocked"
If it's blocked — it usually is — do not fight it. Route alerts over HTTPS to a webhook, or through an SMTP relay on port 587 with an API key. Every alerting tool worth using supports a webhook, and webhooks don't care about port 25.
6. Cap your logs and ship the important ones off the box.
Journald will eat your disk if you let it:
# /etc/systemd/journald.conf
[Journal]
SystemMaxUse=500M
SystemMaxFileSize=50M
Then decide what leaves the machine. Logs that only exist on the VPS are gone exactly when you need them — disk full, kernel panic, provider rebuild. A free-tier log sink handles auth failures, application errors, and nginx 5xx lines at a volume one VPS will not exceed. Better Stack's log ingestion on the free plan is the reason I'd consolidate there rather than run a separate log shipper to a separate service. If you'd rather not ship logs at all, at minimum push a daily digest of journalctl -p err somewhere off-box.
7. Test the whole chain once, deliberately.
Stop nginx. Confirm the external check goes red within your interval. Confirm the notification reaches your phone, not just your inbox. Reboot the VPS. Confirm the heartbeat jobs resume and the local agent comes back on boot (systemctl is-enabled). A monitoring setup you have never seen fail is a monitoring setup you don't know works.
Where this falls short
Free tiers are not a contract. Monitor counts, check intervals, retention windows, and log volume limits change, and they change in the direction that costs you money. Anything you build on a free tier needs a fallback you've thought about before the email arrives, not after.
Self-hosted monitoring on the monitored box is a single point of failure you built yourself. Uptime Kuma in Docker on the same VPS will not tell you the VPS is down. Prometheus on the same disk will not tell you the disk is full — it dies with it. If you go self-hosted, the monitoring host has to be a different machine, which means you're now paying for two VPSes to save a subscription.
Alert fatigue is the failure mode nobody warns you about. Free tiers make it worse because the cheapest check interval is often coarse, so you compensate by adding more checks, and then you start ignoring the notifications. Three checks that page you and get acted on beat thirty that don't.
And Better Stack specifically: the free tier is genuinely usable for one small VPS, but it is a vendor dependency with a hard ceiling. Retention on logs is short, the check interval is not the fastest one they offer, and you have no on-call escalation at that level. If you're running anything with paying customers and a stated uptime commitment, the free tier is the wrong tool and the paid plan is the actual answer — budget for it rather than discovering the limit during an incident.
If you have more than a handful of VPSes, or you need multi-region checks, or someone else's SLA depends on your uptime, stop reading free-tier guides. Buy the paid tier or hire the on-call. The DIY path costs more than the subscription once your time is priced at anything above zero.
FAQ
Can I monitor a VPS for free without installing anything on it?
Yes, for uptime. An external HTTP or TCP check runs from the provider's network, not yours, so nothing is installed on the VPS and it still works when the box is down. You get reachability, not resource metrics — for CPU, memory, and disk you need an agent or an SSH-based poll.
Why do my VPS alert emails never arrive?
Almost always outbound port 25. Most providers block it to stop spam, so a local MTA accepts the message and queues it forever. Test the port from the box; if it's blocked, send alerts over an HTTPS webhook or an SMTP relay on port 587 instead.
Is Uptime Kuma enough for monitoring a VPS?
It's enough for reachability checks and it's pleasant to run, but it lives on the VPS it watches, so it can't report that VPS being offline. Run it on a separate host, or pair it with an external checker, and add heartbeats for scheduled jobs.
How much RAM does a monitoring stack need on a small VPS?
That depends entirely on what you install — a bare exporter is small, a full Prometheus plus Grafana is not, and Grafana is usually the heaviest piece. Measure it with ps on your own box before committing, and if the VPS has 1 GB of RAM, prefer an agent that ships metrics off-box over a local stack.
Related reading: Self Hosted Log Aggregation on a Single Server That Fits, Server keeps running out of memory? What to check next
Bottom line
External checks first, heartbeats second, local metrics third, and fix the alert delivery path before you trust any of it. For one to three VPSes, a free-tier account with Better Stack covers the first two and the log sink in one place, and you accept a ceiling you'll outgrow. If you want zero vendor dependency, self-host Uptime Kuma on a different machine and point it at the VPS.
Today's concrete step: create a /health endpoint that actually queries your database, add it as an external check, then stop your web server for two minutes and confirm the alert reaches your phone. Everything else in this article is optional until that loop is proven.
Try Better Stack
Uptime + log monitoring.