Server monitoring for a small team with Beszel: setup, access and alerts
The point: Beszel gives a small team one dashboard for every server: CPU, memory, disk, network, temperature and per-container stats, with alerts sent to Slack, Telegram or Discord. This guide sets it up for a team, not for one person: one URL, shared access, alerts that reach someone, and a backup.
Disclosure: this post is from DollarDeploy. We maintain the Beszel template mentioned below.
Why it matters
When a startup has 2-5 servers and no DevOps hire, nobody looks at them until something breaks.
- A full disk stops the database before anyone notices.
- A runaway container eats the memory of every other app on the server.
- "Is it slow for you too?" in the team chat is the monitoring system.
Beszel is a lightweight way to fix that. The hub is a web app (built on PocketBase), and a small agent runs on each server you want to watch.
What Beszel gives you
- Server metrics with history: CPU, memory, disk, network and temperature.
- Docker stats: CPU, memory and network history for each container.
- Alerts: configurable for most metrics, sent through Shoutrrr URLs to Slack, Teams, Telegram, Discord, Ntfy, OpsGenie, Pushover, Matrix and more.
- Users and roles: admin, user and read-only accounts, plus OAuth/OIDC sign-in.
- Backups: automatic, to disk or S3-compatible storage.
- REST API for anything you want to automate.
Step 1: one URL for the hub
Run the hub on a small server of its own or next to your apps. The DollarDeploy Beszel template needs 1 vCPU, 1 GB RAM and 4 GB of disk and deploys in about 2 minutes.
- What it runs: a Docker Compose file with the hub (
henrygd/beszel) and a local agent (henrygd/beszel-agent) that watches the same server. - HTTPS: the hub listens on
127.0.0.1only, and DollarDeploy puts it behind HTTPS on the app URL. Nothing else is exposed. - Secrets:
TOKENandKEYare generated at deploy time.
After the first run: add the local agent in the hub ("Add System"), copy its KEY and TOKEN into the app's environment, and redeploy. The template's post-launch note walks you through it.
Step 2: fix sign-in behind the proxy
Since Beszel 0.21.2, sign-in is limited to 10 attempts per minute per client address. Behind a proxy every user looks like the same address, so the whole team shares one limit.
The fix: open the PocketBase admin at <your-url>/_/, go to Settings > Application > User IP proxy headers, and add X-Forwarded-For.
Step 3: add every server
For each server, open "Add System" in the hub. It gives you either a docker-compose.yml for the agent or a one-line install command for Linux (it creates a beszel user and runs the agent as a service).
- Many servers: a universal token (
/settings/tokens) lets agents connect without adding each system first. - Green means connected. A red system usually means a network or key problem: Beszel's "Common issues" page covers it.
Step 4: give the team access, not the admin password
Do not share one login. Beszel has three roles:
- Admin: backups, SMTP settings and the YAML config export. The export contains every system's agent token, so keep this role to the people you trust with the whole hub.
- User: adds their own systems and alerts.
- Read only: sees the systems an admin shares with them and can set alerts. Good for the rest of the team.
Sign-in with Google, GitHub or Microsoft: enable OAuth2 on the users collection in the PocketBase admin and set the callback URL to <your-url>/api/oauth2-redirect. Then set DISABLE_PASSWORD_AUTH=true if you want SSO only. Beszel does not create users automatically unless you set USER_CREATION=true.
Sharing: add users to a system's users field, or set SHARE_ALL_SYSTEMS=true so everyone sees every server.
Step 5: alerts that reach a person
A dashboard nobody opens is not monitoring.
- Add one notification URL in Settings > Notifications: the team's Slack or Telegram channel works well.
- Turn alerts on per system in the systems table. Start with disk, memory and CPU on your production servers.
- Keep it quiet: a channel full of noise gets muted. Start with a few alerts and add more when one would have helped.
Step 6: back up the hub and pin the version
- Backups: turn on Beszel's automatic backups to S3-compatible storage, so the history and settings survive the server.
- Upgrades: the template pins
BESZEL_VERSION(0.21.2 today). To upgrade, read the release notes, change the variable and redeploy. Update the agents to the same version.
Yes, but
- Beszel watches servers, not your app's URL. It will not tell you that the login page returns an error while CPU looks fine. Add an uptime check for that (for example Uptime Kuma, also a template).
- DollarDeploy has no app-down alert. It notifies on deploys, failed tasks, cron jobs and backups, and shows monitoring and logs for the apps it runs. Beszel adds the per-server and per-container history and the alerts.
- It is one more app to keep running. Pin the version, back it up, and give it a small server or a corner of one you already have.
The bottom line
An afternoon of setup gets a small team one URL with every server on it, read-only access for everyone, and alerts in the channel people already read.
Your servers, watched without a DevOps hire. DollarDeploy deploys Beszel and the rest of your stack to servers you own, with HTTPS, monitoring and logs, cron jobs and backups set up for the whole team, so you ship the product and we carry the ops. Deploy Beszel with DollarDeploy