|
|
On 17/03/2014 01:47 PM, scott wrote:
>> Try 'ping -i 60 www.google.com >> pingfile.txt'
>
> In the end I set up a small script to output the date/time and then the
> result of 5 pings, this then gets run every minute by cron. I then wrote
> a small C# program on my windows box to grab the log from the pi and
> process it into CSV format for general graphing and analysis in Excel.
> It's only a few regex's but my Linux knowledge is limited so would have
> spent hours trying to do it on the pi. Also my BT modem handily has a
> USB socket on the back which I can power the pi from, so it's all pretty
> neat.
At my last place, I ended up writing a small Tcl/Tk script to do more or
less the same thing (but with trippy statistics like standard
deviation). I also wrote a script to do trace-route against half a dozen
Internet hosts so if the link went down, I could tell where it went
down. (Half the problem with spotting fault behaviour is knowing what
normal behaviour looks like.)
And then our HQ IT guys blocked all ICMP traffic at the firewall, and
all my hard work was rendered useless. Thanks, guys.
Post a reply to this message
|
|