[rrd-users] Optimize RRD update

Tobias Oetiker tobi at oetiker.ch
Tue Feb 5 13:48:37 CET 2008


Gwenael,

Note that for the base step-size there applies fixed 50% xff the
RRA xff only applies when the steps get consolidated into the RRAs


cheers
tobi


> 2008/2/4, Gwenael Lahay <gwenael.lahay at wanadoo.fr>:
> >
> > Hello,
> >
> > To be more concrete, i use rrd files to store data extracted by the tool
> > Flowscan.
> > The tool calculates the bits/sec and packets/sec on a network.
> > I store this result in rrd files (the tool calculate the average for 1
> > minutes).
> >
> > For the moment, i use this parameters :
> >
> > step 60
> >
> > DS:bytes:ABSOLUTE:300:0:U
> > DS:pkts:ABSOLUTE:300:0:U
> > DS:flows:ABSOLUTE:300:0:U
> >
> > and
> >
> > RRA:AVERAGE:0:1:4320
> > RRA:AVERAGE:0.8:5:2016
> > RRA:AVERAGE:0.94:15:2976
> >
> > Flowscan tool returns only values different to zero.
> > If there is no data, it means that there is no flow on the network (zero
> > value).
> >
> > do i use correct parameters ?
> >
> >
> > 2008/2/4, Fabien Wernli <wernli at in2p3.fr>:
> > >
> > > On Sun, Feb 03, 2008 at 06:48:06PM +0100, Gwenael Lahay wrote:
> > > > I update my rrd file to put zero values because my rrd file stores 3
> > > > frequency of the same data.
> > >
> > > and only one of the 3 gets updated at any one time?
> > >
> > > > correctly the average value for 5 minutes and half and hour.
> > > > For example, i have the following value for a 5 minutes interval :
> > > > NaN 3 NaN NaN NaN NaN
> > > > The program store a NaN data for this 5 minutes interval.
> > >
> > > so what is Nan: the measure (rrdtool fetch output) or your calculation
> > > (rrdtool graph) or both?
> > > If you manually calculate the average between frequencies, you may wanna
> > > play with RPN IF expressions to check for nan values
> > >
> > > _______________________________________________
> > > rrd-users mailing list
> > > rrd-users at lists.oetiker.ch
> > > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
> > >
> >
> >
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902



More information about the rrd-users mailing list