[mrtg] Re: Weekly Max Greater than Daily

Alex van den Bogaerdt alex at ergens.op.HET.NET
Wed Aug 14 00:54:31 MEST 2002


Jim McAtee wrote:
> 
> 
> I've just configured mrtg to monitor line usage on several Livingston/Lucent
> PortMasters using the pmlines.pl script.  It's only been running for about
> an hour so far.  On a couple of generated pages, the Max on the Weekly Graph
> is one greater than the Max listed for the daily graph.  How can this be?
> 
> Here's the top of one of the logs:
> 
> 1029202819 9 9
> 1029202819 9 9 9 9
> 1029202519 10 10 10 10
> 1029202500 10 10 10 10
> 1029202200 10 10 10 10
> 1029201900 10 10 11 11
> 1029201600 11 11 11 11
> 1029201300 11 11 11 11
> 1029201000 11 11 12 12

^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> 1029200700 11 11 12 12

^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> 1029200400 10 10 11 11

^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> 1029200100 10 10 10 10
> 1029199800 9 9 10 10
> 1029199500 9 9 9 9
> 1029199200 9 9 11 11

^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> 1029198900 5 5 11 11

^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> 1029198600 0 0 0 0
> 1029198300 0 0 0 0
> 1029198000 0 0 0 0
> 1029197700 0 0 0 0

I've shown the lines where the basis of this "problem" is.

What happens is that the daily graph only looks at the averages
(and the maximum is the max of those) whereas the other graphs
may also look at the peak values (4th and 5th column).  This
happens when you're using "WithPeaks", even if you try (and fail)
to specify "d" there.

The reason for this behaviour is, I guess, that the maximum and
average values are expected to be the same for the daily part of
the .log file.  As you can see, it isn't *exactly* the same.
This has to do with normalization (see faq site).

I must admit I too don't understand why "withpeaks" cannot look
at the maxima for the daily graph.  Perhaps it is just a matter
of time (or rather: lack thereof).

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| 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: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