Last updated on April 7, 2026
Windows Server, Linux and Container Monitoring with Prometheus and Grafana | Quick Guide
A hands-on quick guide covering the full observability stack — from deploying Prometheus and Grafana on Docker to monitoring Linux servers, Windows Server, and containers with Node Exporter, cAdvisor, and Alertmanager. Built on a real Azure lab environment with full screenshots.
This guide walks you through building a complete observability stack from scratch using Prometheus and Grafana on Docker. Starting from core concepts like metrics, exporters, and the pull model, it moves through five hands-on labs covering Linux monitoring, container performance with cAdvisor, Windows Server monitoring with AD and DNS collectors, and production-grade alerting with Alertmanager. Every lab is built on a real Rocky Linux and Azure environment at abdelwahed.me with full terminal output and dashboard screenshots.
What This Guide Covers
This hands-on guide walks you through the full monitoring stack:
- Prometheus Core Concepts — Metrics, labels, exporters, pull vs push model, Alertmanager, and Grafana overview
- Docker-Based Monitoring Stack — Deploy Prometheus, Node Exporter, and Grafana as Docker containers on Rocky Linux with custom bridge networking
- Container Monitoring with cAdvisor — Monitor Docker container CPU, memory, and network metrics using cAdvisor and Grafana dashboard ID 193
- Windows Server Monitoring — Install Windows Exporter with AD and DNS collectors, connect to Prometheus, and import Grafana dashboards 21243 and 20920
- Linux Node Monitoring — Install Node Exporter as a systemd service on Rocky Linux, add it to Prometheus, and visualize with the Node Exporter Full dashboard (ID 1860)
- Alerting with Alertmanager — Write PromQL alert rules for CPU and memory thresholds on both instances and containers, deploy Alertmanager, and verify firing alerts
Complete Lab Index
The 16-page guide is structured into 5 labs plus core concepts:
- Part 00: Prometheus Core Concepts — Metrics, Labels, Pull Model & Components
- Lab 1: Deploy Prometheus, Node Exporter & Grafana on Rocky Linux (Docker) — Docker network, prometheus.yml, container launch, data source, and Node Exporter Full dashboard (ID 1860)
- Lab 2: Container Performance Monitoring with cAdvisor, Prometheus & Grafana — NGINX, Redis & Alpine containers with restart policies, cAdvisor deployment, and dashboard ID 193
- Lab 3: Windows Server Monitoring with AD & DNS Collectors — Windows Exporter (v0.31.3) via MSI with firewall rule, Windows targets in Prometheus, and dashboards 21243 / 20920
- Lab 4: Linux Server Monitoring with Node Exporter as a systemd Service — download, install, and run with a dedicated service account
- Lab 5: CPU & Memory Alerting with Prometheus Alert Rules & Alertmanager — PromQL rules for HighCPUUsage, ContainerCPUUsage, and MemoryUsage, plus Alertmanager deployment and firing-alert verification
Perfect For
- DevOps Engineers building or extending an observability stack for containerised and hybrid infrastructure
- SysAdmins who want real-time visibility into Linux and Windows server health without a heavyweight APM tool
- Cloud Engineers deploying monitoring stacks on Azure VMs or any cloud provider using Docker and open-source tools
Guide Details
- Stack: Prometheus · Grafana · Alertmanager
- Platform: Docker · Rocky Linux · Azure
- Length: 16 Pages
- Version: 25.07
Ready to Build Your Monitoring Stack?
Download the complete 16-page guide covering the full Prometheus and Grafana monitoring stack — step-by-step labs, real screenshots, zero fluff. Free to download.
📥 Download the Prometheus & Grafana Guide (PDF)
Have questions about Prometheus, Grafana, or building your observability stack? Connect with me directly through the links below!