Hi, I'm trying to make a blocky bar graph similar to

http://curby.net/pub/nettotal_2month.png

but with the vertical bars aligned to local day boundaries. 
Currently, the bars are aligned to UTC days, and the grid to local
days. There is no SHIFT in rrdtool 1.0, so I'm wondering if there's
any other way to do it.

Perhaps the problem is in the RRD creation itself? I first tried something like

$ rrdtool create $DATADIR/$FNAME --step 86400 DS:in:GAUGE:172800:0:U
DS:out:GAUGE:172800:0:U RRA:MAX:0:1:365

but the data is aligned with UTC-midnight even if I update at local
midnight.  Dump shows:

...
<!-- 2006-03-14 17:00:00 MST / 1142380800 --> <row><v>
4.1285280000e+06 </v><v> 8.9459410000e+06 </v></row>
...

I tried recreating the RRD using a start value that corresponds to a
local midnight, like --start 1142319600, but that didn't help.

I don't mind changing the RRD or the graphing, but I'd really like to
shift those bars over a bit if possible.  If anyone has a solution
short of upgrading to v1.2, that'd be great.  Thanks!

--Curby

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

Reply via email to