Is Beszel or Komari Better for Monitoring My VPS?

2026-11-29
Brian

Subscribe
Get New Posts by Email
New RepoSquare posts in your inbox: comparisons, setup guides and explainers on open-source tools and AI coding agents. No spam, and you can unsubscribe anytime.

Your small VPS (a rented virtual server) slows down at 2 a.m. and you find out at 9 a.m. from a customer. A server monitor fixes that. It is a small program on each server that reports CPU, memory and disk to one dashboard, so you see the spike when it happens.

Beszel vs Komari is the matchup most people search for, because Beszel and Komari are both light, self-hosted (you run it on your own machine, no paid service) monitors that promise to be tiny. So I ran both, side by side, on the same Linux machine for the same stretch of time.

The short version: the RAM numbers are a tie, and the defaults are not. Pick Beszel if the dashboard is only for you and you want nothing on your servers except a reporter. Pick Komari if you want a public status page and the option to run commands from the browser, then turn off the remote shell unless you need it.

A reporter on every server, one screen for the reports

Mind map of Beszel vs Komari: RAM is a tie at about 52 MB and 59 MB, Komari dashboard is public by default, Komari can run commands, Beszel is login-only, pick Beszel unless you want a status page

It is a reporter on every server plus one screen that collects the reports. Knowing these two parts makes every difference below easy to follow.

Think of a shop chain. Each shop has a clerk who counts stock, and head office has one board that shows every shop. The clerk is the agent (the small program that runs on each server and reads its numbers). The board is the hub (the dashboard program that stores the numbers and draws charts).

Three VPS agents sending CPU, RAM and disk numbers to one hub

So you install one hub on a cheap server or a home box, and one agent on every server you want to watch. Even an old Android phone can be that home box. Both Beszel and Komari work exactly this way. The interesting part is how the clerk talks to head office.

Push or pull: how the numbers travel

Komari’s agent pushes a report every few seconds. Beszel’s hub asks each agent once a minute. That one design choice changes traffic, history and what the hub can do to your server.

Komari’s agent opens a WebSocket (a connection that stays open so both sides can send data any time) to the hub and sends fresh numbers every 3 seconds by default. That is why its dashboard feels live.

Beszel flips the direction. By default the hub connects to the agent over SSH (the same secure login protocol you use to reach a server) and pulls stats. In my run, Beszel saved exactly one record per minute. The agent only accepts connections signed with the hub’s key.

Komari agent pushes every 3 seconds, Beszel hub pulls one record a minute

Beszel also has a WebSocket mode where the agent calls the hub instead. Its docs recommend that mode with an HTTPS hub address when the hub and agents talk across the public internet, because the SSH mode does not check the agent’s host key.

That push-versus-pull split shows up in network traffic too. Over the same few minutes, the Komari agent moved roughly three times more data than the Beszel agent. Both were tiny, well under a megabyte an hour, so this only matters on metered links.

How much RAM do Beszel and Komari really use?

About the same. Hub and agent together came to roughly 59 MB for Komari and 52 MB for Beszel. If memory is your only reason to pick, flip a coin.

Here is how I measured it. I ran each hub and each agent in its own Docker container on one Linux machine, connected one agent to each hub, then sampled memory every 30 seconds for about ten minutes. The number below is RSS (the real memory a process holds right now, as top shows it), the median of all samples.

PartKomariBeszel
Hub, real memory41.5 MB38.2 MB
Agent, real memory17.2 MB13.6 MB
Agent CPU at restabout 0.05%about 0.01%
Hub image on disk64 MB48 MB
Agent image on disk24 MB16 MB
Beszel vs Komari memory use for hub and agent, measured side by side on one Linux machine

Docker’s own memory count, which leaves out shared library pages, was lower for both: about 10 MB for the Komari agent and 5 MB for the Beszel agent. Either way, the agent you put on every server costs less than a single browser tab. If you want to know how much headroom your server has in the first place, benchmark the VPS before you add anything.

Two notes keep this honest. This was one machine with one agent each, not a fleet. And the Beszel hub had short CPU spikes when it ran its once-a-minute collection, up to about 8%, while Komari stayed flat because the agents do the pushing.

So does a few megabytes decide anything? Not here. What the tools do by default will.

Is Komari’s dashboard public by default?

Yes. Anyone who can reach the Komari address sees your servers, their CPU model, memory, disk and live traffic, without logging in. Beszel shows a login screen and nothing else.

That is a feature, not a bug. Komari is built to double as a public status page (a page that shows visitors whether your servers are up). Right after setup, I opened Komari in a fresh browser with no login and saw the full server card.

Komari dashboard showing server CPU, RAM and disk without logging in

If you do not want that, Komari has a private site switch in its settings. I turned it on, and the same page then showed empty boxes while the data request returned “Private site is enabled, please login first.” One click fixes it. You just have to know to click.

Beszel went the other way. Its first screen asks you to create an admin account, and every page I opened after that needed a login. There is no public view to forget about.

Komari’s remote command feature, tested

Yes, by default. From the Komari admin, I ran a command on the monitored server and got back a root user in a few milliseconds. That is the biggest difference between these two tools.

First, the idea in a few words. A remote shell (a way to type commands on another computer) is handy, because you can restart a crashed service from your phone. It is also a master key. Whoever holds the Komari admin login can then run anything on every server that has the agent.

I sent the command id && hostname through Komari’s remote run feature. The agent answered with uid=0(root) and the machine name. Then I restarted the agent with one extra flag, --disable-web-ssh, and sent the same command. The reply was “Remote control is disabled.”

Komari remote run returns root, then Remote control is disabled after the --disable-web-ssh flag

Do you need that key at all? If not, the fix is one flag on each agent. Komari’s own production example uses it. If you never planned to run commands from a browser, add it on day one, then check the rest of your VPS security.

Beszel’s agent has no such channel. Its SSH server gives no terminal and accepts no input. The Beszel docs put it plainly: it is “impossible to execute commands on the agent even if your private key is compromised.” The worst a stolen hub can do there is read numbers and container details.

Setup takes about five minutes for each

Both take about five minutes. Komari has a five-step browser wizard. Beszel has one account form and a copy-paste agent command. Neither needs a separate database server.

For Komari, I started the hub container, opened port 25774, and the wizard asked for an admin username and password, a site name and where to store metrics. It uses SQLite (a database that is just one file) by default. Then I added a server in the admin, copied its token and started the agent with the hub address and that token.

docker run -d -p 25774:25774 -v $(pwd)/data:/app/data \
  --name komari ghcr.io/komari-monitor/komari:latest

For Beszel, I started the hub on port 8090, created the admin account, clicked Add System and copied the public key it showed. The agent took that key and started listening on port 45876. Within seconds the server showed as Up.

Beszel All Systems dashboard after login with one server up

One small thing surprised me with Komari. The agent looked up the server’s public IP address on start, and the hub’s location lookup is switched on by default. Neither is harmful, but if your servers should not call outside services, check those settings.

Beszel or Komari: side by side

Beszel is the private, read-only choice. Komari is the public, hands-on choice. Here is everything from my run in one table.

BeszelKomari
Hub plus agent memoryabout 52 MBabout 59 MB
Who starts the connectionhub pulls (SSH) or agent calls in (WebSocket)agent pushes (WebSocket)
How oftenone saved record a minuteevery 3 seconds
Dashboard without loginnoyes, until you turn on private site
Run commands from the dashboardnot possibleon by default, off with --disable-web-ssh
Alertsyesyes
Beszel vs Komari comparison of memory, connection direction, login and remote commands

I checked that both have alert settings in their dashboards, but I have not tested alert delivery, so I am not ranking them on it.

My pick: Beszel, or Komari with one flag

Beszel if the dashboard is only for you. Komari if visitors should see it or you want remote commands, with those two defaults reviewed. Most people with a few VPS boxes fall into the first group.

There is a fair case for Komari. If you run a hosting side project and want a public page that shows your servers are healthy, it gives you that with no extra tool, and the live three-second view is nicer to watch. The remote run feature can save a late-night SSH session.

Decision chart for picking Beszel or Komari

But a monitor is something you install once and forget. A forgotten public page leaks your hardware details, and a forgotten remote shell is a master key in a browser tab. Beszel has neither to forget, and its memory cost is the same.

So the RAM numbers were a tie. The defaults decided it. Start with Beszel, and if you do pick Komari, add --disable-web-ssh before your first agent goes live.

Get New Posts by Email
New RepoSquare posts in your inbox: comparisons, setup guides and explainers on open-source tools and AI coding agents. No spam, and you can unsubscribe anytime.

Leave a comment