Installation Prometheus-postgres-exporter #53
2 changed files with 4 additions and 4 deletions
|
@ -130,7 +130,7 @@
|
|||
# Prometheus targets.json
|
||||
prometheus_targets:
|
||||
- targets: |
|
||||
{{ groups['ovh_pve'] + groups['ovh_vm'] | list | sort }}
|
||||
{{ groups['ovh_pve'] + groups['ovh_vm'] | list | sort }}
|
||||
prometheus_postgres_targets:
|
||||
- targets:
|
||||
- bdd-ovh.adm.auro.re
|
||||
|
@ -145,7 +145,7 @@
|
|||
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
|
||||
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
|
||||
|
||||
# Prometheus targets.json
|
||||
#Prometheus targets.json
|
||||
prometheus_targets:
|
||||
- prometheus-edc.adm.auro.re
|
||||
- prometheus-gs.adm.auro.re
|
||||
|
|
|
@ -20,12 +20,12 @@
|
|||
- prometheus.yml
|
||||
notify: Restart Prometheus
|
||||
|
||||
- name: Creates directory for alerts
|
||||
- name: Creates directory for alerts
|
||||
file:
|
||||
pz2891 marked this conversation as resolved
|
||||
path: /etc/prometheus/alerts
|
||||
state: directory
|
||||
|
||||
- name: Remove old files
|
||||
- name: Remove old files
|
||||
file:
|
||||
path: "/etc/prometheus/{{ item }}"
|
||||
state: absent
|
||||
|
|
Loading…
Reference in a new issue
Ça pourrait être bien de préciser le propriétaire et le groupe du dossier.