-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Windows, IPv4 ICMP fails but IPv6 ICMP succeeds #314
Comments
I have no Go experience at all, but from Googling around to find ICMP samples I think that for IPv4 one should also use a |
@brian-brazil I hope you don't mind me pinging you for this issue. This problem effectively prevents getting IPv4 ICMP to work on Windows, which seems like a major bug to me (and it is a killer since it prevents monitoring IPv4 device availability). Who could have a look at it? |
I'm afraid I'm not a Windows person, so you'd need to find someone who has Go networking experience on Windows. I suspect this one will require work inside Go itself. |
Thank you for the reply. From my googling around I wonder if all that is needed may be to to replace the raw packet |
Using The down side is that we would lose the Don't Fragment config option. |
I have tried to make code adjustments but I cannot get it to build locally (on Windows): Since there are no artifacts in the TravisCI and CircleCI builds I have no idea how I can actually try my changes. And having zero Go experience I'm also completely lost with that error message and vendoring stuff. |
That sounds like your Go environment isn't setup correctly. See https://github.com/golang/go/wiki/SettingGOPATH#windows |
@brian-brazil I did follow the instructions and do have a GOPATH pointing to a valid dir and |
You'll want to work entirely inside the GOPATH, so move the clone repo inside there to the appropriate directory. |
Thanks, wish I'd known that before... ;) Created PR #329 |
Will this be in a release at some point soon? This is preventing me from using ICMP on Windows 2016. |
@timlharrison Here's my personal build if you're interested: |
@avonwyss thanks very much. I'm using tcp_connect as a workaround, but I'm worried at some point that wont work for me. Is there any release schedule or anything for this project? I'm new to Prometheus. |
Host operating system
Windows 2016 Datacenter, Version 1607, Build 14393.2189
blackbox_exporter version
version=0.12.0, branch=HEAD, revision=4a22506cf0cf139d9b2f9cde099f0012d9fcabde
What is the blackbox.yml module config.
Unchanged from release package.
What logging output did you get from adding
&debug=true
to the probe URL?What did you expect to see?
Probe successful
What did you see instead?
Probe failed
Additional info
Tried running the exporter as local service, network service, domain admin, the error is always the same. It even fails for the localhost address 127.0.0.1. The same exporter instance can, however, successfully ping IPv6 targets:
This seems to be the same as/similar to issue #301 but that one was closed without additional information.
The text was updated successfully, but these errors were encountered: