The 1.0.0 doesn't work !
Simple ansible and Docker stack for install cAdvisor and node_exporter
After clonning this repository, edit the inventory file with the name of your servers from your ssh configuration (like this), play make install.
Ansible gonna install docker and all dependencies needed, clone this repository on /srv/monitoring so that play the docker compose who gonna install cAdvisor, node exporter, Prometheus and Grafana.
graph BT
grafana{Grafana}
prometheus{Prometheus}
cAdvisor(cAdvisor)
node_exporter(node_exporter)
computer[Your computer]
prometheus -- :8090 --> cAdvisor
prometheus -- :9100 --> node_exporter
prometheus -- :9090 --> prometheus
grafana -- :9090 --> prometheus
computer -- SERVER_IP:9200 --> grafana
[YOUR IP]:9200
- node_exporter :
1860 - cAdvisor :
14282
ansible [core 2.13.13]
python version = 3.8.10
jinja version = 3.1.2
libyaml = True