Good bye Cachan, hello Horst, Karst & Rodney!

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2022-04-04 16:48:26 +02:00
parent d19545cd84
commit da70cc483e
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 22 additions and 0 deletions

View File

@ -76,6 +76,28 @@ loc_prometheus:
- target_label: __address__
replacement: 127.0.0.1:9115
blackbox_icmp:
file: targets_icmp.json
targets:
- karst.adm.crans.org
- horst.adm.crans.org
- rodney.adm.crans.org
config:
- job_name: blackbox_icmp
file_sd_configs:
- files:
- '/etc/prometheus/targets_icmp.json'
metrics_path: /probe
params:
module: [icmp] # Look for a ICMP ping
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
mtail:
file: targets_mtail.json
targets: