EOX GitLab Instance

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

prometheus work :)

parent 23d2031f
No related branches found
No related tags found
No related merge requests found
......@@ -53,11 +53,19 @@ scrape_configs:
- 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 %}
- job_name: lxc_host_lvm
metrics_path: /lvm-metrics
scheme: https
tls_config:
ca_file: '/etc/ssl/prometheus_client/root.ca.crt'
cert_file: '/etc/ssl/prometheus_client/{{fqdn}}.crt'
key_file: '/etc/ssl/prometheus_client/{{fqdn}}.key'
static_configs:
......
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