Illustrated title card for the guide: Beszel vs Prometheus and Grafana for Homelab Monitoring
server-monitoring

Beszel vs Prometheus and Grafana for Homelab Monitoring

Compare Beszel with Prometheus and Grafana for Linux host and Docker monitoring, then verify your first host metrics on either stack.

Choose Beszel if you want built-in host and Docker history with configurable alerts. Choose Prometheus with Grafana if you want to query application metrics with PromQL and build dashboards around those queries. Beszel’s supported metrics · Prometheus architecture · Grafana’s Prometheus query editor

What each stack collects

What you needBeszelPrometheus with Grafana
Linux CPU, memory and disk metricsAn agent on each monitored system sends metrics to the hub, which includes the dashboard. Beszel architectureNode Exporter exposes host metrics, Prometheus scrapes and stores them, and Grafana queries Prometheus. Host metric examples · Prometheus architecture
Docker container CPU, memory and network historyThe hub shows per-container history from the agent. Beszel’s supported metricsPrometheus scrapes container metrics from cAdvisor, and Grafana can display those metrics. Prometheus cAdvisor guide · Prometheus architecture
Alerts and notificationsEnable alerts in the systems table and set the Shoutrrr destination URL under Settings → Notifications. Beszel notificationsCreate Grafana-managed rules against the Prometheus data source, or define rules in Prometheus and send their alerts to Alertmanager for notification delivery. Grafana alerting · Prometheus alerting

To check which container was using memory when a host slowed down, start with Beszel. To plot an application’s request rate alongside host metrics, start with Prometheus and Grafana. Beszel’s supported metrics · Prometheus application metrics · Grafana’s Prometheus query editor

Connect the first Beszel agent

Use the local-agent Compose example on a Linux host with Docker Compose. Keep the trial on a private network because the example publishes the hub port. The example also mounts the Docker daemon socket. Docker recommends allowing only trusted users to control the daemon. Beszel getting started · Docker port publishing · Docker Engine security

services:
  beszel:
    image: henrygd/beszel:latest
    container_name: beszel
    restart: unless-stopped
    environment:
      APP_URL: http://localhost:8090
    ports:
      - 8090:8090
    volumes:
      - ./beszel_data:/beszel_data
      - ./beszel_socket:/beszel_socket
    # healthcheck:
    #   test: ['CMD', '/beszel', 'health', '--url', 'http://localhost:8090']
    #   interval: 120s
    #   start_period: 10s
    #   timeout: 5s

  beszel-agent:
    image: henrygd/beszel-agent:latest
    container_name: beszel-agent
    restart: unless-stopped
    network_mode: host
    volumes:
      - ./beszel_agent_data:/var/lib/beszel-agent
      - ./beszel_socket:/beszel_socket
      - /var/run/docker.sock:/var/run/docker.sock:ro
    environment:
      LISTEN: /beszel_socket/beszel.sock
      HUB_URL: http://localhost:8090
      TOKEN: <token>
      KEY: "<key>"
    # healthcheck:
    #   test: ['CMD', '/agent', 'health']
    #   interval: 120s
  1. Save the Compose example above as docker-compose.yml. Run docker compose up -d in that directory. Open http://localhost:8090 from the host and create the admin account. Beszel hub setup
  2. Open Add System and enter /beszel_socket/beszel.sock in Host / IP. Set the agent’s KEY and TOKEN in the Compose file to the public key and token from the dialog. Beszel local-agent setup
  3. Run docker compose up -d again, then click Add System in the dialog. Look for the new system to turn green in the table. View the host metrics in the hub dashboard. Beszel getting started · Beszel hub dashboard

Verify the first Prometheus scrape and Grafana query

For this trial, run all three components directly on the same Linux host. Install Grafana and extract the Prometheus and Node Exporter archives before starting. Keep the Prometheus HTTP endpoint off public networks. Users with access to the endpoint can read all of its time series. Node Exporter guide · Grafana installation · Prometheus security model

  1. From the extracted Node Exporter directory, run ./node_exporter. In another terminal, run curl http://localhost:9100/metrics to check that the exporter returns metrics. Node Exporter guide

  2. In the extracted Prometheus directory, use this prometheus.yml for the trial. On an existing instance, add the node job to the current scrape_configs list and restart Prometheus. Node Exporter scrape configuration · Prometheus configuration example

    global:
      scrape_interval: 15s
    scrape_configs:
      - job_name: node
        static_configs:
          - targets: ['localhost:9100']
  3. For a fresh instance, start Prometheus with ./prometheus --config.file=./prometheus.yml. In the expression browser at http://localhost:9090/query, run up and check the series for the node job. A value of 1 means the scrape succeeded and 0 means it failed. Node Exporter guide · Prometheus expression browser · Prometheus scrape health

  4. As a Grafana organization administrator, open Connections → Add new connection. Find Prometheus, select it and click Add new data source. Set Prometheus server URL to http://localhost:9090 and click Save & test. Look for “Successfully queried the Prometheus API.” Grafana data source setup

  5. In Grafana Explore, select that Prometheus data source. Switch to Code, enter node_memory_MemAvailable_bytes and click Run query. Look for the host’s available-memory series. Prometheus metric example · Grafana Code mode · Grafana Explore controls

If you use Docker Compose to run Grafana and Prometheus in separate containers, use the Prometheus hostname in the data source URL. Each container has its own localhost. Grafana connection settings

Evidence and limits. The Beszel 0.21.2 guide, the Prometheus documentation, and the Grafana 13.3 documentation were checked on November 26, 2026. The example steps were not run.

Sources

  1. Beszel architecture and supported metrics
  2. Beszel getting started
  3. Beszel notifications
  4. Docker Engine security
  5. Docker port publishing
  6. Prometheus overview
  7. Monitoring Linux host metrics with Node Exporter
  8. Monitoring Docker container metrics using cAdvisor
  9. Prometheus jobs and instances
  10. First steps with Prometheus
  11. Prometheus alerting overview
  12. Prometheus security model
  13. Install Grafana
  14. Configure the Prometheus data source in Grafana
  15. Grafana Prometheus query editor
  16. Grafana Explore query controls
  17. Prometheus alerting in Grafana

Related

Illustrated title card for the guide: Beszel Hub and Agent Docker Compose Setup for Multiple Hosts

Beszel Hub and Agent Docker Compose Setup for Multiple Hosts

Deploy Beszel Hub and Docker Compose agents across multiple hosts using Unix sockets, WebSockets, SSH keys, and universal tokens for auto-registration.

Illustrated title card for the guide: Uptime Kuma Setup With SSL Expiry Checks and ntfy Alerts

Uptime Kuma Setup With SSL Expiry Checks and ntfy Alerts

Set up Uptime Kuma in Docker, monitor an HTTPS certificate, choose how early to warn, and verify that alerts reach your ntfy topic.

Illustrated title card for the guide: Prometheus Node Exporter and Grafana Dashboard 1860 Setup

Prometheus Node Exporter and Grafana Dashboard 1860 Setup

Set up Prometheus Node Exporter on Linux, confirm Prometheus is scraping host metrics, then import Grafana dashboard 1860 and troubleshoot empty panels.