POC (Prove Of Concept) of system monitor to test and study Grafana + Prometheus + node_exporter
- docker
- docker-compose
- 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
- 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
- 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