🔍 Beszel Agent
![]()
Beszel Agent runs on each server you want to monitor. It collects system metrics (CPU, memory, disk, network) and Docker container stats, then reports them back to the Beszel Hub.
🏷️ Category: Monitoring
🐳 Image: henrygd/beszel-agent:latest
🔗 Links
| 📦 Project | github.com/henrygd/beszel |
| 🐛 Support | GitHub Issues |
| 💛 Donate | buymeacoffee.com/henrygd |
🌐 Ports
No ports exposed — the Agent connects outbound to the Beszel Hub only.
💾 Volumes
| Host Path | Container Path | Mode | Description |
|---|---|---|---|
/mnt/cache/appdata/beszel/agent/ | /var/lib/beszel-agent | RW | Agent state & config |
/var/run/docker.sock | /var/run/docker.sock | RO | Docker Socket for container monitoring |
⚙️ Environment Variables
| Variable | Default | Masked | Description |
|---|---|---|---|
HUB_URL | http://[YOUR-HUB-IP]:8090 | ❌ | URL of your Beszel Hub |
LISTEN | 45876 | ❌ | Port the agent listens on |
KEY | `` | ❌ | Public SSH key from the Beszel Hub |
TOKEN | `` | ✅ | Auth token from the Beszel Hub |
🚀 Quick Start
- Make sure Beszel Hub is already running!
- In the Hub UI click Add System
- Copy the Public Key and Token from the dialog
- Open the MOS Hub and search for Beszel Agent
- Set
HUB_URLto your Hub’s IP, e.g.http://192.168.1.100:8090 - Paste the Public Key into
KEY - Paste the Token into
TOKEN - Make sure
LISTENport matches what you entered in the Hub UI (default45876) - Click Install
⚠️ Note: The Agent uses host networking — it needs full network access to accurately report network interface statistics for the host system.
💡 Tip: Install one Agent per server you want to monitor — all agents report back to the same Beszel Hub instance!
⚠️ Port Conflict: Make sure port
45876is not already in use on the host before starting the Agent. You can check with:ss -tlnp | grep 45876If the port is taken, change
LISTENto a free port and update the port in the Beszel Hub UI accordingly!