Failover VMs
This commit is contained in:
parent
6dec3ed0d1
commit
ccbd7d3770
8 changed files with 113 additions and 92 deletions
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
- hosts: prometheus-fleming.adm.auro.re
|
||||
- hosts: prometheus-fleming.adm.auro.re,prometheus-fleming-fo.adm.auro.re
|
||||
vars:
|
||||
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
|
||||
|
||||
# Prometheus targets.json
|
||||
prometheus_targets:
|
||||
- targets: |
|
||||
|
@ -9,10 +11,11 @@
|
|||
- targets: "{{ groups['fleming_unifi'] | list | sort }}"
|
||||
roles:
|
||||
- prometheus
|
||||
- prometheus-alertmanager
|
||||
|
||||
- hosts: prometheus-pacaterie.adm.auro.re
|
||||
- hosts: prometheus-pacaterie.adm.auro.re,prometheus-pacaterie-fo.adm.auro.re
|
||||
vars:
|
||||
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
|
||||
|
||||
# Prometheus targets.json
|
||||
prometheus_targets:
|
||||
- targets: |
|
||||
|
@ -21,10 +24,11 @@
|
|||
- targets: "{{ groups['pacaterie_unifi'] | list | sort }}"
|
||||
roles:
|
||||
- prometheus
|
||||
- prometheus-alertmanager
|
||||
|
||||
- hosts: prometheus-edc.adm.auro.re
|
||||
- hosts: prometheus-edc.adm.auro.re,prometheus-edc-fo.adm.auro.re
|
||||
vars:
|
||||
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
|
||||
|
||||
# Prometheus targets.json
|
||||
prometheus_targets:
|
||||
- targets: |
|
||||
|
@ -33,10 +37,11 @@
|
|||
- targets: "{{ groups['edc_unifi'] | list | sort }}"
|
||||
roles:
|
||||
- prometheus
|
||||
- prometheus-alertmanager
|
||||
|
||||
- hosts: prometheus-georgesand.adm.auro.re
|
||||
- hosts: prometheus-georgesand.adm.auro.re,prometheus-georgesand-fo.adm.auro.re
|
||||
vars:
|
||||
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
|
||||
|
||||
# Prometheus targets.json
|
||||
prometheus_targets:
|
||||
- targets: |
|
||||
|
@ -45,7 +50,6 @@
|
|||
- targets: "{{ groups['georgesand_unifi'] | list | sort }}"
|
||||
roles:
|
||||
- prometheus
|
||||
- prometheus-alertmanager
|
||||
|
||||
# Monitor all hosts
|
||||
- hosts: all,!unifi,!ovh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue