[rrd-users] rrdtool fetch boundaries
Alex van den Bogaerdt
alex at vandenbogaerdt.nl
Wed Sep 21 14:09:43 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
A combination of unfortunate accidents with programming off-by-one errors
and people not understanding the fencepost error
http://en.wikipedia.org/wiki/Off-by-one_error#Fencepost_error
What usually helps is to ask for {$start_you_want}+{$offset} to
{$end_you_want}-{$offset} where offset is choosen such a way that it does
not make another RRA more suitable. Generally speaking "1" is already
enough.
HTH
Alex
More information about the rrd-users
mailing list