Skip to content
Snippets Groups Projects
Verified Commit da70cc48 authored by ynerant's avatar ynerant
Browse files

Good bye Cachan, hello Horst, Karst & Rodney!


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent d19545cd
No related branches found
No related tags found
1 merge request!337ICMP
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment