I was interested in generating graphs within the MRTG/Routers2 monitoring system that display the number of hops for an IP connection through the Internet. In my opinion its interesting to see the different routing run times/hop counts e.g. for remote offices that are connected via dynamic ISP connections such as DSL. Therefore, I wrote a small script that executes a traceroute command which can be called from MRTG.
Several years ago I built a little script to show my IP address, just as many other sites implement it. The difference to my script is that it doesn’t display any kind of commercial or other annoying stuff. Just the IP address and a few other information. The script is accessible under http://ip.webernetz.net.