[mrtg] Re: displaying CIR in graphic

gabroth at nextlink.com gabroth at nextlink.com
Mon May 1 23:37:58 MEST 2000


You need to specify both the default config tag "MaxBytes" and the optional
config tag "AbsMax" value for your target.

- - - - -
>From mrtg-conf.txt:

MaxBytes

The maximum value either of the two variables monitored are
allowed to reach. For monitoring router traffic this is normally
specified in bytes per second this interface port can carry.

If a number higher than *MaxBytes* is returned, it is ignored.
Also read the section on *AbsMax* for further info. The
*MaxBytes* value is also used in calculating the Y range for
unscaled graphs (see the section on *Unscaled*).

Since most links are rated in bits per second, you need to
divide their maximum bandwidth (in bits) by eight (8) in order
to get bytes per second. This is very important to make your
unscaled graphs display realistic information. T1 = 193000, 56K
= 7000, Ethernet = 1250000. The *MaxBytes* value will be used by
mrtg to decide whether it got a valid response from the router.

Example:

MaxBytes[ezwf]: 1250000

AbsMax

If you are monitoring a link which can handle more traffic than
the *MaxBytes* value. Eg, a line which uses compression or some
frame relay link, you can use the *AbsMax* keyword to give the
absolute maximum value ever to be reached. We need to know this
in order to sort out unrealistic values returned by the routers.
If you do not set *AbsMax*, rateup will ignore values higher
then *MaxBytes*.

Example:

AbsMax[ezwf]: 2500000
- - - - -

I set MaxBytes to CIR, and AbsMax to the total pipe size:

Target[myrouter.serial0.1]: 1:mycommstring at myrouter
MaxBytes[myrouter.serial0.1]: 32000
AbsMax[myrouter.serial0.1]: 193000
Title[myrouter.serial0.1]: myrouter.mydomain: Serial0.1
PageTop[myrouter.serial0.1]: <H1>Traffic Analysis for Serial0.1</H1>
 <TABLE>
        <TR><TD>Desc:</TD><TD>T1, CIR 256K</TD></TR>
        <rest o' the stuff>

#---------------------------------------------------------------

Target[myrouter.serial0.2]: 2:mycommstring at myrouter
MaxBytes[myrouter.serial0.2]: 16000
AbsMax[myrouter.serial0.2]: 193000
Title[myrouter.serial0.2]: myrouter.mydomain: Serial0.2
PageTop[myrouter.serial0.2]: <H1>Traffic Analysis for Serial0.2</H1>
 <TABLE>
        <TR><TD>Desc:</TD><TD>T1, CIR 128K</TD></TR>
        <rest o' the stuff>





"Jade Deane" <JDeane at NOS.COM>@list.ee.ethz.ch on 05/01/2000 01:52:35 PM

Sent by:  mrtg-bounce at list.ee.ethz.ch


To:   mrtg at list.ee.ethz.ch
cc:

Subject:  [mrtg] displaying CIR in graphic


After taking a few minutes and searching for a method to place a red line
depicting CIR (as seen in example shots from other MRTG users) I have
failed
to find any mention on the method in which it was done.

Anyone?

Jade

Jade E. Deane
Network Engineer/Architect
I.S. Engineering
NOS Communications, Inc.  Las Vegas, Nevada
AS13833

Electronic Mail: jdeane at nos.com
Electronic Page: 7026049192 at page.nextel.com
Voice: +1 (702) 547-8745
Cell: +1 (702) 604-9192
Nextel Radio #109


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




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



More information about the mrtg mailing list