This repository contains the basic configurations for Prometheus, Grafana, and Node Exporter for system monitoring. These configurations use Docker Compose as a tool to run the applications.
- Red Hat Based Distro this configurations is for system with Red Hat based distro such as Red Hat Enterprise Linux, Rocky Linux and Alma Linux.
- Debian Based Distro this configurations is for system with Debian based distro such as Debian and Ubuntu server.
if you're a newbie learning about container i suggest you using Debian base distro as the starting point.
Make sure before you use this configurations Docker already installed in your machine For tutorial installing Docker you can go to the Docker Official Documentations
- Clone the Repository https://github.com/mirwanasikin/monitoring_tool.
cdinto Debian and look for the file with namecompose.yaml- Inside the directory do
docker compose up -d - Make sure all the container are running by typing
docker ps - After the container is running open your browser and type
http://localhost:9090/targetsif you're using vm go tohttp://IP_VM:9090:targetsmake sure Prometheus and Node Exporter are up - Then go to
http://localhost:3000orhttp://IP_VM:3000to go into Grafana menu. - Inside Grafana menu go search data source and find Prometheus.
- When the Prometheus asking for url just type
http://prometheus:9090 - save and test.
- Go into the dashboard, choose add dashboard and choose import.
- import 1860 and okay
- Congratulations you already install Prometheus, Grafana and Node Exporter into your machine using container.
- Clone the Repository https://github.com/mirwanasikin/monitoring_tool.
- Unlike Debian, this Docker-based installation requires installing Node Exporter on the host. You can read more about this in the official Prometheus Documentations.
cdinto RHEL and look for the file with namecompose.yaml- Inside the directory do
docker compose up -d - Make sure all the container are running by typing
docker ps - After the container is running open your browser and type
http://localhost:9090/targetsif you're using vm go tohttp://IP_VM:9090:targetsmake sure Prometheus and Node Exporter are up - Then go to
http://localhost:3000orhttp://IP_VM:3000to go into Grafana menu. - Inside Grafana menu go search data source and find Prometheus.
- When the Prometheus asking for url just type
http://localhost:9090or if you're using VM usehttp://IP_VM:9090 - save and test.
- Go into the dashboard, choose add dashboard and choose import.
- import 1860 and okay
- Congratulations you already install Prometheus, Grafana and Node Exporter into your machine using container.