61 lines
1.9 KiB
YAML
61 lines
1.9 KiB
YAML
---
|
|
- hosts: prometheus-fleming.adm.auro.re,prometheus-fleming-fo.adm.auro.re
|
|
vars:
|
|
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
|
|
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
|
|
|
|
# Prometheus targets.json
|
|
prometheus_targets:
|
|
- targets: |
|
|
{{ groups['fleming_physical'] + groups['fleming_vm'] | list | sort }}
|
|
prometheus_unifi_snmp_targets:
|
|
- targets: "{{ groups['fleming_unifi'] | list | sort }}"
|
|
roles:
|
|
- prometheus
|
|
|
|
- hosts: prometheus-pacaterie.adm.auro.re,prometheus-pacaterie-fo.adm.auro.re
|
|
vars:
|
|
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
|
|
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
|
|
|
|
# Prometheus targets.json
|
|
prometheus_targets:
|
|
- targets: |
|
|
{{ groups['pacaterie_physical'] + groups['pacaterie_vm'] | list | sort }}
|
|
prometheus_unifi_snmp_targets:
|
|
- targets: "{{ groups['pacaterie_unifi'] | list | sort }}"
|
|
roles:
|
|
- prometheus
|
|
|
|
- hosts: prometheus-edc.adm.auro.re,prometheus-edc-fo.adm.auro.re
|
|
vars:
|
|
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
|
|
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
|
|
|
|
# Prometheus targets.json
|
|
prometheus_targets:
|
|
- targets: |
|
|
{{ groups['edc_physical'] + groups['edc_vm'] | list | sort }}
|
|
prometheus_unifi_snmp_targets:
|
|
- targets: "{{ groups['edc_unifi'] | list | sort }}"
|
|
roles:
|
|
- prometheus
|
|
|
|
- hosts: prometheus-georgesand.adm.auro.re,prometheus-georgesand-fo.adm.auro.re
|
|
vars:
|
|
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
|
|
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
|
|
|
|
# Prometheus targets.json
|
|
prometheus_targets:
|
|
- targets: |
|
|
{{ groups['georgesand_physical'] + groups['georgesand_vm'] | list | sort }}
|
|
prometheus_unifi_snmp_targets:
|
|
- targets: "{{ groups['georgesand_unifi'] | list | sort }}"
|
|
roles:
|
|
- prometheus
|
|
|
|
# Monitor all hosts
|
|
- hosts: all,!unifi,!ovh
|
|
roles:
|
|
- prometheus-node
|