Giter Club home page Giter Club logo

Comments (5)

brian-brazil avatar brian-brazil commented on May 15, 2024

Are you sure your test pings are using icmp?

A tcpdump of the working and failing pings would be useful.

from blackbox_exporter.

hasso avatar hasso commented on May 15, 2024

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.

from blackbox_exporter.

simonszu avatar simonszu commented on May 15, 2024

Both types of host are resolvable via nameservers, @hasso
So i made a tcpdump. This is the cli output of blackbox_exporter pinging the failing host:

11:04:16.286345 IP tirn.home.simonszu.de > grandstream.home.simonszu.de: ICMP echo request, id 29216, seq 57166, length 36
11:04:16.286707 IP grandstream.home.simonszu.de > tirn.home.simonszu.de: ICMP echo reply, id 29216, seq 57166, length 36

And this is the cli output of blackbox_exporter pinging a successful host:

11:05:41.002031 IP tirn.home.simonszu.de > yamaha.home.simonszu.de: ICMP echo request, id 29216, seq 57260, length 36
11:05:41.002238 IP yamaha.home.simonszu.de > tirn.home.simonszu.de: ICMP echo reply, id 29216, seq 57260, length 36

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?

tcpdumps.zip

from blackbox_exporter.

brian-brazil avatar brian-brazil commented on May 15, 2024

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.

from blackbox_exporter.

simonszu avatar simonszu commented on May 15, 2024

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.
Strangely, the blackbox_exporter probe does not alert a failing web server when someone calls on this phone - so, yeah, i think i just have to accept the weirdness.
Thanks anyway.

from blackbox_exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.