Sometimes the connection to my server in the cloud fails. 9 out of 10 times there is a problem with the routing, like a router in the datacenter that fails or a backbone temporary down.
When the connection fails, i often run a traceroute to see where the route fails. But the problem is that I have no reference to what it looked like before this problem started.
So, my question is, is there software that monitors the routes/hops to my cloud servers and remembers the different ‘normal’ routes that can occur.
If there is problem it would be nice if I can look at that software and it indicates where the problem is?
I prefer some docker image or at least a webbased interface, but any suggestion for such a tool is welcome.
I dont know of any specific docker/web app, but its very simple command line job in linux actually if you just need to record what “normal” routing paths are for reference
Set up cron job to run a script once a day. in said bash script, get the current date using
date "+%Y-%m-%d"
, store in a variable, then redirect the output oftraceroute
into a text file by doingtraceroute > {variable}.txt
Then you’ll have a day by day snapshot of your typical routing stack saved to your hard disk.It won’t actively monitor it. But it’ll save a record. You can increase the frequency to as much as you want (hourly?) if you want too.