Device status update interval

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
    • source_labels: [address]
      target_label: __param_target
    • source_labels: [__param_target]
      target_label: instance
    • target_label: address
      replacement: localhost:9115 # Blackbox exporter.

blackbox.yml

icmp:
prober: icmp
timeout: 5s
icmp:
preferred_ip_protocol: ip4

1 Like