Prometheus: cleanup #90
3 changed files with 0 additions and 31 deletions
|
@ -15,8 +15,6 @@
|
|||
{{ groups['fleming_pve'] + groups['fleming_vm'] | list | sort }}
|
||||
prometheus_unifi_snmp_targets: |
|
||||
{{ groups['fleming_unifi'] | list | sort }}
|
||||
prometheus_ipmi_targets: |
|
||||
{{ groups['fleming_pve'] + groups['fleming_server'] | list | sort }}
|
||||
prometheus_ilo_snmp_targets: |
|
||||
{{ groups['fleming_ilo'] | list | sort }}
|
||||
|
||||
|
@ -45,8 +43,6 @@
|
|||
prometheus_ups_snmp_targets:
|
||||
- ups-pn-1.ups.auro.re
|
||||
- ups-ps-1.ups.auro.re
|
||||
prometheus_ipmi_targets: |
|
||||
{{ groups['pacaterie_pve'] | list | sort }}
|
||||
prometheus_ilo_snmp_targets: |
|
||||
{{ groups['pacaterie_ilo'] | list | sort }}
|
||||
|
||||
|
@ -76,8 +72,6 @@
|
|||
{{ groups['edc_pve'] + groups['edc_vm'] + groups['edc_server'] | list | sort }}
|
||||
prometheus_unifi_snmp_targets: |
|
||||
{{ groups['edc_unifi'] | list | sort }}
|
||||
prometheus_ipmi_targets: |
|
||||
{{ groups['edc_pve'] + groups['edc_server'] | list | sort }}
|
||||
prometheus_ilo_snmp_targets: |
|
||||
{{ groups['edc_ilo'] | list | sort }}
|
||||
|
||||
|
@ -107,8 +101,6 @@
|
|||
- ups-gk-1.ups.auro.re
|
||||
prometheus_apc_pdu_snmp_targets:
|
||||
- pdu-ga-1.ups.auro.re
|
||||
prometheus_ipmi_targets: |
|
||||
{{ groups['gs_pve'] | list | sort }}
|
||||
prometheus_ilo_snmp_targets: |
|
||||
{{ groups['gs_ilo'] | list | sort }}
|
||||
|
||||
|
@ -137,8 +129,6 @@
|
|||
{{ groups['rives_pve'] + groups['rives_vm'] | list | sort }}
|
||||
prometheus_unifi_snmp_targets: |
|
||||
{{ groups['rives_unifi'] | list | sort }}
|
||||
prometheus_ipmi_targets: |
|
||||
{{ groups['rives_pve'] | list | sort }}
|
||||
prometheus_ilo_snmp_targets: |
|
||||
{{ groups['rives_ilo'] | list | sort }}
|
||||
|
||||
|
@ -179,8 +169,6 @@
|
|||
- sw-ec-core.switch.auro.re
|
||||
- sw-gk-core.switch.auro.re
|
||||
- sw-r3-core.switch.auro.re
|
||||
prometheus_ipmi_targets: |
|
||||
{{ groups['aurore_pve'] | list | sort }}
|
||||
prometheus_ilo_snmp_targets: |
|
||||
{{ groups['aurore_ilo'] | list | sort }}
|
||||
|
||||
|
|
|
@ -140,24 +140,6 @@ scrape_configs:
|
|||
replacement: 127.0.0.1:9116
|
||||
{% endif %}
|
||||
|
||||
{% if prometheus_ipmi_targets is defined %}
|
||||
- job_name: ipmi
|
||||
static_configs:
|
||||
- targets: {{ prometheus_ipmi_targets | to_json }}
|
||||
metrics_path: /metrics
|
||||
params:
|
||||
module: [default]
|
||||
relabel_configs:
|
||||
# Do not put :9290 in instance name, rather here
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- source_labels: [__param_target]
|
||||
target_label: __address__
|
||||
replacement: '$1:9290'
|
||||
{% endif %}
|
||||
|
||||
{% if prometheus_ilo_snmp_targets is defined %}
|
||||
- job_name: ilo_snmp
|
||||
static_configs:
|
||||
|
|
|
@ -38,6 +38,5 @@ scrape_configs:
|
|||
- '{job="apc_pdu_snmp"}'
|
||||
- '{job="docker"}'
|
||||
- '{job="switch_snmp"}'
|
||||
- '{job="ipmi"}'
|
||||
- '{job="ilo_snmp"}'
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue