-
Notifications
You must be signed in to change notification settings - Fork 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
Ping: Timeout reading from socket #77
Comments
Are you sure your test pings are using icmp? A tcpdump of the working and failing pings would be useful. |
Might be the problem with resolving hostname. Go programs generally use the resolver written in go and which sends DNS requests directly to the servers defined in /etc/resolv.conf. Ping command from CLI uses libc getnameinfo(3) etc functions. So, if the name is resolvable using /etc/hosts file in the system, but not via nameservers, you might have a problem with similar symptoms. See "Name Resolution" section from https://golang.org/pkg/net/ for more info. |
Both types of host are resolvable via nameservers, @hasso
And this is the cli output of blackbox_exporter pinging a successful host:
I will try to attach the dumped output - no privacy concerns since the only communication between the blackbox_exporter host and the targets are the packets generated by blackbox_exporter itself. Note: The blackbox_exporter host is 192.168.1.2, the successful host is the .10 and the failing host is the .5 Maybe you have an idea? |
The packets from failing box have the wrong checksums, and are presumably being dropped by the kernel. I expect something weird is going on in the network stack on that box. |
This wouldn't surprise me. It is a quite old VoIP phone i bought ten years ago on ebay. It works, but i noticed the first quirks going on when i started to use icinga to monitor my network. The phone has a builtin web server for config, and the web server probe went to critical everytime someone actually used the phone for calling. |
Hi,
i have defined a ping-module which is basically just an icmp prober. I am probing around 17 hosts with it. Now i have a problem: The probe_success for one of this host is 0, although the host is pingable when executing ping in my shell.
Systemd journal shows the following error:
The blackbox_exporter binary is run as root and has
CAP_NET_RAW
permissions. All other ping probes succeed, and since pinging this host succeeds as well via the shell, i think this could be blackbox_exporter's fault - couldn't it?The text was updated successfully, but these errors were encountered: