Fix monitoring

This commit is contained in:
Alexandre Iooss 2019-07-25 11:28:17 +02:00
parent e0b69be43a
commit 5ee1172861
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02

View file

@ -5,7 +5,7 @@
# Prometheus targets.json # Prometheus targets.json
prometheus_targets: prometheus_targets:
- labels: {job: node} - labels: {job: node}
targets: "{{ groups['pacaterie'] | map('replace', '.org', '.org:9100') | list | sort }}" targets: "{{ groups['pacaterie'] | map('replace', '.re', '.re:9100') | list | sort }}"
- labels: {job: prometheus} - labels: {job: prometheus}
targets: ['localhost:9090'] targets: ['localhost:9090']
roles: roles: