Monitoring Your Home Lab

4 min readJul 10, 2021

Using Prometheus and Grafana to visualize your environment

Everyone loves dashboards

Why Would You Do This?

If you have a few Raspberry Pis doing this and that, having a centralized location to monitor them is a nice thing to have. I have a Pihole and Jellyfin, as well as a file server and a utility server that I run a Ngnix reverse proxy and VPN on. The utility server was pretty under utilized, so I decided to have it run monitoring for my servers as well check and store my internet speed. Having all this data in a couple of dashboards is useful to manage a small home lab.

The Backbone of Monitoring, Prometheus

To get started, let’s install Prometheus on our monitoring server.

Update Rasbian.

sudo apt update && sudo apt upgrade -y

Download the latest release of Prometheus for Armv7 from the Prometheus Github page.


Extract the download and move the extracted folder to a folder simply called “Prometheus”. Then remove the download gzip.

tar xfz prometheux-2.28.1.linux-armv7.tar.gz

mv prometheus-2.28.1.linux-armv7/ prometheus/

rm prometheus-2.28.1.linux-armv7.tar.gz

Now create a service for Prometheus.

sudo nano /etc/systemd/system/prometheus.service

Paste the following into the file:

Description=Prometheus Server
ExecStart=/home/pi/prometheus/prometheus \
--config.file=/home/pi/prometheus/prometheus.yml \

Enable the new service.

sudo systemctl enable prometheus

Start the new service.

sudo systemctl start prometheus


Cybersecurity architect. Security dev and researcher. Infosec nerd. Linux enthusiast. All opinions and views are my own. Polite, professional, prepared.