Adam Goryachev wrote:
Hi All,
First some background, then sharing some scripts I've written/used, and finally asking for some advice please.
Some time ago I was having a LAN issue (dropped packets) which I wrote a small script to measure, and quantify the problem. (If you can't see the problem, you can't fix it, and you can't prove it is fixed afterwards).
All the script did was use fping to ping a group of IP's once per second, then every minute it would record a log of the date/time plus one line for each IP that had one or more dropped packets. This worked nicely for the above purpose, allowing me to easily pinpoint the common machines experiencing the problem, and then eventually solve it.
Now I'd like to extend the script to cover my WAN connections, but I also need more information, and don't want to re-invent the wheel. So, I'm looking for suggestions on how to implement what I need, and/or other products that already do this.
Have you looked at smokeping :-
http://oss.oetiker.ch/smokeping/
This has its own presentation and alerting mechanisms, but we have a Xymon extension similar to https://wiki.xymonton.org/doku.php/monitors:bbsmokeping which integrates into a Xymon page so we can manage alerting and history.
-- Andy