From c49412b8f31f551ec90b3dcd1d8e8e867a2b1680 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 28 Sep 2021 18:02:27 +0200 Subject: prometheus: add ssl exporter --- .../monitoring/prometheus/server/templates/targets/ssl/probe.yml.j2 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roles/monitoring/prometheus/server/templates/targets/ssl/probe.yml.j2 (limited to 'roles/monitoring/prometheus/server/templates/targets/ssl') diff --git a/roles/monitoring/prometheus/server/templates/targets/ssl/probe.yml.j2 b/roles/monitoring/prometheus/server/templates/targets/ssl/probe.yml.j2 new file mode 100644 index 00000000..4e336873 --- /dev/null +++ b/roles/monitoring/prometheus/server/templates/targets/ssl/probe.yml.j2 @@ -0,0 +1,5 @@ +- targets: [ '{{ hostvars[target.exporter_hostname].prometheus_scrape_endpoint }}' ] + labels: + instance: '{{ target.instance }}' + __param_target: '{{ target.config.target }}' + __param_module: '{{ target.config.module }}' -- cgit v1.2.3