Installation Prometheus-postgres-exporter #53
3 changed files with 13 additions and 3 deletions
10
hosts
10
hosts
|
@ -562,3 +562,13 @@ radius-pacaterie.adm.auro.re
|
||||||
radius-pacaterie-backup.adm.auro.re
|
radius-pacaterie-backup.adm.auro.re
|
||||||
radius-rives.adm.auro.re
|
radius-rives.adm.auro.re
|
||||||
radius-rives-backup.adm.auro.re
|
radius-rives-backup.adm.auro.re
|
||||||
|
|
||||||
|
[prometheus]
|
||||||
|
prometheus-ovh.adm.auro.re
|
||||||
|
prometheus-aurore.adm.auro.re
|
||||||
|
prometheus-rives.adm.auro.re
|
||||||
|
prometheus-gs.adm.auro.re
|
||||||
|
prometheus-edc.adm.auro.re
|
||||||
|
prometheus-pacaterie.adm.auro.re
|
||||||
|
prometheus-fleming.adm.auro.re
|
||||||
|
prometheus-federate.adm.auro.re
|
||||||
|
|
|
@ -26,14 +26,14 @@
|
||||||
state: directory
|
state: directory
|
||||||
owner: prometheus
|
owner: prometheus
|
||||||
group: prometheus
|
group: prometheus
|
||||||
mode: 0644
|
mode: 0755
|
||||||
pz2891 marked this conversation as resolved
Outdated
|
|||||||
|
|
||||||
- name: Remove old files
|
- name: Remove old files
|
||||||
file:
|
file:
|
||||||
path: "/etc/prometheus/{{ item }}"
|
path: "/etc/prometheus/{{ item }}"
|
||||||
state: absent
|
state: absent
|
||||||
with_items:
|
with_items:
|
||||||
- alerts.rules.yml
|
- alert.rules.yml
|
||||||
- django.rules.yml
|
- django.rules.yml
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue
Est-ce que c'est la peine de garder ces règles une fois que ça a été exécuté une fois sur le parc ?
Peut-être que le fichier
alert.rules.yml
est créé par défaut dans l'installation Debian ?