Fractal Techware

Alert runbooks /

BlackboxProbeFlapping

A blackbox probe keeps alternating between passing and failing instead of settling in one state.

   
Severity warning
Source blackbox_exporter /probe
Key metric probe_success

What it means

The alert counts how often probe_success changes value over a recent window. It fires when the probe toggles several times, which usually means some requests fail and others succeed.

Flapping rarely reaches the threshold of a hard outage alert, yet users experience it as random errors or slow page loads. It is often the earliest visible symptom of an overloaded backend or a bad node behind a load balancer.

Common causes

First checks

  1. Visualise the pattern over the last few hours:
    probe_success{instance="<target>"}
    

    Regular intervals hint at cron jobs or health-check cycles; random ones hint at load.

  2. Compare probe duration with the module timeout:
    max_over_time(probe_duration_seconds{instance="<target>"}[15m])
    
  3. Check whether DNS returns several addresses and whether one is failing:
    dig +short <hostname>
    for ip in $(dig +short <hostname>); do curl -s -o /dev/null -w "$ip %{http_code} %{time_total}\n" --resolve <hostname>:443:$ip https://<hostname>/; done
    
  4. Run the debug probe several times and compare failures:
    curl -s "http://<blackbox-exporter>:9115/probe?target=<target>&module=<module>&debug=true" | grep -iE "error|fail|status"
    
  5. Check backend error rates and pod restarts for the service behind the target.

Fixing it

Remove or repair the unhealthy backend, fix readiness probes so the load balancer stops sending traffic to it, and address saturation. If probes fail only because they time out just above normal latency, give the module a realistic timeout and keep a separate latency alert.