[rrd-users] Re: Resolution Question

Glenn MacGregor gtm at highstreetnetworks.com
Wed Nov 1 15:40:46 MET 2006


Alex,

Thanks. I am actually using the XPort function so the width is not allowed. 

I tried these values:
Start Time - 1152019500 (Tue, 04 Jul 2006 13:25:00 GMT)
End Time - 1152278700 (Fri, 07 Jul 2006 13:25:00 GMT)


Command Line:
rrdtool xport -s 1152019500 -e 1152278700 DEF:raw=/var/trends/test1/test11.rrd:param:AVERAGE XPORT:raw:Raw


This produced the following:
  <meta>
    <start>1152018900</start>
    <step>900</step>
    <end>1152279000</end>
    <rows>290</rows>
    <columns>1</columns>
    <legend>
      <entry>Raw</entry>
    </legend>
  </meta>

So the step is 900 here. Even with the --step 300 in the command line it still produces the above results. Does the latest version make this any easier?

Thanks

 Glenn


On Wed, 1 Nov 2006 13:24:59 +0100, Alex van den Bogaerdt <alex at ergens.op.het.net> wrote:
> On Wed, Nov 01, 2006 at 06:22:06AM -0500, Glenn MacGregor wrote:
> 
>> I am using rrdtool 1.0.40 (old I know). I have created rrd files that
> hold 2 years of 5 minute averages, 2 weeks of 30 minute averages, 2 months
> of 2 hour averages and 2 years of 12 hour averages.
>>
>> I can go back 2 years and get a one day trend of 5 minute averages, is
> there a way to go back 2 years and get the 5 minute average data for 1
> week?
> 
> I assume you mean by using graph?
> 
> 1 week = 7*(86400/300) 5-minute-averages -> 2016.
> 
> Try setting your graph width to 2016 (or a multiple) and your end time
> to some time being a whole multiple of 5 minutes but not a whole multiple
> of 10, e.g. 20041101 13:25 -> 1099311900
> 
> 2016 is a bit high... I'm not sure if this is going to work.
> 
> 
> --
> Alex van den Bogaerdt
> http://www.vandenbogaerdt.nl/rrdtool/
> 
> --
> 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
--
Glenn MacGregor
HighStreet Networks

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