network_exporter icon indicating copy to clipboard operation
network_exporter copied to clipboard

if network_exporter can support the latest functions of mtr

Open ilanni2460 opened this issue 3 years ago • 8 comments

hi @syepes :

The new mtr currently supports the TCP protocol, and also supports the specified TCP port. I don't know if network_exporter can support the latest functions of mtr.

This can be referred to, mtr-exporter https://github.com/mgumz/mtr-exporter

ilanni2460 avatar Nov 04 '22 16:11 ilanni2460

I don't understand what you mean by TCP protocol in relation to MTR, I checked the mentioned exporter and its not doing anything different. The main difference is that it relies on the externally installed MTR tool, but network_exporter directly implements it in Go without any need of external tools.

syepes avatar Nov 05 '22 15:11 syepes

@syepes Sorry for not describing it clearly, I mean the mtr mode of network_exporter, can it support the tcp protocol and the specified port like the mtr command line tool.

Because we have a scenario where the use of ping is prohibited, but the telnet port can be used. Now I want to test it through mtr. If the port is blocked, which hop route is the problem.

ilanni2460 avatar Nov 06 '22 10:11 ilanni2460

@syepes Sorry for not describing it clearly, I mean the mtr mode of network_exporter, can it support the tcp protocol and the specified port like the mtr command line tool.

Because we have a scenario where the use of ping is prohibited, but the telnet port can be used. Now I want to test it through mtr. If the port is blocked, which hop route is the problem.

I have encountered the same problem. Do you have a solution?

nondevops avatar Apr 18 '23 14:04 nondevops

We need this too. Our network treats ICMP and TCP differently. Especially sometimes packets are routed base on hash(src_ip,src_port,dst_ip,dst_port), however this does not hold for ICMP.

sin4wd avatar May 24 '23 10:05 sin4wd

MTR --tcp feature will be very helpful for debugging network issues.

0megam avatar Mar 12 '24 14:03 0megam

@syepes it would be nice to have MTR running TCP probes, as described in the issue here. Thanks.

simone-dandreta avatar Mar 13 '24 09:03 simone-dandreta

Currently, I don't have sufficient time to extensively explore the TCP implementation. Although I have attempted to do so before, I have found it to be quite complex.

Of course any PR's are welcome :-)

syepes avatar Mar 16 '24 17:03 syepes