[rrd-users] Re: Weekly collection problems

Dusty Stults dstults at vericenter.com
Thu Apr 18 00:01:36 MEST 2002


I thought about that since it is exactly 6 hours off, but when I tried
creating the database several different times i.e.. 8am,10am,... the
database continually came up with 6pm CDT.

-----Original Message-----
From: Chris Majewski [mailto:majewski at cs.ubc.ca] 
Sent: Wednesday, April 17, 2002 4:25 PM
To: Dusty Stults
Subject: Re: [rrd-users] Weekly collection problems


Hi
I'm new to  rrdtool and I'm not sure I understand  the details of your
problem,  but it  sounds like  possibly  a timezone  issue. There's  a
binary (trytime?) that comes with  rrdtool and will give you rrdtool's
idea of the  time. For example, pull a timestamp  out of your database
(rrdtool last  ...) and check it  with trytime, see if  the time makes
sense.

-chris

On Wed, 17 Apr 2002, Dusty Stults wrote:

> First I want to apologize if this is a stupid question, but I have 
> read through the rrdtool docs and I'm no sure I understand how the 
> times in the database work.  I am using rrdtool to collect in and out 
> octets on my router every 5 minutes for 36 days to measure bandwidth. 
> This part is working fine.  I then use a perl script to get my 95th 
> percentile numbers from the database which I currently pull weekly.  I

> would like to store these numbers in another database for future 
> manipulation.  I run this script with cron every Tuesday at noon. The 
> problem is that the date\timestamp is coming up incorrect.  It shows 
> the correct day, but the time is  18:00:00 not noon, so when the 
> script runs the 95th percentile numbers are being stored in the 
> previous weeks place.  I'm using 604800 as my step.
>
> Any help is greatly appreciated.
>
> Thanks
>
> --
> 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
>


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