Add fleming conf
This commit is contained in:
parent
044e8af3aa
commit
2be40222fc
4 changed files with 70 additions and 20 deletions
|
@ -1,5 +1,17 @@
|
|||
---
|
||||
# Deploy Prometheus
|
||||
- hosts: prometheus-fleming.adm.auro.re
|
||||
vars:
|
||||
# Prometheus targets.json
|
||||
prometheus_targets:
|
||||
- labels: {job: node}
|
||||
targets: "{{ groups['fleming'] | map('replace', '.re', '.re:9100') | list | sort }}"
|
||||
- labels: {job: prometheus}
|
||||
targets: ['localhost:9090']
|
||||
roles:
|
||||
- prometheus
|
||||
- prometheus-alertmanager
|
||||
|
||||
- hosts: prometheus-pacaterie.adm.auro.re
|
||||
vars:
|
||||
# Prometheus targets.json
|
||||
|
@ -13,6 +25,6 @@
|
|||
- prometheus-alertmanager
|
||||
|
||||
# Monitor all hosts
|
||||
- hosts: pacaterie
|
||||
- hosts: fleming,pacaterie
|
||||
roles:
|
||||
- prometheus-node
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue