Lightweight DIY Linux Server Monitoring Dashboard Using MQTT + Node-RED

Having som Linux servers up and running I checked out 
monitoring tools like Nagios, Zabbix, Cockpit or Prometheus. For small setups, home labs, or lightweight environments, those solutions can feel like using a sledgehammer to crack a nut.

In this post, I’ll show you how to build a lightweight monitoring agent using nothing more than a Bash script, MQTT, and Node-RED. The script collects key metrics from your server — disk usage, memory consumption, CPU load, and available package upgrades — then publishes them to an MQTT broker. From there, Node-RED visualizes the data in a clean, real-time dashboard.

The result? A simple but powerful monitoring system that works across multiple servers, scales with your needs, and gives you instant visibility into the health of your infrastructure. And the best part: you control every piece of it.

Prerequisites
  • A Linux server (Debian/Ubuntu or Raspberry Pi).
  • MQTT broker (e.g., Mosquitto).
  • Node-RED with Dashboard nodes installed.
  • Basic familiarity with Bash.



To be continued !!








Comments

Popular posts, last 30 days

Raspberry Pi OS Lite with GUI, RDP, VNC, Chromium

iCloud drive sync, or mount, with a Linux, Ubuntu, device

Raspberry Pi 2, 3, 4, 5 USB SSD or USB drive boot

NetworkManager UI and access point, hotspot

Home Assistant with VirtualBox or Proxmox or Ubuntu KVM ???

Installing Ubuntu 24.04 or 24.10/25.04 on an old MacBook Air(2011)

Clone the Raspberry boot disk

Waveshare CAN hat with Signal K & OpenPlotter

Signal K charts, offline & online

Raspberry Pi OS install with Mac/Windows/Linux