[rrd-users] Re: graphing averages over a week?

Felix LUNGU felix.lungu at bcv01y01.vz.cit.alcatel.fr
Thu Feb 15 08:37:51 MET 2001


Paul Slootman wrote:

> I'm using RRD to log things like load average, memory usage,
> number of users, etc.  This gives pretty graphs which show
> e.g. that the load depends on the number of active users.
> However, I can now only show the data for a given day; what
> I want to do is for every timespan (e.g. 12:00-12:10), average
> the numbers of Monday-Friday, and then display a single grpah
> so that the average load at a given time can be seen.
>
> Any ideas on how to do that? only thing I could think of was
> extracting the numbers for each timespan on each day myself
> and averaging those myself, and then plugging that into a
> temp RRD after which the graph could be generated. However,
> this sounds a bit inefficient, and I thought that perhaps
> there is a readily available way of doing this?
>
> Paul Slootman
> --
> home:       paul at wurtel.net      http://www.wurtel.demon.nl/
> work:       paul at murphy.nl       http://www.murphy.nl/
> debian:     paul at debian.org      http://www.debian.org/
> isdn4linux: paul at isdn4linux.org  http://www.isdn4linux.org/
>
> --
> 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

What you mean is weekly average on hourly bases. This is simmilar to nDAV
busy hour calculation in telecom.

I don't think that you'll be able to make such calculation directly in
RRDTOOL, because first of all the
only measurement unit is "seccond" and not a general unit like  <hour1>,
<hour2>.. or <day1>, <day2>... .

But, as a workaround you can perform some queries hourly based, for each
day o the week and then do
your calculations by yourself and feed a new archive with what you obtain
to do the graphs. The only
thing that you should care is how create and graph the new archive because
you can't use anymore the
"seccond" as your measurement unit.

Regards,
Felix


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