[rrd-users] Re: A question regarding step size in rrdxport ...
wolfgang.schrimm at urz.uni-heidelberg.de
Wed Jul 6 17:24:37 MEST 2005
you have to give an appropriate maxrows parameter. The default is 400.
That's because xport uses logic from the graph command where the step
size is choosen based on the width of the graph.
With the default maxrows value and your start and end values you get:
365 x 24 x 3,600 = 31,536,000 (seconds)
31,536,000 / 400 = 78,840 (step size)
rounded to a multiple of 300 is 78900
PS: xport is available in the perl module (try the shared-demo.pl in the
Andreas Maus wrote:
> Hello everybody.
> Perhaps someone out there can enlight me... :)
> I am collecting some statistics from several cluster nodes
> and store them in a rrd-database.
> Each database holds 216000 samples of 5 min (don't ask ...
> I really need this amount of data for such a long timespan ...).
> To generate some reports I tried to call rrdxport with a step size
> of 3600 sec. Running:
> rrdtool xport --start=-1year --end now --step 3600 DEF:node01=node01/load.rrd:load1:AVERAGE XPORT:node01:loadonnode01
> But I get the expcted XML output with a step of 78900 seconds although the database
> is capable of handling this stepsize.
> Does anybody know how I get the desired step size of 3600 seconds via
> Many thanks in advance ...
> P.S.: Is there a reason that there is no RRDs::xport() in the perl module ?
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users