If I execute the following commands:
rrdtool create test1.rrd --start 999999000 DS:val:GAUGE:200000:U:U 
RRA:AVERAGE:0.5:1:2
rrdtool update test1.rrd 999999300:50
rrdtool update test1.rrd 999999600:100
rrdtool fetch test1.rrd AVERAGE --start 999999000 --end 999999600

The output will be:
                             val

  999999300: 5.0000000000e+01
  999999600: 1.0000000000e+02
  999999900: nan

As far as I understand the output above is correct.
However, if I change the start timestamps to 1000000000 or greater, i.e.
rrdtool create test1.rrd --start 1000000000 DS:val:GAUGE:200000:U:U 
RRA:AVERAGE:0.5:1:2
rrdtool update test1.rrd 1000000300:50
rrdtool update test1.rrd 1000000600:100
rrdtool fetch test1.rrd AVERAGE --start 1000000000 --end 1000000600

The output will be:
                             val

1000000200: 5.0000000000e+01
1000000500: 8.3333333333e+01
1000000800: nan


The first timestamp in the output is not (start + 300) as is the case with the 
first output.
More importantly, the values stored in the database are different than in the 
first example.

Any help would be greatly appreciated.

Thanks,
Pentti




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