nanog mailing list archives

Re: Smokeping targets


From: Marco d'Itri <md+nanog () Linux IT>
Date: Thu, 7 Jan 2016 17:13:58 +0100

On Jan 07, Andrew Dampf <adampf () gmail com> wrote:

Something I found that is helpful once you've gathered a list of targets is
the following command for generating config to paste:

traceroute -w 3 [IPaddress] | grep -v "*" | grep -v "traceroute" | sed -e
's/(//g' -e 's/)//g' | awk '{ gsub(/\./,"_",$2); print "++++ "$2"\nmenu =
"$3"\ntitle = "$2" - "$3"\nhost = "$3"\n"}'

That generates a valid output for configs to ping each hop along the way to
your destination, which can be super useful. Not all of them allow ICMP but
a decent amount do.
It is also super stupid, because routers reply to ICMP echo requests 
with a very low priority: this introduces jitter which makes these 
measurements unreliable.
If you are not monitoring a server then you are wasting your time.

(Also, it would be nice to have the owner permission before deciding to
permanently send a lot of ICMPs to a device.)

-- 
ciao,
Marco

Attachment: signature.asc
Description:


Current thread: