Good bye Cachan, hello Horst, Karst & Rodney!
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
d19545cd84
commit
da70cc483e
|
@ -76,6 +76,28 @@ loc_prometheus:
|
||||||
- target_label: __address__
|
- target_label: __address__
|
||||||
replacement: 127.0.0.1:9115
|
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:
|
mtail:
|
||||||
file: targets_mtail.json
|
file: targets_mtail.json
|
||||||
targets:
|
targets:
|
||||||
|
|
Loading…
Reference in New Issue