[mrtg] Re: Log Aggregation

Alex van den Bogaerdt alex at ergens.op.het.net
Wed Jul 2 17:26:09 MEST 2003


On Wed, Jul 02, 2003 at 10:33:04AM -0400, James Amann wrote:

> I am trying to confirm that the MAX values are never averaged.  Meaning if I recive a value that is the max for a 5 min period, when aggregated into the 1/2 hr period, if it is still the max value of the other 5 min slices for the 1/2 hour, it will still be the max, and so on.
> 
> I have looked through the docs and cannot confirm from what I found, and I have always assumed that the maximum value would propogate to the last aggregation at 1 day without any averaging, but we are seeing something in our logs that forces me to ask the question.

Perhaps you should share this "something" with us...

The way MRTG should work:

5-minute average #1 \
5-minute average #2  \
5-minute average #3   \ 30-minute average = (#1+#2+#3+#4+#5+#6)/6
5-minute average #4   / 30-minute maximum = max(#1,#2,#3,#4,#5,#6)
5-minute average #5  /
5-minute average #6 /
5-minute average #1 \
5-minute average #2  \
5-minute average #3   \ 30-minute average = (#1+#2+#3+#4+#5+#6)/6
5-minute average #4   / 30-minute maximum = max(#1,#2,#3,#4,#5,#6)
5-minute average #5  /
5-minute average #6 /

and so on;  dito for 30-minutes --> 2 hour and so on.

-- 
Much of what looks like rudeness in hacker circles is not intended to give
offence. Rather, it's the product of the direct, cut-through-the-bullshit
communications style that is natural to people who are more concerned about
solving problems than making others feel warm and fuzzy.

http://www.tuxedo.org/~esr/faqs/smart-questions.html

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list