Raspberry Pi monitoring tool with dashboard for multiple RPi devices

Raspberry Pi Monitoring and Dashboard

I have created a simple monitoring tool for multiple RPi devices with a dashboard. My need for monitoring stems from a fact that I use multiple Raspberry Pis for different purposes such as dashboards. Sometimes they would crash or be unavailable (disconnected from a network). This monitoring script addresses that as it offers real-time dashboard.

The number of devices you can monitor is unlimited.

Data reported

It currently reports these data:

  • hostname
  • CPU temperature
  • network IP address
  • ping results
  • running browser (only Firefox and Chromium are checked at the moment)
  • optionally also a screenshot of current graphical X display (using scrot)
Raspberry Pi monitoring with screenshot of graphical display (X screen)
Raspberry Pi monitoring with screenshot of graphical display (X screen)

Architecture

The whole monitoring is as simple as possible and consists of two files (+one config). One file is meant to be used at a server and works both as a data receiver and dashboard written in PHP. Another file is a client reporting script written in Python and comes with a TOML config file.

Digest browser authentication is optional, you can set username and password to required login before dashboard display.

RPi dashboard

The dashboard looks like this:

Raspberry Pi monitoring tool with dashboard for multiple RPi devices
Raspberry Pi monitoring tool with dashboard for multiple RPi devices

You can download RPi Monitor Dashboard from my Github repo under MIT License.

Let me know if you decided to use it and of course, any improvements via pull requests are welcome.


Have a comment? Join discussion on Mastodon as a reply to: @dusoft@fosstodon.org