From b5dbe2c5c9f7347a7575666a24f9b813428b5396 Mon Sep 17 00:00:00 2001 From: pz2891 Date: Wed, 10 Feb 2021 18:40:28 +0100 Subject: [PATCH] Prometheus-ovh role --- monitoring.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/monitoring.yml b/monitoring.yml index c31fe86..a47ca0d 100755 --- a/monitoring.yml +++ b/monitoring.yml @@ -92,6 +92,18 @@ roles: - prometheus +- hosts: prometheus-ovh.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['ovh_pve'] + groups['ovh_vm'] | list | sort }} + roles: + - prometheus + # Monitor all hosts - hosts: all,!edc_unifi,!fleming_unifi,!pacaterie_unifi,!gs_unifi,!rives_unifi,!aurore_testing_vm,!ovh_container