Skip to content

Node Watcher is a simple monitoring system using Prometheus and Grafana.

License

Notifications You must be signed in to change notification settings

albeus/node-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Watcher

Node Watcher is a simple monitoring system using Prometheus and Grafana.

The system is based on Docker containers managed by docker-composer.

Features

  • Prometheus collects metrics from target node using Prometheus Node Exporter.

  • A Grafana dashboard allows you to visualize the metrics.

  • Metrics can be inspected in alternative ways:

    • using the Prometheus web interface;
    • direct access to Node Exporter endpoint (eg. using curl).

Requirements

Docker containers

  • Prometheus:

    • it will store the metrics in its local time-series database;
    • the web GUI will be accessible on localhost at address http://localhost:9090.
  • Nodeexporter:

    • it is configured to access to the host for collecting system information (rootfs, proc, sys);
    • it is accessible on localhost at the address http://localhost:9100/metrics.
  • Grafana:

    • it is autoconfigured to access Prometheus database;
    • it includes a simple dashboard to show CPU utilization, free memory and disk space;
    • it is accessible on localhost at the address http://locahost:3000

Quick start

Demo setup for monitoring the host itself.

  1. Install docker and docker-compose (see Requirements).

  2. From node-watcher project dir run containers:

    docker-compose up -d
  3. Login to grafana dashboard (user: admin; password: admin): http://localhost:3000

  4. Try the Prometheus web GUI: http://localhost:9090

To monitor a different server, install node-exporter on it and modify the "target" parameter in Prometheus configuration accordingly.

Author

Alberto Eusebi [email protected].

About

Node Watcher is a simple monitoring system using Prometheus and Grafana.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published