EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 7f6b980d authored by Karl Grube's avatar Karl Grube
Browse files

lxc_hosts as separate category

parent fb3e6614
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,23 @@ scrape_configs:
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
{% if groups['lxc_host'] is defined %}
- job_name: lxc_host
scheme: https
tls_config:
# Prometheus will check that the node_exporter presents a certificate
# signed by this ca.
ca_file: '/etc/ssl/prometheus_client/root.ca.crt'
# The cert and key are presented to node_exporter to authenticate
# Prometheus as a client.
cert_file: '/etc/ssl/prometheus_client/{{fqdn}}.crt'
key_file: '/etc/ssl/prometheus_client/{{fqdn}}.key'
static_configs:
- targets:
{% for host in groups['lxc_host'] %}
- '{{host}}:9100'
{% endfor %}
{% endif %}
- job_name: dns_scrape
scheme: https
tls_config:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment