prometheus: add blackbox exporter

This commit is contained in:
uumas
2023-12-21 01:32:53 +02:00
parent 6f1bcecf25
commit c5a54827d4
5 changed files with 59 additions and 0 deletions

View File

@@ -45,6 +45,19 @@
- name: prometheus
when: prometheus_install_webhook
- name: Blackbox exporter for prometheus
include_role:
name: container
vars:
docker_service: blackbox_exporter
docker_image: prom/blackbox-exporter
reverse_proxy_type: none
docker_mounts:
- template: blackbox_exporter.yml
path: /etc/blackbox_exporter/config.yml
docker_networks:
- name: prometheus
- name: Grafana container for prometheus
include_role:
name: grafana