Alex Lam wrote: > > Q1: How can I obtain the start and end value in the RRD/RRA so that > I can dump all values in the rrd/rra during "start" to "end" time?
It is not too hard: you have to understand that start and end are not fixed values and thus are meaningless by themselves. > Hope this can get the "start" and "end" value from the output > > /usr/local/rrdtool-1.0.25/bin/rrdtool fetch etc6p3.rrd AVERAGE > --start start+0s --end end-0s start+0s is the same as start. Therefore, my first comment still applies... > ERROR: the start time cannot be specified relative to itself and rrdtool complains. > > /usr/local/rrdtool-1.0.25/bin/rrdtool fetch etc6p3.rrd AVERAGE > --start end+0s --end start-0s > ERROR: the start and end times cannot be specified relative to each other Try using "now". Now is a known point in time, "--start now-1d" means ``1 day ago''. "--start now-2d --end start+1d" is valid. HTH -- __________________________________________________________________ / [EMAIL PROTECTED] [EMAIL PROTECTED] \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
