Files
ansible-lol/ansible/roles/prometheus/templates/scrape-blackbox.yml
T
mirsal 05fd2596a2 Revert "ansible: roles: prometheus: blackbox: Remove internal systems monitoring"
This reverts commit 77363893a0.

"La multprise du fond a été éteinte par un rouleau de filament qui est
tombé sur l'interrupteur."
2026-08-01 17:15:38 +00:00

43 lines
1.3 KiB
YAML

# managed by ansible
scrape_configs:
- job_name: "blackbox-public-https"
metrics_path: /probe
params:
module: [http_2xx]
scrape_interval: 5s
static_configs:
- targets:
- https://labolyon.fr
- https://webmail.labolyon.fr
- https://wiki.labolyon.fr
- https://git.labolyon.fr
- https://sso.labolyon.fr
- https://chat.labolyon.fr
- https://grafana.labolyon.fr
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9115 # The blackbox exporter's real hostname:port.
- job_name: "blackbox-internal-https"
metrics_path: /probe
params:
module: [http_2xx_selfsigned]
scrape_interval: 5s
static_configs:
- targets:
- https://octoprint.labolyon.dn42/login/
- https://stickers.labolyon.dn42
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9115 # The blackbox exporter's real hostname:port.