Role service-prometheus: query kea-exporter

This commit is contained in:
Julian Labus 2019-05-31 13:45:36 +02:00
parent 6a4498c436
commit 3e8bc8d37c
No known key found for this signature in database
GPG Key ID: 8AF209F2C6B3572A
1 changed files with 13 additions and 0 deletions

View File

@ -56,6 +56,19 @@ scrape_configs:
replacement: '$1'
target_label: hostname
- job_name: "dhcpd"
scheme: "https"
static_configs:
- targets:
{% for host in groups['gateways'] %}
- '{{ host }}:9547'
{% endfor %}
relabel_configs:
- source_labels: [__address__]
regex: '([a-z]+)\..*'
replacement: '$1'
target_label: hostname
{% for job in ['icmp4','icmp6'] %}
- job_name: "{{ job }}"
metrics_path: /probe