[rrd-users] rrd fetch changes between 1.0 and 1.2

Gergely Madarasz gorgo at broadband.hu
Fri Feb 2 14:42:23 CET 2007


Hello,

I just found that rrdtool fetch works differently in 1.0 and 1.2:


1.0:

# rrdtool fetch some.rrd AVERAGE --start 1170422400 --end 1170423300
timestamp    42

1170422400:  1.0666666667e-03
1170422700:  2.6133333333e-02
1170423000:  1.0471937984e-01
1170423300:  2.6379611625e-01

1.2:

# rrdtool fetch some.rrd AVERAGE --start 1170422400 --end 1170423300
                             42

1170422700: 2.6133333333e-02
1170423000: 1.0471937984e-01
1170423300: 2.6379611625e-01
1170423600: nan


So 1.0 actually gives data corresponding to the interval asked in the
command line, while 1.2 gives an off-by-one result. Can someone please
tell me what is the reason for this? An url is fine if already discussed,
I just couldn't find any good search terms for it.

-- 
Madarasz Gergely        gorgo at broadband.hu         gorgo at linux.rulez.org
    It's practically impossible to look at a penguin and feel angry.
        Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.



More information about the rrd-users mailing list