[rrd-users] Step value 86400, Graphs shifted 1 day...

Philipp Richter philipp.richter at linbit.com
Tue Sep 23 17:05:07 MEST 2003


Hi,

I am trying to solve following problem: 

# export TZ=UTC
# rrdtool create test.rrd --start 1041292800 --step 86400 
DS:a:GAUGE:86400:0:100 RRA:AVERAGE:0.5:1:5
# rrdtool update test.rrd 1041379200:1
# rrdtool update test.rrd 1041465600:2
# rrdtool update test.rrd 1041552000:3
# rrdtool graph test.png --start 1041292800 --end 1041552000 -h 400 
DEF:a=test.rrd:a:AVERAGE LINE2:a#ff0000

The produced graph shows the value 1 for the weekday tuesday, 2 for wed and 3 
for thu, but it should be 1 for wed, 2 for thu and 3 for fri.

Could somebody explain to me why the graphs are shifted?

some output from rrdtool dump:

<!-- 2003-01-01 00:00:00 UTC / 1041379200 --> <row><v> 1.0000000000e+00 </v></
row>
<!-- 2003-01-02 00:00:00 UTC / 1041465600 --> <row><v> 2.0000000000e+00 </v></
row>
<!-- 2003-01-03 00:00:00 UTC / 1041552000 --> <row><v> 3.0000000000e+00 </v></
row>

not that timzones are not the problem because i work with UTC ...

kind regards,
-- 
: Philipp Richter                                 Tel +43-1-8178292-51 :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :

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