[rrd-users] Re: Graphing total MBs used in a month

Matt Hyne Matthew.Hyne at cleveland.com.au
Tue Jun 18 14:52:45 MEST 2002


At Tuesday, 18-06-02 13:26 (+0200), Alex van den Bogaerdt wrote:

>Matt Hyne wrote:
>
> > Basically, I need to reset a counter at the beginning of the billing
> > period, then add the difference in ifInOctets between sampling periods to
> > build up the total BW used - then graph it.
>
>Basically, you need to make use of the fact that an average multiplied
>by an amount of time results in the total amount of bytes.
>
>If you create a graph starting at 20020515 ending at start+30d
>this results in an average of 2 MB/s.  If the average is 2 MB/s
>and the amount of seconds is 30*86400 then the amount of MB is
>30*86400*2.
>
>Use rrdtool graph *without* graphing elements but *with* PRINT (not
>GPRINT) do calculate the average.

It would be nice if I could graph the actual traffic used so I can see trends.

>Oh, and read the archives next time.

I did - and found nothing.  It is not that easy to search.
(and there has to be a better way of saying this)

Thanks for the help,
Matt

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list