Monitoring Internet Speeds

4 messages Options
Embed this post
Permalink
Matt Baer () Monitoring Internet Speeds
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Does anyone have a method for monitoring internet speeds?  I want to create a graph that will basically run a speed test and graph the results every hour or half hour.  I'm not sure on the perl script or how to create the cron job correctly. I can figure out the timing part, but the script side, I have no clue.  Any suggestions?

_______________________________________________
mrtg mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
S Shipway () Re: Monitoring Internet Speeds
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
How about uploading a 1MB file to a known external location, then writing a MRTG plugin that times a download of this file and converts this time to a bps?  You need to have a large enough file else the HTTP protocol overhead will impact the calculations.
Of course this is dependent of the speed of the external website, too, so you need to be sure that THAT is not the bottleneck.  Possibly doing this for several locations and averaging the results?
 
If you are going to use MRTG, you probably want to run the checks every 5min and use RRDtool, then routers2, mrtg-rrd or 14all to generate the graphs as required.
 
Steve
 

From: [hidden email] [[hidden email]] On Behalf Of Matt Baer [[hidden email]]
Sent: Sunday, 4 October 2009 8:07 a.m.
To: mrtg
Subject: [mrtg] Monitoring Internet Speeds

Does anyone have a method for monitoring internet speeds?  I want to create a graph that will basically run a speed test and graph the results every hour or half hour.  I'm not sure on the perl script or how to create the cron job correctly. I can figure out the timing part, but the script side, I have no clue.  Any suggestions?

_______________________________________________
mrtg mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
Mabry Tyson () Re: Monitoring Internet Speeds
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
I'd suggest using iperf instead as it is designed to test this.  Get it from sourceforge.  Check out the wikipedia article.

On 10/3/09 12:59 PM, Steve Shipway wrote:
How about uploading a 1MB file to a known external location, ...
 

From: [hidden email] [[hidden email]] On Behalf Of Matt Baer [[hidden email]]
Sent: Sunday, 4 October 2009 8:07 a.m.
To: mrtg
Subject: [mrtg] Monitoring Internet Speeds

Does anyone have a method for monitoring internet speeds?  I want to create a graph that will basically run a speed test and graph the results every hour or half hour.  I'm not sure on the perl script or how to create the cron job correctly. I can figure out the timing part, but the script side, I have no clue.  Any suggestions?



_______________________________________________
mrtg mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
S Shipway () Re: Monitoring Internet Speeds
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Thanks for the tip, I hadn't heard of this previously.  Looks good...  not sure how simple it will be to integrate it with MRTG though, or how easy if you can't set up a remote server for the other end of the tested link.  Will have a play myself next week.
 
Steve
 

From: [hidden email] [[hidden email]] On Behalf Of Mabry Tyson [[hidden email]]
Sent: Sunday, 4 October 2009 1:57 p.m.
Cc: [hidden email]
Subject: Re: [mrtg] Monitoring Internet Speeds

I'd suggest using iperf instead as it is designed to test this.  Get it from sourceforge.  Check out the wikipedia article.


_______________________________________________
mrtg mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg