[rrd-users] rrdtool fetch ..
Stephan Henningsen
stephan at nerd.dk
Mon Nov 12 09:55:56 MET 2001
Hi.
I don't understand how the --resolution in rrdtool fetch
works. I would think, that --resolution 60 --start -1hour
when sampling every 60 secs, would return two values: one
stored one hour ago, and one just now.
Anyway, that's what I want: Fetch the first (-1hour) and
last value from RRD, preferably just one RRA in the RRD if
possible.
This is how I created the RRD:
# Sample ever 60 secs.
# Must receive sample every 60 secs.
# Average of 1 sample past hour.
# Average of 60 samples past year.
rrdtool create $RRD --step 60 \
DS:effekt:GAUGE:60:U:U \
DS:energi:GAUGE:60:U:U \
RRA:AVERAGE:0.5:1:60 \
RRA:AVERAGE:0.5:60:8760
I hope someone can help me, thanks.
--
Stephan Henningsen /
/ tisprut productions[tm]
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list