Beszel

Beszel
Beszel's Homepage

Beszel is a lightweight server monitoring platform written mostly in Go. It provides detailed system metrics, historical data, and alert functionality. It also supports multiple users, OAuth, and API access. A quick binary install or docker command and you are up and running.

Beszel appears simple when you first open the dashboard, but once you start looking at some of pages past the dashboard, you start to see some really cool features. Recent releases have added the ability to view the systems battery charge, Wi-Fi signal, and even if there are updates available for the system services.

Systems Overview
Systems Overview

Adding a System

Adding a system is quick and easy. You simply click on Add System and it displays a dialog box that is mostly filled out already. You just need to input what you want the systems name to be and its IP address or DNS resolvable hostname. Beszel communicates with your systems over SSH and creates a unique key for every system. It also has the ability to create a universal token if you want to create some form of automation for adding systems. The Beszel agent can be a binary or a docker container and the Add System dialog box formats a command that is ready to copy and paste for a variety of systems.

Agent Installation
Agent Installation

System Metrics

When clicking into a system, a variety of metric graphs are displayed. Most of the common metric information can be found on this screen including CPU usage, memory usage, disk usage, disk input/output, network bandwidth, and more.

System Metrics 1
System Metrics 1
System Metrics 2
System Metrics 2

Below the metric graphs is a complete list of all Systemd services running on my machine and a couple of other features including a list of available package updates and a section for you to create network monitors. The package updates section displays the current version and the available version for each package. By default there are no network monitors, but you can create ICMP, TCP, HTTP, and DNS monitors. I think this is a great feature because it allows you to quickly test and monitor connections between different systems. The HTTP monitor also tracks certificate expiration details.

The Windows binary does not display a list of services, but it does allow you to create network monitors.

Package Updates and Network Monitors
Package Updates and Network Monitors

Digging Deeper

It would take you quite a while to create this kind of dashboard using Prometheus, InfluxDB, and Grafana. I have spent hours working on a dashboard for just a couple of these features. These broad metrics are great on their own, but Beszel goes beyond broad metrics by allowing you to drill down into more specific metrics.

CPU

The CPU usage is broken down by cores and allows you to see which cores are being utilized the most. I think this is a great feature for CPUs that contain performance and efficient cores because you can quickly find details on which cores are being utilized.

CPU Metrics
CPU Metrics

Disk

Beszel also provides Disk Input/Output details including the percentage of time spent on read and writes, the average number of I/O operations in the queue and the average time it takes those operations to make it through the queue.

Disk Metrics
Disk Metrics

Systemd Services

When you get down to list of SystemD services, you can drill down into each service and see the logs, description, the unit file and where it is stored, active state, and much more. If you want to check on a specific service it saves you from having to run several commands to see this information and provides it in an easy to consume format.

Systemd Service Details
Systemd Service Details

Network Monitor

Drilling down into the network monitors allows you to see graphs and also display comparisons on those graphs between network monitors on all systems. You can compare DNS lookup speeds or test for latency. One idea that I had was to use it to compare speeds of devices connected over my VPN to devices on my local network. You could also use it as an up time monitoring service similar to Uptime Kuma.

Network Monitor Details
Network Monitor Details

Other

Beszel also provides a menu to view all running Docker containers across all systems. It provides a quick view of system metrics, health state, mapped ports, and image. You can also drill into each container to see the logs and details. You do have to map the docker socket to the Beszel agent for this functionality though.

Container Details
Container Details

There is also an S.M.A.R.T. dashboard for all drives across all systems that allows you to drill down into the drives and see all of the S.M.A.R.T. metrics.

S.M.A.R.T. Details
S.M.A.R.T. Details

Beszel also allows the creation of alerts so that you can be notified if there are issues with any of your machines or services. The alerts are configured in the PocketBase backend. To access the backend you can either go to https://beszel.yourdomain.com/_/#/login or you can click on the user icon and select Systems.

You configure the user to receive the alert and the system or systems to monitor. Then you specify which metric and what value should trigger the alert. You can also specify the number of minutes that it should hold that metric before alerting. For example, you can set an alert for if a systems temperature remains above 80 degrees for over 2 minutes. Then you won't get alerts for a quick temperature spike, but you will receive an alert if you system has been overheating for an extended period of time.

Alert Creation Dialog
Alert Creation

Beszel is a simple program, but it is packed with features. It is also so easy to use that you can get it up and going in under 10 minutes. I would definitely recommend this for anyone that wants a way to monitor their home lab or even production systems. It provides a centralized location to monitor all of the diverse systems you have running and just works. I have been running Beszel for well over a year now. At first, I still maintained my Prometheus, InfluxDB, Grafana stack, but while downsizing, I decided to keep Beszel.

If you are interested is setting this up in your own environment, the documentation can be found here and this is a link to the GitHub repository.