Skip to content

ZdravecPanov/Prometheus-Grafana-Monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus + Grafana Monitoring

Production-style monitoring project for a mixed Linux and Windows environment using Prometheus, Grafana, node_exporter, and windows_exporter.

This repository documents a real lab setup built on Ubuntu Server and a Windows host. It includes installation steps, Prometheus configuration, Grafana dashboard documentation, working PromQL examples, and troubleshooting notes based on the actual build process.

Stack

  • Prometheus
  • Grafana
  • node_exporter
  • windows_exporter
  • Ubuntu Server on ESXi
  • Windows monitoring target

Environment

  • Monitoring server: 192.168.1.52
  • Windows monitored host: 192.168.1.50
  • Grafana: http://192.168.1.52:3000
  • Prometheus: http://192.168.1.52:9090
  • Linux exporter: http://192.168.1.52:9100/metrics
  • Windows exporter: http://192.168.1.50:9182/metrics

What Is Included

  • Native Prometheus installation on Ubuntu
  • Native Grafana setup using Prometheus as datasource
  • Linux host monitoring with node_exporter
  • Windows host monitoring with windows_exporter
  • Working prometheus.yml baseline
  • Dashboard JSON and extracted Grafana queries
  • Variable-driven Windows dashboard logic (server, disk)
  • Troubleshooting notes from the real setup and panel fixes

Repository Structure

  • README.md - full setup walkthrough and working queries
  • INDEX.md - quick navigation page
  • grafana-queries.md - PromQL queries extracted from the dashboard JSON
  • dashboard-spec.md - dashboard structure and panel inventory
  • SCREENSHOTS-GUIDE.md - recommended screenshots for portfolio, GitHub, and marketplace listings
  • dashboard/windows-server-professional-monitor.json - Grafana dashboard JSON
  • LICENSE - MIT license

Core Monitoring Flow

Windows Host (192.168.1.50)
  L- windows_exporter :9182
            ¦
            ¡
Ubuntu Monitoring Server (192.168.1.52)
  +- node_exporter :9100
  +- Prometheus :9090
  ¦    +- scrape localhost:9090
  ¦    +- scrape localhost:9100
  ¦    L- scrape 192.168.1.50:9182
  L- Grafana :3000
       L- Prometheus datasource + dashboards

Key Documentation

Dashboard Assets

Practical Outcome

The project results in a working monitoring stack with:

  • Linux and Windows metrics in Prometheus
  • Grafana dashboards with live metrics
  • Dynamic Windows dashboard filtering by server and disk
  • Troubleshooting-backed PromQL that was tested against a real environment
  • Documentation suitable for GitHub, portfolio use, and future setup reuse

Notes

  • This repository is focused on the technical monitoring implementation only.
  • It is suitable as a portfolio project, lab reference, or base for future observability work.
  • Screenshots should be taken only after masking sensitive IPs, hostnames, usernames, or internal labels if you plan to share them publicly.

About

Prometheus and Grafana monitoring project for Linux and Windows hosts, with exporters, dashboards, working PromQL, and setup documentation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors