Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


New Feature - Network Traffic Graphs

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linode.com Announcements
Author Message
mikegrb



Joined: 16 Oct 2003
Posts: 264
Location: Dr Wierd's Lab, South Jersey Shore

Posted: Sun Oct 23, 2005 9:55 pm    Post subject: New Feature - Network Traffic Graphs  

Network traffic graphs are now availible from the Member's site. Two graphs are displayed, one covering the last 24 hours and another covering the last 30 days. In the near future we will add the ability to view graphs for prior months. Longer term, we hope to add graphs for additional datapoints to help users better manage their Linode.

These graphs are generated in real time but the data they are based on is updated every five minutes. Endless refreshing won't increase the amount of data on the graph.

https://www.linode.com/members/graphs/network.cfm
Back to top  
cederberg



Joined: 21 Jul 2004
Posts: 15
Location: Stockholm, Sweden

Posted: Mon Oct 24, 2005 12:54 am    Post subject:  

Looks great! This is really great information to have easily accessible like this. Good thing that I was too lazy to implement it myself... Now you've just saved all the work for me! :-)

Thanks!
Back to top  
graham



Joined: 22 Mar 2005
Posts: 38
Location: London, England

Posted: Mon Oct 24, 2005 6:33 am    Post subject:  

Very useful. I was also thinking of doing this myself, thanks for saving us the work.
Back to top  
inkblot



Joined: 08 Sep 2003
Posts: 62
Location: Bucharest

Posted: Mon Oct 24, 2005 9:37 am    Post subject: data point?  

What data point am I looking at here?
Back to top  
schmichael



Joined: 14 Mar 2004
Posts: 116
Location: Peoria, IL

Posted: Mon Oct 24, 2005 10:05 am    Post subject:  

Beautiful graphs! Thanks Mike & Caker! Any chance of an io_token graph anytime soon? Since thats always been the main bottleneck for my linode, it'd be handy.
Back to top  
rjp



Joined: 15 Aug 2003
Posts: 102

Posted: Mon Oct 24, 2005 7:13 pm    Post subject:  

If you use MRTG, you can make a graph of I/O token usage, or anything else graphable.

Here's a Perl script for collecting the token count:
Code:
#!/usr/bin/perl

$line = `/usr/bin/uptime`;
($uptime) = ($line =~ m/^.*up (.*),\s+\d+\s+users*,\s+load average:.*$/o);

$host = `/bin/hostname`;

open IOSTATUS, "/proc/io_status";
$line = <IOSTATUS>;
close IOSTATUS;

($count) = ($line =~ m/^io_count=(\d+) .*$/o);

print "$count\n0\n$uptime\n$host\n";



And here is the stanza for mrtg.cfg:

Code:
Title[io_rate]: I/O Rate for Linode VPS
Target[io_rate]: `/usr/local/bin/tokenrate.pl`
PageTop[io_rate]: <H1>I/O Token Usage Rate</H1>
Options[io_rate]: logscale
MaxBytes[io_rate]: 400000
YLegend[io_rate]: Tokens/sec
ShortLegend[io_rate]: Tokens/sec
LegendI[io_rate]: &nbsp;Tokens/sec:
LegendO[io_rate]: &nbsp;
Legend1[io_rate]: I/O Token Usage Rate
Legend2[io_rate]: &nbsp;



I use the logscale option to plot the graphs with a logarithmic scale, so that low rates don't get lost among large peaks.
Back to top  
xinu



Joined: 19 Jun 2005
Posts: 4

Posted: Fri Oct 28, 2005 6:11 pm    Post subject: Re: Network Traffic Graphs  

Beautiful graphs, thank you. An RSS feed containing the textual data under the graphs might be useful too.

(I've reconsidered the utility of the GM script that was previously posted here, and removed it.)
Back to top  
jbent



Joined: 09 Apr 2005
Posts: 1

Posted: Sun Oct 30, 2005 12:21 pm    Post subject:  

Thank-you! :D The graphs are beautiful and very handy when checking my member account. I appreciate this added feature very much.
Back to top  
 
       Linode.com Forum Forum Index -> Linode.com Announcements
Page 1 of 1