Live data from Hacker News

Gping – ping, but with a graph

github.com

1–10 of 53 posts

Re: Gping – ping, but with a graph

#3
mtr does traceroute, too: https://en.wikipedia.org/wiki/MTR_(software) :

> The tool is often used for network troubleshooting. By showing a list of routers traversed, and the average round-trip time as well as packet loss to each router, it allows users to identify links between two given routers responsible for certain fractions of the overall latency or packet loss through the network.[4] This can help identify network overuse problems.[5]

Scapy has a 3d visualization of one traceroute sequence with vpython. In college, I remember modifying it to run multiple traceroutes and then overlaying all of the routes; and wondering whether a given route is even stable through a complete traceroute packet sequence. https://scapy.readthedocs.io/en/latest/usage.html#tcp-tracer...

One way to avoid running tools that need root for crafting packets at layer 2 is to use setcap:

  setcap CAP_NET_RAW /use/bin/python-scapy
Does traceroute inappropriately connect the dots?

Re: Gping – ping, but with a graph

#5

mtr does traceroute, too: https://en.wikipedia.org/wiki/MTR_(software) : > The tool is often used for network troubleshooting. By showing a list of routers traversed, and the average round-trip time as well as packet loss to each router, it allows users to identify links between two given routers responsible for certain fractions of the overall latency or packet loss through the network.[4] This can help identify net…

I run mtr using a Prometheus exporter. I think the one I am using is https://github.com/mgumz/mtr-exporter

I have it set up to do trace routes to 1.1.1.1 and to 8.8.8.8, and then I can look at the graphs in Prometheus

I was inspired to set this up on my computer after the house where the computer is at was having very unstable internet for several days.

I made a video about the graphs here https://video.nstr.no/w/hjTH3Vggn2fvpTrQitMmVP

Re: Gping – ping, but with a graph

#6
Really nice that it allows you to pass a list of hosts at the same time, and it will plot them in the same graph:

For instance, `gping mydomain.com google.com` is really nice for a quick sanity check (is it my Wifi or my hosting provider).

Re: Gping – ping, but with a graph

#9

mtr does traceroute, too: https://en.wikipedia.org/wiki/MTR_(software) : > The tool is often used for network troubleshooting. By showing a list of routers traversed, and the average round-trip time as well as packet loss to each router, it allows users to identify links between two given routers responsible for certain fractions of the overall latency or packet loss through the network.[4] This can help identify net…

My mind is blown by those 3D graphs. I almost want to make them dynamically drawn in a futuristic style and use that as screensaver...
Post reply on HN