prometheus / blackbox_exporter

Blackbox prober exporter
https://prometheus.io
Apache License 2.0
4.44k stars 1.03k forks source link

TPC Prober only returns 0 values #1233

Open xf0e opened 2 months ago

xf0e commented 2 months ago

Host operating system: output of uname -a

Windows Server 21H2

blackbox_exporter version: output of blackbox_exporter --version

0.25.0 / 2024-04-09

What is the blackbox.yml module config.

standard

What is the prometheus.yml scrape config.

What logging output did you get from adding &debug=true to the probe URL?

no change

What did you do that produced an error?

What did you expect to see?

If probe is succeeded, why where are only zeto values being returned? This behaviour does not emerge vor all probes, but often (ca 20%). The same blackbox_exporter but for linux, which is configure for the same target doent have the same problem.

What did you see instead?

This ist a log from the probe: Logs for the probe: ts=2024-04-15T08:35:16.794418Z caller=main.go:190 module=tcp_connect target=****:8471 level=info msg="Beginning probe" probe=tcp timeout_seconds=1.5 ts=2024-04-15T08:35:16.794418Z caller=tcp.go:40 module=tcp_connect target=****:8471 level=info msg="Resolving target address" target=****e ip_protocol=ip6 ts=2024-04-15T08:35:16.794418Z caller=tcp.go:40 module=tcp_connect target=****:8471 level=info msg="Resolved target address" target=**** ip=**** ts=2024-04-15T08:35:16.794418Z caller=tcp.go:112 module=tcp_connect target=****:8471 level=info msg="Dialing TCP without TLS" ts=2024-04-15T08:35:16.794418Z caller=handler.go:119 module=tcp_connect target=****:8471 level=info msg="Successfully dialed" ts=2024-04-15T08:35:16.794418Z caller=main.go:190 module=tcp_connect target=****:8471 level=info msg="Probe succeeded" duration_seconds=0

Metrics that would have been returned: probe_dns_lookup_time_seconds 0 probe_duration_seconds 0 probe_failed_due_to_regex 0 probe_ip_addr_hash 3.130538077e+09 probe_ip_protocol 4 probe_success 1