Keith C. Perry on 10 Jul 2015 12:19:24 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Basic network monitoring and link quality software

Thanks Brent.  I offered him an endpoint too for something.  He's thinking over the options now.  It may will be good enough to ping a google server every 10 minutes or so he can log outages and then get into it with Comcast (and thus prove he is entitled to a credit).  He told me Comcast was down in his area for like 5 hours yesterday and apparently their CRM system was messed up too because when he called in, they couldn't even find him in the system.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 
Keith C. Perry, MS E.E. 
Owner, DAO Technologies LLC 
(O) +1.215.525.4165 x2033 
(M) +1.215.432.5167

----- Original Message -----
From: "brent timothy saner" <>
Sent: Friday, July 10, 2015 2:44:26 PM
Subject: Re: [PLUG] Basic network monitoring and link quality software

Hash: SHA512

On Fri, Jul 10, 2015 at 12:21 PM, Keith C. Perry
> < <>> wrote:
>     Quick question, since my brain is on other things right now...
>     A friend of mine, due to some Comcast issues, wants to monitor
>     his internet bandwidth- not just for availability but if possible,
>     also for quality (i.e. am I getting the bandwidth I am paying for).
>     I know Nagios is /the/ super tool for system/network management but
>     I'm personally not a fan of it- part of that if because I've
>     previously written my own system (i.e. personal bias) but most of it
>     is because whenever I've looked at Nagios, I've been disheartened by
>     what in my view is a system that is overly complicated to do things
>     that are rudimentary.
>     The question is, is Nagios the only tool for this or is there
>     something out there that just does link availability (and quality)
>     in a simple and straightforward way with the ability to log the
>     data.  My friend is willing to wrap his own tool (he's a Ruby
>     programmer) but if something basic is out there, he's willing to
>     take a look at it.

Have him cron iperf3[0], and log STDOUT to a file with the date and time[1].

Will get you speeds, and in pretty good detail too.

If he doesn't want to run a daemon on a VPS somewhere, he (and any of
y'all are as well) is welcome to use my iperf3 instance:
(same port # for tcp and udp, as iperf3 checks both)

it's located in Cedar Knolls, NJ. WAN link is throttled to 50Mbps, i
believe, but should be more than enough to test for a flaky comcast
connection. Supports IPv4 and IPv6, and i have both A and AAAA records
set so he may want to specify to iperf which he wants to test (as I
believe Comcast as IPv6 rolled out already?).

[1] this should work nicely. i apologize for any weird linebreaks.

LOG="/var/tmp/iperf_$(date +%Y.%m.%d_%H%M.%S).log"

date > ${LOG}

# Change to "for i in 4 6;" for IPv4 + IPv6 support.
# Or change 4 to 6 for only IPv6 support.
for i in 4;
echo "==== IPv${i} ====" >> ${LOG}
echo "+++ TCP +++" >> ${LOG}
iperf3 -${i} -p ${IPERF_PRT} -c ${IPERF_TGT} >> ${LOG}

printf '\n-----------\n\n' >> ${LOG}

echo "+++ UDP +++" >> ${LOG}
iperf3 ${i} -u -p ${IPERF_PRT} -c ${IPERF_TGT} >> ${LOG}

Version: GnuPG v2
Comment: Using GnuPG with Thunderbird -

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --