diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-09-28 18:02:27 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-09-28 18:02:27 +0200 |
commit | c49412b8f31f551ec90b3dcd1d8e8e867a2b1680 (patch) | |
tree | 3cc302ee1282f3bd2c7e7a9a0bd6c220bb15e025 /roles/monitoring/prometheus/server/templates/targets/ssl/probe.yml.j2 | |
parent | cosmetic fix (diff) |
prometheus: add ssl exporter
Diffstat (limited to 'roles/monitoring/prometheus/server/templates/targets/ssl/probe.yml.j2')
-rw-r--r-- | roles/monitoring/prometheus/server/templates/targets/ssl/probe.yml.j2 | 5 |
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 }}' |