[rrd-users] Re: fetching MAX values for a timeslice

Alex van den Bogaerdt alex at ergens.op.het.net
Sat Jan 17 00:03:42 MET 2004


On Fri, Jan 16, 2004 at 11:24:09AM -0500, Brian Lube wrote:
> 
> I'm currently using a MRTG to gather statistics on my network, and I've run
> into a snag attempting to get a very specific subset of that data.
> 
> I'm making a report to see the 1 week and 1 month maximums on about 128
> different links in my network.  Instead of having 14all.cgi attempt to
> create all these graphs just to write down the maximal values, I know that I
> can just do the rrdtool fetch command to get the MAX value for each of these
> circuits during the last week and month, problem is I'm completely lost as

Don't use fetch for this, unless you also need the time.

rrdtool graph will do what you want, by using PRINT in stead of GPRINT.
Just don't use any graphing elements.

Examples as in the tutorial, except you don't use LINE, AREA, STACk
nor GPRINT.

Make sure to specify the right time for both start and end time. This
is a whole multiple of the step time, multiplied by the number of PDPs
per row.

Use MAX in your DEF if possible, and use MAX in your PRINT anyway.

> to how to make sure I'm selecting the correct RRA, and then from there how
> when I'm in that RRA how I can get the last entry in it for it's values.

You need the last, or do you need the largest?

HTH
Alex
-- 
begin  sig
http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1
This message was produced without any <iframe tags

--
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