Open weibote opened 3 months ago
uname -a
Host operating system :centos stream 9 5.14.0-354.el9.x86_64
blackbox_exporter --version
blackbox_exporter-0.24.0
modules: http_alive: prober: http http: fail_if_body_not_matches_regexp:
&debug=true
Logs for the probe: ts=2024-06-28T09:38:18.172106624Z caller=main.go:190 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=info msg="Beginning probe" probe=http timeout_seconds=119.5 ts=2024-06-28T09:38:18.172223902Z caller=http.go:328 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=info msg="Resolving target address" target=xxxx ip_protocol=ip4 ts=2024-06-28T09:38:18.172840551Z caller=http.go:328 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=info msg="Resolved target address" target=xxxx ip=xxxx ts=2024-06-28T09:38:18.172896481Z caller=client.go:259 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=info msg="Making HTTP request" url=https://xxxxx:4433/bspt-tx-prd/ host=xxxxxxx:4433 ts=2024-06-28T09:38:18.175849016Z caller=handler.go:119 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=error msg="Error for HTTP request" err="Get \"https://xxxxx:4433/bspt-tx-prd/\": remote error: tls: handshake failure" ts=2024-06-28T09:38:18.175873335Z caller=handler.go:119 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=info msg="Response timings for roundtrip" roundtrip=0 start=2024-06-28T17:38:18.172958507+08:00 dnsDone=2024-06-28T17:38:18.172958507+08:00 connectDone=2024-06-28T17:38:18.173182643+08:00 gotConn=0001-01-01T00:00:00Z responseStart=0001-01-01T00:00:00Z tlsStart=2024-06-28T17:38:18.173193003+08:00 tlsDone=2024-06-28T17:38:18.175840164+08:00 end=0001-01-01T00:00:00Z ts=2024-06-28T09:38:18.175892472Z caller=main.go:190 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=error msg="Probe failed" duration_seconds=0.003744405
Follow the normal steps to deploy
probe_success 1
probe_success 0
Host operating system: output of
uname -a
Host operating system :centos stream 9 5.14.0-354.el9.x86_64
blackbox_exporter version: output of
blackbox_exporter --version
blackbox_exporter-0.24.0
What is the blackbox.yml module config.
modules: http_alive: prober: http http: fail_if_body_not_matches_regexp:
What is the prometheus.yml scrape config.
What logging output did you get from adding
&debug=true
to the probe URL?Logs for the probe: ts=2024-06-28T09:38:18.172106624Z caller=main.go:190 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=info msg="Beginning probe" probe=http timeout_seconds=119.5 ts=2024-06-28T09:38:18.172223902Z caller=http.go:328 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=info msg="Resolving target address" target=xxxx ip_protocol=ip4 ts=2024-06-28T09:38:18.172840551Z caller=http.go:328 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=info msg="Resolved target address" target=xxxx ip=xxxx ts=2024-06-28T09:38:18.172896481Z caller=client.go:259 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=info msg="Making HTTP request" url=https://xxxxx:4433/bspt-tx-prd/ host=xxxxxxx:4433 ts=2024-06-28T09:38:18.175849016Z caller=handler.go:119 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=error msg="Error for HTTP request" err="Get \"https://xxxxx:4433/bspt-tx-prd/\": remote error: tls: handshake failure" ts=2024-06-28T09:38:18.175873335Z caller=handler.go:119 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=info msg="Response timings for roundtrip" roundtrip=0 start=2024-06-28T17:38:18.172958507+08:00 dnsDone=2024-06-28T17:38:18.172958507+08:00 connectDone=2024-06-28T17:38:18.173182643+08:00 gotConn=0001-01-01T00:00:00Z responseStart=0001-01-01T00:00:00Z tlsStart=2024-06-28T17:38:18.173193003+08:00 tlsDone=2024-06-28T17:38:18.175840164+08:00 end=0001-01-01T00:00:00Z ts=2024-06-28T09:38:18.175892472Z caller=main.go:190 module=http_2xx target=https://xxxxxxxxx/bspt-tx-prd/ level=error msg="Probe failed" duration_seconds=0.003744405
What did you do that produced an error?
Follow the normal steps to deploy
What did you expect to see?
TYPE probe_success gauge
probe_success 1
What did you see instead?
TYPE probe_success gauge
probe_success 0