Commit a7ee0896 authored by HgO's avatar HgO
Browse files

grab certificate metrics from neutrinet.be

parent ebed87fd
Pipeline #375 passed with stage
in 1 minute and 27 seconds
......@@ -5,3 +5,6 @@ prometheus_federation_hosts:
prometheus_telegraf_hosts:
- "{{ inventory_hostname }}"
- vpn.neutri.net
probe_http_certs:
- https://neutrinet.be
......@@ -5,6 +5,8 @@ probe_http_urls:
- name: https://prometheus.example.com
url: http://localhost:9090
probe_http_certs: []
probe_ping_hosts:
- '127.0.0.1'
- '::1'
......@@ -36,3 +36,15 @@
{% endfor %}
]
method = "native"
{% if probe_http_certs | length > 0 %}
[[inputs.x509_cert]]
## List certificate sources
## Prefix your entry with 'file://' if you intend to use relative paths
sources = [
{% for url in probe_http_certs %}
"{{ url }}"{% if not loop.last %},{% endif %}
{% endfor %}
]
{% endif %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment