[rrd-users] Re: using rrd to do traffic accounting

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Tue Sep 19 23:52:15 MEST 2000


Jans, Jasper wrote:

> my problem start when i have to graph this.. how do i
> use rrd to make a graph of all traffic and draw in there
> the amount of traffic per ip(range) so you can see how much
> each customer contributed to the total traffic.

You say that you can come up with the numbers. Okay,
 then it's simple:

Either:
-a- The numbers are continuesly incrementing --> counter
-b- The numbers are reset when read --> absolute
-c- The numbers represent an average number of bytes per second --> gauge

Start with "N".  Then for each number, append ":" and the number to the
string.  Append the string you got to "rrdtool update some.rrd" and you're
done.

Read the tutorial for basic information on how to use counters, gauges,
absolutes etcetera.  Database creation is also covered in there, as is
graphing.

regards,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| 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: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