Deploy ipmi monitoring for all prometheus

This commit is contained in:
pz2891 2021-09-08 12:19:48 +02:00
parent 57738cc725
commit 10b1745081

View file

@ -14,6 +14,9 @@
{{ groups['fleming_pve'] + groups['fleming_vm'] | list | sort }} {{ groups['fleming_pve'] + groups['fleming_vm'] | list | sort }}
prometheus_unifi_snmp_targets: prometheus_unifi_snmp_targets:
- targets: "{{ groups['fleming_unifi'] | list | sort }}" - targets: "{{ groups['fleming_unifi'] | list | sort }}"
prometheus_ipmi_targets:
- targets: |
{{ groups['fleming_pve'] + groups['fleming_server'] | list | sort }}
roles: roles:
- prometheus - prometheus
@ -34,6 +37,9 @@
prometheus_ups_snmp_targets: prometheus_ups_snmp_targets:
- ups-pn-1.ups.auro.re - ups-pn-1.ups.auro.re
- ups-ps-1.ups.auro.re - ups-ps-1.ups.auro.re
prometheus_ipmi_targets:
- targets: |
{{ groups['pacaterie_pve'] + groups['pacaterie_server'] | list | sort }}
roles: roles:
- prometheus - prometheus
@ -80,6 +86,9 @@
- ups-gk-1.ups.auro.re - ups-gk-1.ups.auro.re
prometheus_pdu_snmp_targets: prometheus_pdu_snmp_targets:
- pdu-ga-1.ups.auro.re - pdu-ga-1.ups.auro.re
prometheus_ipmi_targets:
- targets: |
{{ groups['gs_pve'] + groups['gs_server'] | list | sort }}
roles: roles:
- prometheus - prometheus
@ -101,6 +110,9 @@
{{ groups['rives_pve'] + groups['rives_vm'] | list | sort }} {{ groups['rives_pve'] + groups['rives_vm'] | list | sort }}
prometheus_unifi_snmp_targets: prometheus_unifi_snmp_targets:
- targets: "{{ groups['rives_unifi'] | list | sort }}" - targets: "{{ groups['rives_unifi'] | list | sort }}"
prometheus_ipmi_targets:
- targets: |
{{ groups['rives_pve'] + groups['rives_server'] | list | sort }}
roles: roles:
- prometheus - prometheus
@ -116,6 +128,9 @@
prometheus_targets: prometheus_targets:
- targets: | - targets: |
{{ groups['aurore_pve'] + groups['aurore_vm'] | list | sort }} {{ groups['aurore_pve'] + groups['aurore_vm'] | list | sort }}
prometheus_ipmi_targets:
- targets: |
{{ groups['aurore_pve'] + groups['aurore_server'] | list | sort }}
prometheus_postgres_targets: prometheus_postgres_targets:
- targets: | - targets: |
{{ groups['bdd'] + groups['radius'] | list | sort }} {{ groups['bdd'] + groups['radius'] | list | sort }}