Blackbox exporter probe shows `probe_success 0` but the site loads in a browser
IntermediateTroubleshootingPrometheus scraping and targets
Answer
Likely causes → The module expects a different status code, follows no redirects, fails on IPv6 preference, or the probe target is passed as __address__ instead of __param_target.
Diagnose →
curl 'http://blackbox:9115/probe?module=http_2xx&target=https://example.com&debug=true'
The debug output shows each step and the failing reason.
Fix → Use correct relabeling (__address__ → __param_target, then __address__ = blackbox host), set preferred_ip_protocol: ip4, and valid_status_codes: [200, 301, 302] if needed.
Prevent → Keep a debug probe link in each alert's annotations.
More on Prometheus scraping and targets
A target shows `DOWN` on `/targets` with `Get "http://10.0.3.14:9100/metrics": context deadline exceeded`BeginnerTarget is `DOWN` with `server returned HTTP status 401 Unauthorized`BeginnerTarget shows `server returned HTTP status 403 Forbidden` when scraping kubelet / cAdvisorIntermediateTarget is `DOWN` with `connect: connection refused`BeginnerTarget shows `x509: certificate signed by unknown authority`IntermediateTarget shows `x509: certificate is valid for app.svc, not 10.0.4.22`Intermediate