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 
www.daotechnologies.com

----- Original Message -----
From: "brent timothy saner" <brent.saner@gmail.com>
To: plug@lists.phillylinux.org
Sent: Friday, July 10, 2015 2:44:26 PM
Subject: Re: [PLUG] Basic network monitoring and link quality software

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Fri, Jul 10, 2015 at 12:21 PM, Keith C. Perry
> <kperry@daotechnologies.com <mailto:kperry@daotechnologies.com>> 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:

g.rainwreck.com:5201
(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?).

[0] http://software.es.net/iperf/
[1] this should work nicely. i apologize for any weird linebreaks.
____________________________
#!/bin/bash

LOG="/var/tmp/iperf_$(date +%Y.%m.%d_%H%M.%S).log"
IPERF_TGT="g.rainwreck.com"
IPERF_PRT="5201"

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;
do
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}

done
____________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIbBAEBCgAGBQJVoBKCAAoJEIwATC+TSB9rO4cP+L8iRnC/amYyt0mUnmlbvgFi
AeIzM5zYhcEBCKsIlyYIt4vhCx6vAwScXBrC7UhMKXiyOlMtEXHNRmPdy8pAAzdk
hfJWvhCfJdIvDCfXvoR4HuNcsx3bS/956vkV5CIdl3Y7/rrcSU8AXG4K1VuzQmov
PYfxoAKviutfReydPXUgOuzzqZl417R1kmC73jPDdG4fhhgkGLy4rE4irpRu4wpV
5V3jwDMqSeEJBBbcHgTWBy/x7g0p6m2sNqffulRwQTCynCHH5RtY6iZy7den6Ktl
JAEcZXlSts/SxQw3iiRiOCOnr273iu6sM/ZOwJks4kXHGIA15LQmbMKTkpRN9w3H
qcKR4yQwI0pXYJ/rfXB4BzXJrVHI+URTA/odn3Bek+es9gkaberkCDGvCF0bCie0
Z/mAOP53673heQhmPTj9jsvXCP1/IlRAjPy8Mvyz7Gz/qPvOaXJbAnLXko6bKjKP
Dc1RvzqsSIUgkAVdXucadRyz3+1mCXKbpeXqLBCU/oRfnyEJq4XFves52hrFE/5b
tm9pXth7n5PKrYxGpRqr3NSbbCBJPy2s11OPqe+dUFXexdUIFx5icKNc8DakI2d9
wReiGWIohrED2+7J4By8glYUUvlmx1yiPYbwnX13opyXjV4YN13B/fYikyGF9GPn
GdrlA0uthI/ArVI6HEU=
=LTom
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug