[rrd-users] Re: Specification of RRA Boundaries

Bush, Andrew G [NY] andrew.bush at lehman.com
Wed Aug 25 17:51:22 MEST 2004


Also ive just realised that all this is more clearly shown when using
the xport function.  
This is an attempt to show the 14 daily totals again in EST!

rrdtool xport --maxrows 4000 --start 1092283200 --end 1093492800 --step
86400
 
DEF:data0=/home/md_senti/KPI/data/am-toc/bing/data.rrd:TotalBTELL:AVERAG
E<BR>
   CDEF:data0s=data0,86400,*<BR>
   XPORT:data0s:'Tell Message Rate'

<xport>
  <meta>
    <start>1092268800</start>
    <step>86400</step>
    <end>1093564800</end>
    <rows>16</rows>
    <columns>1</columns>
    <legend>
      <entry>Tell Message Rate</entry>
    </legend>
  </meta>
  <data>
    <row><t>1092268800</t><v>1.4400000000e+02</v></row>
    <row><t>1092355200</t><v>NaN</v></row>
    <row><t>1092441600</t><v>6.9000000000e+01</v></row>
    <row><t>1092528000</t><v>1.2600000000e+02</v></row>
    <row><t>1092614400</t><v>1.8200000000e+02</v></row>
    <row><t>1092700800</t><v>1.0100000000e+02</v></row>
    <row><t>1092787200</t><v>7.5000000000e+01</v></row>
    <row><t>1092873600</t><v>7.1000000000e+01</v></row>
    <row><t>1092960000</t><v>4.9000000000e+01</v></row>
    <row><t>1093046400</t><v>4.4000000000e+01</v></row>
    <row><t>1093132800</t><v>3.1600000000e+02</v></row>
    <row><t>1093219200</t><v>2.1800000000e+02</v></row>
    <row><t>1093305600</t><v>8.4000000000e+01</v></row>
    <row><t>1093392000</t><v>4.3000000000e+01</v></row>
    <row><t>1093478400</t><v>5.7882352941e+01</v></row>
    <row><t>1093564800</t><v>NaN</v></row>
  </data>
</xport>

Where this represents
11 Aug 04 20:00 EDT 1092268800 144  
12 Aug 04 20:00 EDT 1092355200 NaN 
13 Aug 04 20:00 EDT 1092441600 69  
14 Aug 04 20:00 EDT 1092528000 126  
15 Aug 04 20:00 EDT 1092614400 182  
16 Aug 04 20:00 EDT 1092700800 101  
17 Aug 04 20:00 EDT 1092787200 75  
18 Aug 04 20:00 EDT 1092873600 71  
19 Aug 04 20:00 EDT 1092960000 49  
20 Aug 04 20:00 EDT 1093046400 44  
21 Aug 04 20:00 EDT 1093132800 316  
22 Aug 04 20:00 EDT 1093219200 218  
23 Aug 04 20:00 EDT 1093305600 84  
24 Aug 04 20:00 EDT 1093392000 43  
25 Aug 04 20:00 EDT 1093478400 57.8824  
26 Aug 04 20:00 EDT 1093564800 NaN 


PS - Arrh to be back working in the UK in GMT!

-----Original Message-----
From: Bush, Andrew G [NY] 
Sent: Wednesday, August 25, 2004 8:54 AM
To: 'Alex van den Bogaerdt'; RRD users
Subject: RE: [rrd-users] Re: Specification of RRA Boundaries



Alex
Thanks again...

I thought I was beginning to understand this but from your two previous
emails I have to ask one last questions (I hope).... "How do I get an
average value for a week (step=604800) starting on a Monday."

All this sort of leads back to my original question which  I attempted
to pose to the development mailgroup having found a reference to in one
of 
the archives...
"Is it still being considered for future versions to enable the origin
of an rrd chart to be at a specified point in time in addition to the
default of epoch."

The reason behind  the variety of chart resolutions is aimed at
different people.  Technicians what access to detailed intra-day data (5
minutes) as well as the longer term trends.  

Thanks
Andy




  






-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch] On Behalf Of Alex van den
Bogaerdt
Sent: Tuesday, August 24, 2004 6:28 PM
To: RRD users
Subject: [rrd-users] Re: Specification of RRA Boundaries


On Tue, Aug 24, 2004 at 04:11:54PM -0400, Bush, Andrew G  [NY] wrote:

> Your response is appreciated and indeed I have managed to move this
> problem forward somewhat by making the changes suggested. I am however

> now observing a problem that the x-axis start and end times of the 
> chart are not lining up with the specified start and end parameters. 
> As you can see (example attached) while the RRA boundaries are now 
> correctly aligned (thank you!) the chart is not.

not yet.

> My environment;
> - The specification of the RRD has been modified to have hourly RRAs
> only (daily has been removed).

> - Data is collected every minute.

If you are trying to build images like the one attached
in http://www.ee.ethz.ch/~slist/p/image_7089.png , you probably do not
want to update each minute.

IF you try to do so:
Set heartbeat to a large number (larger than 86400) and update at
midnight only.

> 	RRDs::graph (-imgformat,PNG
> 		--width,500,
> 		--height, 300, 
> 		--step, 86400,

step 86400 ...

> 		--start, 1092628800,
> 		--end, 1093233600,

..... but:

1092628800 mod 86400 != 0  -> cannot work
1093233600 mod 86400 != 0  -> cannot work

RRDtool will modify the start and end so that it _is_ n*86400.

> 		--step 86400,

another step.  Get rid of them both.

> 	1092628800 = Monday 16 August 2004 00:00 EDT (I think!)
> 	1093233600 = Monday 23 August 2004 00:00 EDT (I think!)

if EDT is four hours behind UTC then this is OK.
perl -e 'use POSIX; print ctime(1093233600);'
will show the wall clock time.

HTH
Alex
-- 
I ask you to respect any "Reply-To" and "Mail-Follow-Up" headers.  If
you reply to me off-list, you'd better tell me you're doing so.  If you
don't, and if I reply to the list, that's your problem, not mine.

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



------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.

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