This has to do with your time zone setting and rrdtool placing the sample at 
the nearest point where the time is dividable by your step size.
So that would be something like int(localtime/step).

The answer to this is: Set your step size to 1 hour and your heartbeat to 
something over 12 hours.

Also:

> /usr/bin/rrdtool create ../snow.rrd --step 43200 \
> RRA:AVERAGE:0.5:6:17532 \

you are keeping 17532 samples each worth of (6 x 43200) seconds.
That is 144 years of data in high resolution, you must have some big plans.. :)

> RRA:AVERAGE:0.5:6:1344 \
> RRA:AVERAGE:0.5:6:17532 \

In this you have one redundant RRA and one enormous big RRA.
You may be better of with something like
 RRA:AVERAGE:0.5:6:1344 \
 RRA:AVERAGE:0.5:78:1344 \

Make sure to look into how RRA's work.

Serge.


> -----Original Message-----
> From: Kevin Plew [mailto:[EMAIL PROTECTED]

> I'm having a few problems recording and graphing snow fall. My last
> recorded time seems to be 12 hrs prior than it shuld be. Any 
> tips would be
> appreciated. Also, How can I display the total snowfall for 
> the season on
> a graph?
> I have a rrd db setup with the following:
> /usr/bin/rrdtool create ../snow.rrd --step 43200 \
> DS:snow12:GAUGE:86400:0:48 \
> DS:moisture:GAUGE:86400:0:5 \
> DS:snowstake:GAUGE:86400:0:120 \
> RRA:AVERAGE:0.5:1:288 \
> RRA:AVERAGE:0.5:3:672 \
> RRA:AVERAGE:0.5:6:1344 \
> RRA:AVERAGE:0.5:6:17532 \
> RRA:MIN:0.5:1:288 \
> RRA:MIN:0.5:3:672 \
> RRA:MIN:0.5:6:1344 \
> RRA:MIN:0.5:6:17532 \
> RRA:MAX:0.5:1:288 \
> RRA:MAX:0.5:3:672 \
> RRA:MAX:0.5:6:1344 \
> RRA:MAX:0.5:6:17532 \

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to