diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-08-29 22:41:57 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-08-29 22:41:57 +0200 |
commit | 2ad12c3b7e7f6f2159bec33105448e6114ffdfec (patch) | |
tree | d6ad7adfe20578effebf2b7e575e4a5d4615186b /roles/monitoring/prometheus/server/templates/targets/blackbox-ssh.yml.j2 | |
parent | move all group_vars to subdir (diff) |
prometheus: move blackbox job config to new setup
Diffstat (limited to 'roles/monitoring/prometheus/server/templates/targets/blackbox-ssh.yml.j2')
-rw-r--r-- | roles/monitoring/prometheus/server/templates/targets/blackbox-ssh.yml.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/monitoring/prometheus/server/templates/targets/blackbox-ssh.yml.j2 b/roles/monitoring/prometheus/server/templates/targets/blackbox-ssh.yml.j2 new file mode 100644 index 00000000..e843de36 --- /dev/null +++ b/roles/monitoring/prometheus/server/templates/targets/blackbox-ssh.yml.j2 @@ -0,0 +1,4 @@ +- targets: [ "{{ hostvars[target.config.exporter_hostname].prometheus_scrape_endpoint }}" ] + labels: + instance: "{{ target.instance }}" + __param_target: {{ target.config.address }} |