Grafana + Prometheus on Proxmox (Monitor EVERYTHING)

🚀 *How To Monitor Proxmox with Grafana + Prometheus (Full Setup Guide)* In this video, I’ll show you how to set up a complete monitoring stack for your Proxmox cluster using **Prometheus**, **Grafana**, and **Node Exporter**. This works for multiple nodes and gives you real-time stats like CPU, RAM, disk usage, and more. Perfect for homelabs, servers, and anyone serious about understanding their infrastructure. --- 🧠 What You’ll Build Central monitoring VM (Debian) Prometheus collecting metrics Grafana dashboards Monitoring multiple Proxmox nodes --- ⚙️ Step 1: Install Prometheus ```bash sudo apt update sudo apt install -y prometheus systemctl status prometheus ``` Access: ``` http://YOUR-VM-IP:9090 ``` --- 📊 Step 2: Install Grafana ```bash sudo apt install -y software-properties-common sudo mkdir -p /etc/apt/keyrings wget -q -O - https://packages.grafana.com/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/grafana.gpg echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://packages.grafana.com/oss/deb stable main" | sudo tee /etc/apt/sources.list.d/grafana.list sudo apt update sudo apt install -y grafana sudo systemctl enable --now grafana-server ``` Access: ``` http://YOUR-VM-IP:3000 ``` Default login: ``` admin / admin ``` --- 🖥️ Step 3: Install Node Exporter (on each Proxmox node) ```bash apt update apt install -y prometheus-node-exporter ``` Test: ``` http://YOUR-NODE-IP:9100/metrics ``` --- 🔗 Step 4: Configure Prometheus Edit config: ```bash sudo nano /etc/prometheus/prometheus.yml ``` Add: ```yaml scrape_configs: job_name: 'proxmox-nodes' static_configs: targets: 'NODE1-IP:9100' 'NODE2-IP:9100' ``` Restart: ```bash sudo systemctl restart prometheus ``` --- 🔍 Step 5: Verify Targets Go to: ``` http://YOUR-VM-IP:9090 ``` Search: ``` up ``` You should see both nodes as *UP* --- 📈 Step 6: Add Prometheus to Grafana Go to *Settings → Data Sources* Add *Prometheus* URL: ``` http://localhost:9090 ``` --- 📊 Step 7: Import Dashboard Go to *Dashboards → Import* Use ID: ``` 1860 ``` This gives you a full system monitoring dashboard instantly. --- 🚀 Optional: Proxmox VM Monitoring (Advanced) ```bash pip install prometheus-pve-exporter ``` --- ⚠️ Troubleshooting Make sure port *9100* is open on nodes Double-check IP addresses Restart Prometheus after config changes --- 👍 If this helped: Like 👍 Subscribe 🔔 Drop a comment if you want a Part 2 (alerts, NAS monitoring, etc.) --- #proxmox #grafana #prometheus #homelab #linux #selfhosted