Comments (5)
Are you sure your test pings are using icmp?
A tcpdump of the working and failing pings would be useful.
from blackbox_exporter.
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.
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?
from blackbox_exporter.
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.
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)
- Inconsistent support of IPv6 literals HOT 3
- Feature request: probe to prometheus.io is not helpful, should make options or pulldowns HOT 2
- packaged deb version of blackbox_exporter
- Implement DHCP HOT 2
- Recent Probes List - add timestamp or log id as label and column for better identification
- Twistlock CVE's Found 1/24/23 HOT 2
- Cut a new release? HOT 1
- Same blackbox.yml to monitor different proxies
- source_ip_address option enhancement
- Incorrect State in Prometheus HOT 1
- RFE: Expose DNS prober metrics for the queried name and query type
- Blackbox ICMP probe getting failed for the servers which are pinging. HOT 2
- Allow setting fail_if_body_matches_regexp dynamically
- Feature request: DNS RRSIG signature validity time
- Inconsistent alerts triggered by the Prometheus alert manager
- unknown cipher: TLS_RSA_WITH_AES_128_CBC_SHA HOT 1
- TPC Prober only returns 0 values
- Probe fails with "target" as URL parameter in URL to probe.
- feature: param to not resolve target address
- feature request: please sign your releases HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blackbox_exporter.