[mrtg] Re: Average's messed up..

Jeff Warnica jwarnica at ns.sympatico.ca
Tue Dec 21 01:28:43 MET 1999


Well, not really. I haven't been running mrtg for more than a couple of
months, so the summaries monthly and yearly graphs are wrong.

Also, It might be useful to me to be able to graph the usage of a number of
dial in users to a portmaster (dedicated phone# and line on the pm) But the
averages would be screwed up.

The first problem is with a bunch of 0's at the end of the log, and the
second is with a bunch of 0's in the middle. I was hoping that there would
be a quick and easy way for mrtg just to ignore all the lines that are 0.
(assume that even if the user is idle that there will be ppp chatter or
something).

Am I making sense?


----- Original Message -----
From: Alex van den Bogaerdt <alex at slot.hollandcasino.nl>
To: Jeff Warnica <jwarnica at ns.sympatico.ca>
Cc: MRTG users <mrtg at list.ee.ethz.ch>
Sent: Monday, December 20, 1999 7:36 PM
Subject: Re: [mrtg] Average's messed up..


> > Is there, however a way to make mrtg not use the 'empty' data points
when
> > its crunching these sumaries? Or in general, only caculate on data when
a
> > link was activate?
> >
>
> Is this what you mean:
> Link active from 10:00 to 18:00, MRTG time span from 00:00 to 09:20.
>
> If so:
>
> You can't (AFAIK) make MRTG calculate the average from 10:00 to 18:00.
> You could tune it a little and at exactly 18:00 MRTG can create a graph
> which should be just the right size.  Do this by using XSize, set it to
> the correct number of pixels (normally each pixel == 5 minutes).  This
> however won't work at other times.
>
> What you could do (if you know the times that the link was active):
> Use rrdtool.  Ask "rrdtool graph" to produce these numbers.
> Something like "rrdtool graph dummy --start 10:00 --end 18:00 DS: .....
> See the manual or the tutorial.
>
> 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 |
> +----------------------------------------------------------------------+
>

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list