[rrd-users] emulating shift in v1.0 (or tweaking rrdtool creation)
curby.public at gmail.com
Wed Mar 15 14:42:41 MET 2006
Hi, I'm trying to make a blocky bar graph similar to
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
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!
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users