[rrd-users] rrdtool fetch boundaries
morten bjoernsvik
morten_bjoernsvik at yahoo.no
Wed Sep 21 11:20:55 CEST 2011
Hi All
I'm extracting statistics from lots of rrds using rrdtool fetch, but it seems like
fetch is rather fuzzy about the -s and -e settings
ex:
/usr/bin/rrdtool fetch ./test_transes.rrd AVERAGE -r 300 -s 1312149600 -e 1312150200
test_transes
1312149900: 3.0733333333e+00
1312150200: 2.9033333333e+00
1312150500: 2.7600000000e+00
last entry is after -e
/usr/bin/rrdtool fetch ./test_transes.rrd MAX -r 300 -s 1312149600 -e 1312150200
test_transes
1312150500: 3.3766666667e+00
This max entry is outside of -s and -e
If I set the start to -s 1312149900 this datapoint is omitted
/usr/bin/rrdtool fetch ./test_transes.rrd AVERAGE -r 300 -s 1312149900 -e 1312150200
test_transes
1312150200: 2.9033333333e+00
1312150500: 2.7600000000e+00
I use the rrdtool enclosed with opensuse11.4, but this software will mainly run on RHEL where we compile our
own, so any version can do.
/usr/bin/rrdtool -V
RRDtool 1.4.5 Copyright 1997-2010 by Tobias Oetiker <tobi at oetiker.ch>
Compiled May 16 2011 22:30:22
Thanks
--
Morten Bjoernsvik, Oslo, Norway
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20110921/edfe5c24/attachment.htm
More information about the rrd-users
mailing list