[rrd-users] totalling..

Wupsje mrtg at wps.tmfweb.nl
Wed Apr 3 00:41:58 MEST 2002


Hi,

Got another question again..
Home come the totals for a whole year end up way high? (see attached)..
Even though I started out with a clean rrd file on the 30th of march?
Makes me wonder if the CDEF function is reliable (or should i use something
else?).

PS Tried the VDEF TOTAL function, but that seems to result in exactly the
same results as the CDEF function.

Wupsje

<RRD::GRAPH  /mrtg/yearly.png
--imginfo '<IMG SRC=../yearly.png>'
--start end-31536000sec
--imgformat PNG
--width 800
--height 200
--title="Traffic for Wouter (1 Year)"
--vertical-label "Bytes per second"
DEF:In=/etc/rc.d/192.168.0.2.rrd:input:AVERAGE
DEF:Out=/etc/rc.d/192.168.0.2.rrd:output:AVERAGE
CDEF:XIn=In,31536000,*
CDEF:XOut=Out,31536000,*
AREA:In#00FF00:"In"
GPRINT:XIn:AVERAGE:"%6.2lf %sB"
STACK:Out#0000FF:"Out"
GPRINT:XOut:AVERAGE:"%6.2lf %sB"
>


-- Attached file removed by Listar and put at URL below --
-- Type: image/png
-- Size: 4k (4559 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/02-Yearly.png


--
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