<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi All</div><div><br></div><div>I'm extracting statistics from lots of rrds using rrdtool fetch, but it seems like</div><div>fetch is rather fuzzy about the -s and -e settings<br></div><div><br></div><div>ex:<br></div><div>/usr/bin/rrdtool fetch ./test_transes.rrd AVERAGE -r 300 -s 1312149600 -e 1312150200<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test_transes<br><br>1312149900: 3.0733333333e+00<br>1312150200: 2.9033333333e+00<br>1312150500: 2.7600000000e+00<br></div><div><br></div><div>last entry is after -e</div><div><br></div><div>/usr/bin/rrdtool fetch ./test_transes.rrd MAX -r 300 -s 1312149600 -e 1312150200<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test_transes<br><br>1312150500:
 3.3766666667e+00<br></div><div><br></div><div>This max entry is outside of -s and -e</div><br><div><br></div><div>If I set the start to -s 1312149900 this datapoint is omitted<br></div><div><br></div><div>/usr/bin/rrdtool fetch ./test_transes.rrd AVERAGE -r 300 -s 1312149900 -e 1312150200<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test_transes<br><br>1312150200: 2.9033333333e+00<br>1312150500: 2.7600000000e+00<br><br></div><div>I use the rrdtool enclosed with opensuse11.4, but this software will mainly run on RHEL where we compile our</div><div>own, so any version can do.<br></div><div><br></div><div>/usr/bin/rrdtool -V<br>RRDtool 1.4.5&nbsp; Copyright 1997-2010 by Tobias Oetiker &lt;tobi@oetiker.ch&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Compiled May 16 2011
 22:30:22<br></div><div><br></div><div><br></div><div>Thanks</div><div><br></div><div>--</div><div>Morten Bjoernsvik, Oslo, Norway</div><div><br></div><div><br></div></div></body></html>