[rrd-users] Re: Specification of RRA Boundaries

Bush, Andrew G [NY] andrew.bush at lehman.com
Wed Aug 25 14:53:46 MEST 2004


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