[rrd-users] rrd graph x-axis shift caused by --step
Stefan Finzel
Stefan.G.R.Finzel at T-Online.de
Fri Jun 16 12:50:55 MEST 2006
Hi,
drawing one datapoint per day is shifting my graphs x axis by two hours
(correlated to my local time zone CEST?) using --step 86400 by rrdtool
create. There is no shift using --step 3600. Something obvious was
missed here?
RRDtool 1.0.49
Ok:
rrdtool create test.rrd --step 86400 --start 1149458400
DS:TOTAL:GAUGE:86400:0:U RRA:AVERAGE:0:1:400
Fails:
rrdtool create test.rrd --step 3600 --start 1149458400
DS:TOTAL:GAUGE:86400:0:U RRA:AVERAGE:0:1:400
Data are created using the midnight timestamps of the local zone
rrdtool update test.rrd --template TOTAL 1149544800:1 1149631200:2
1149717600:1 1149804000:2 1149890400:1 1149976800:2 1150063200:1
1150149600:2 1150236000:1 1150322400:2 1150408800:1
Drawing was made for a week/day by
rrdtool graph test.png --start 1149804000 --end 1150495200
DEF:TOTAL=test.rrd:TOTAL:AVERAGE LINE2:TOTAL#000000:TOTAL
rrdtool graph test.png --start 1150322400 --end 1150452000
DEF:TOTAL=test.rrd:TOTAL:AVERAGE LINE2:TOTAL#000000:TOTAL
Dependent of the setting of --step the x-axis is /not shifted. Using
--step 3600 will enlarge my rrd files to keep the same time period,
won't it?
I am not able/allowed to modify the environement variable TZ as it's
setting is already used and required by the script.
TIA
Stefan
--
_________________________________________________________
Stefan G. R. Finzel, Dipl. Phys. (Univ.)
Ochsenkopfstr. 5, D-95478 Kemnath, +49 (0)9642 704448
-- Attached file removed by Ecartis and put at URL below --
-- Type: text/x-vcard
-- Size: 351 bytes
-- URL : http://lists.ee.ethz.ch/p/03-Stefan.G.R.Finzel.vcf
--
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://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list