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 [EMAIL PROTECTED] [EMAIL PROTECTED]
It's practically impossible to look at a penguin and feel angry.
Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users