Add new roles for monitoring

This commit is contained in:
2025-01-09 21:06:28 +01:00
parent 98ef8d9896
commit 067b325678
24 changed files with 1084 additions and 0 deletions

View File

@ -0,0 +1,18 @@
- job_name: "blackbox"
metrics_path: /probe
params:
module: [http_2xx]
scrape_interval: 5s
static_configs:
- targets:
- https://labolyon.fr
- https://mail.labolyon.fr
- https://wiki.labolyon.fr
- https://git.labolyon.fr
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: target
- target_label: __address__
replacement: 127.0.0.1:9115 # The blackbox exporter's real hostname:port.