Hello.
I have created a ping job on Blackbox exporter, and make the scrap interval to 5s.
But when the device is down, it take long time to update on my grafana.
Am i missing something here.
prometheus.yml
global:
scrape_interval: 5s
evaluation_interval: 5s
- job_name: blackbox-ping
metrics_path: /probe
params:
module: [icmp]
static_configs:- targets:
- 10.180.48.130 # <== Put here your targets
relabel_configs: # <== This comes from the blackbox exporter README
- 10.180.48.130 # <== Put here your targets
- source_labels: [address]
target_label: __param_target - source_labels: [__param_target]
target_label: instance - target_label: address
replacement: localhost:9115 # Blackbox exporter.
- targets:
blackbox.yml
icmp:
prober: icmp
timeout: 5s
icmp:
preferred_ip_protocol: ip4