Prometheus: cleanup #90

Merged
jeltz merged 15 commits from prometheus_cleanup into master 2022-01-01 17:58:19 +01:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 733e9f555d - Show all commits

View file

@ -17,7 +17,7 @@
{{ groups['fleming_unifi'] | list | sort }}
prometheus_ipmi_targets: |
{{ groups['fleming_pve'] + groups['fleming_server'] | list | sort }}
prometheus_ilo_targets: |
prometheus_ilo_snmp_targets: |
{{ groups['fleming_ilo'] | list | sort }}
update_motd:

View file

@ -158,10 +158,10 @@ scrape_configs:
replacement: '$1:9290'
{% endif %}
{% if prometheus_ilo_targets is defined %}
- job_name: ilo
{% if prometheus_ilo_snmp_targets is defined %}
- job_name: ilo_snmp
static_configs:
- targets: {{ prometheus_ilo_targets | to_json }}
- targets: {{ prometheus_ilo_snmp_targets | to_json }}
metrics_path: /snmp
scrape_timeout: 30s
params: