[rrd-users] Re: A question regarding step size in rrdxport ...
Wolfgang Schrimm
wolfgang.schrimm at urz.uni-heidelberg.de
Wed Jul 6 17:24:37 MEST 2005
Hello Andreas,
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
examples directory)
hth,
Wolfgang
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
> rrdxport?
>
> Many thanks in advance ...
>
> Andreas.
>
> 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
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list