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. Oh, and read the archives next time. -- __________________________________________________________________ / [EMAIL PROTECTED] [EMAIL PROTECTED] \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
