FL1GHT5 Lab • Homelab

Grafana + Prometheus Home Lab Monitoring

Who This Is For

Intermediate.

Think of it like a hospital's full vital-signs monitor instead of just checking someone's pulse once. You're not just confirming something's alive, you can watch the trend and catch trouble before it becomes an emergency.

What You'll Build

A Grafana dashboard showing metrics for at least one host and one container host.

Prerequisites

Prometheus Architecture

Deploy Prometheus and Grafana

$services:
$ prometheus:
$ image: prom/prometheus:latest
$ ports: ["9090:9090"]
$ grafana:
$ image: grafana/grafana:latest
$ ports: ["3000:3000"]

Add Node Exporter to Each Host

$docker run -d --name node-exporter -p 9100:9100 \
$ prom/node-exporter

Configure Scrape Targets

$scrape_configs:
$ - job_name: "nodes"
$ static_configs:
$ - targets: ["host1:9100", "host2:9100"]

Add Prometheus as a Grafana Data Source

Grafana UI → Connections → Data Sources → Prometheus → point it at the Prometheus URL.

Essential Panels

Set Alert Thresholds

Security & Backup Notes

Troubleshooting

Lab Finish Line

Grafana dashboard showing at least one host and one container host.

What to Build Next

Planning a business implementation?

Explore our infrastructure and systems services.

View services