/system-monitor

POC to build a system monitor using Grafana + Prometheus + Node_exporter

Primary LanguageShellCreative Commons Attribution Share Alike 4.0 InternationalCC-BY-SA-4.0

System Monitor

Description

POC (Prove Of Concept) of system monitor to test and study Grafana + Prometheus + node_exporter

Dependencies

- docker
- docker-compose

Use

  • Change the file prometheus/prometheus.yml and change the IP to your localhost IP

To up the service:

./run.sh --build

After this command, access in browser: localhost:3000

Tools

  1. The script run.sh facilitate the up and down service, with this options:
Use: ./run.sh <PARAMS>

PARAMS
--build                      builda o docker-compose
--stop                       stop todos os containers
--remove-containers          remove todos os containers
--remove-images              remove todos as images
--remove-volumes             remove todos od volumes
--destroy                    remove tudo de uma vez (containers + images + volumes)

ex:
sobe o serviço:
./run.sh --build
  1. The file tools.sh change Grafana admin password if necessary
Use: ./tools.sh <PARAMS>

PARAMS
--grafana-reset-password     reset Grafana admin password

ex:
reseta a senha do admin do grafana:
./tools.sh ----grafana-reset-password

Example

Example


License:

Creative Commons License