[mrtg] Re: maximum graph settings..

David C Prall dcp at dcptech.com
Tue Aug 31 15:12:33 MEST 1999


> okay, i'm working on a "ballpark traffic" script, and so far it looks
like
> this:
>
>
> Target[foo]: 2:public at 10.1.1.3 + 100 + 2:public at 10.1.1.15 * 8
> MaxBytes[foo]: 768000
> AbsMax[foo]: 768000
> WithPeak[foo]: wmy
> Options[foo] growright
>
> my question is this:
> these are ethernet segments, (.15 is a switch with 8 machines
> plugged into the other side) and what I would like to do is
> graph this "relative" to a 768k dsl. i.e. i need rateup to
> accept numbers much higher (which is what absmax is for) but
> I don't want to to show it being over 100% or for how long,
> I just want it to hit the top of the graph and stay there.
>
MRTG is going to think that anything above your AbsMax is erroneous. I
haven't played with anything like this, but I would stay away from the
option unknaszero on this and it should leave everything alone, although
it may just graph a straight line at the last good reading, giving you a
50% instead of 100%, perhaps with some tweaking of the mrtg perl script
you could add an option that allows for the graphing of 100% when data
is erroneous.

> when i set absmax for 12000000 I start getting numbers like
> 500% and such. this script is a really close indicator right
> now, but the nightly backups blow the whole thing off the scale...
>
Well, AbsMax is what allows for %'s above 100%. In your example above
you don't need the AbsMax line, put a # in front and let MRTG run .00001
seconds faster.

Why don't you just measure the traffic on a single port bound for the
DSL Ethernet interface. Then backbone traffic is of no concern, and you
will get to see the actual traffic on the DSL circuit, you may need to
switch the IN/OUT around, but that is simple with the '-' option.

Hope this helps,

David C Prall, MCNE MCSE          DCP Technologies
dcp at dcptech.com                       http://www.dcptech.com
dcppage at dcptech.com


--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list