summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/server/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-09-28 18:02:27 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-09-28 18:02:27 +0200
commitc49412b8f31f551ec90b3dcd1d8e8e867a2b1680 (patch)
tree3cc302ee1282f3bd2c7e7a9a0bd6c220bb15e025 /roles/monitoring/prometheus/server/templates
parentcosmetic fix (diff)
prometheus: add ssl exporter
Diffstat (limited to 'roles/monitoring/prometheus/server/templates')
-rw-r--r--roles/monitoring/prometheus/server/templates/targets/ssl/probe.yml.j25
1 files changed, 5 insertions, 0 deletions
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 }}'