[rrd-users] Re: How to get kB transfered?
Matus Telgarsky
mit at juilliard.edu
Fri Apr 26 18:14:50 MEST 2002
rrdtool takes wrapping at the word boundary into consideration, so don't worry
about the resetting of the value.
rrdtool create eth0.rrd --step 60 DS:rx:COUNTER:120:0:U DS:tx:COUNTER:120:0:U RRA:AVERAGE:.5:1:1440
that'll hold 1440 piecs of data, one for each minute in a day
when you query the counter, you'll get a per second rate, so no need to divide.
-mateusz-
On Fri, 26 Apr 2002 16:46:27 +0200 "Matej \LeVaK\ Zerovnik" <levak at planetq.org>
Deliberately scrawled:
> /proc/net/dev counters resets at 4GB of traffic.. How to solve that.. Does rrd
> does that by him self?
>
> rrdtool graph tes.png -s end-1day -e now
> DEF:ds0=/var/www/mrtg/adsl.rrd:ds0:AVERAGE CDEF:e=ds0,300,/
> PRINT:e:AVERAGE:%lf
>
> I tryed that but the result is now what i want:) I / ds0 with 300 because
> heartbeat is set to 300.. Am I doing the right think?
>
> LeVaK
>
>
>
--
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