[mrtg] Re: MAX BYTES?

Peter Glanville peter_glanville at cuk.canon.co.uk
Mon Feb 3 10:41:35 MET 2003



Pete,

MaxBytes limits the maximum permissable value in MRTG. It also dictates the
vertical scale of the graphs when using the Unscaled option.
It can be over ridden by using AbsMax. This will allow bigger numbers to be
accepted and stored, but does not affect the default graph scale, it then
autoscales from Maxbytes up to AbsMax when the data requires it.
MaxBytes limits both In & Out, where MaxBytes1 and Maxbytes2 do them
individually.

I doubt that you have a 100MegaByte network, most of us have 100Megabit
links (note capital and lower case B/b)
Eight bits in a Byte, so 100Mb=12.5MB suggesting a MaxByte of 12500000
Is your fibe 100Megabit or Gigabit? If Gb, multiple Maxbytes by 1000

Although referred to as 100Mbit networking, it is in fact 100 "Megabits per
second".
Why use perminute as a option, it will confuse anyone reading the figures?
(Never used it, not sure on whether you need to change your Maxbytes to the
approriate perminute figure (12.5Mx60=750,000,000=3/4 TerraBytes per
Minute))
I would suggest the "bits" option (without the "perminute") would give you
figures that would feel better.

The leading "-" will reverse in and out. That appears to be what you want.

Regards
Peter




                                                                                                                                                 
                    "Peter G LaForge"                                                                                                            
                    <Webmaster at offpla       To:     <mrtg at list.ee.ethz.ch>                                                                       
                    .net>                   cc:                                                                                                  
                    Sent by:                Subject:     [mrtg] MAX BYTES?                                                                       
                    mrtg-bounce at list.                                                                                                            
                    ee.ethz.ch                                                                                                                   
                                                                                                                                                 
                                                                                                                                                 
                    02/02/2003 16:35                                                                                                             
                                                                                                                                                 
                                                                                                                                                 





MaxBytes1[all]:
MaxBytes2[all]:
(Note: commas added for readability)
I had thought that the MAX Bites field was a limiter on the number of
bites that could be recorded. I Was Using 250,000,000 as the number (250
Megs), on a new configuration. I thought that 250 Megs was 50 Megs more
than all possible combined bandwidth than I could use (100 Mega Bit Full
Duplex). This seems to have produced Small Terabit Figures in a few
days, and while possible it is no probable, not to mention a slight
heart attack. I switched to 1,250,000 (1.25 Megs) But this then seemed
to produced a flat line in a few hours at 1240.0 K. I have Just upped it
to 12,500,000 (12.5 Megs).

I need to know what, How I should be tracking the switch for as accurate
as possible numbers. Below are three config examples. (1)Uplink to
provider from Switch (2) Downlink to another Switch that feeds Servers.
(3) Downlink from switch to a Server, they all reside in the same cfg
file. The Word "Host" has replaced the IP's

The Machine Used for the MRTG Configs is being feed by the Switch, I.E
it is on the inside of the Switch Which Is why I Have an"-" in front of
that Target Line, However I am not any longer Sure that that is correct.

Could someone please tell me;
           A What the MaxBytes Fields Really does?

And
           B what would be the appropriate Number to put in that field for
a 100 Mega Byte Switch is?


CONF1
#
#-#Total[all25]:
#-#Total-Unit[all25]: G
#-#Total-Ratio[all25]: yes
Target[all25]:  -25:public at host
YLegend[all25]: UPLINK
XSize[all25]: 200
YSize[all25]: 100
Options[all25]:  growright,perminute,nobanner,nolegend
MaxBytes1[all25]: 12500000
MaxBytes2[all25]: 12500000
Kilo[all25]: 1024
UnScaled[all25]: WMY
Withpeak[all25]: DWMY
Background[all25]: #ffffcc
Title[all25]: Traffic Analysis for Switch Port 25 FIBER By converter
Uplink

CONF2
#-#Total[all11]:
#-#Total-Unit[all11]: m
#-#Total-Ratio[all11]: yes
Target[all11]:  11:public at Host
XSize[all11]: 200
YSize[all11]: 100
Options[all11]:  growright,perminute,nobanner,nolegend
MaxBytes1[all11]: 12500000
MaxBytes2[all11]: 12500000
Kilo[all11]: 1024
UnScaled[all11]: DWMY
Withpeak[all11]: DWMY
Background[all11]: #ffffcc
Title[all11]: Traffic Analysis for Switch HOST Port 11 Switch

CONF3
#-#Total[all1]:
#-#Total-Unit[all1]: m
#-#Total-Ratio[all1]: yes
Target[all1]:  1:public at HOST
YLegend[all1]: BPM DC1
XSize[all1]: 200
YSize[all1]: 100
Options[all1]:  growright,perminute,nobanner,nolegend
MaxBytes1[all1]: 1250000
MaxBytes2[all1]: 1250000
Kilo[all1]: 1024
UnScaled[all1]: DWMY
Withpeak[all1]: Y
Background[all1]: #ffffcc
Title[all1]: Traffic Analysis for Switch HOST Port 1 DNS Server


Pete


-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of Magdy Ibrahim
Sent: Sunday, February 02, 2003 3:59 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] bandwidth tool for web server!!


Hi,
I have a web server we used it to hosp about 25 web sites on it...
I am looking for a tool te show me the actuall bandwidth used by each
web
page to allow me to calculate the cost of the bandwidth used by each
page
separately...
Please guide me if there is such tool or advice me to how to calculate
the
cost....

Thanx in advance...

Magdy


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

---
[Virus Scanned and Filtered by http://www.offpla.net E-Mail System.
Offplanet, Inc. ]



---
[Virus Scanned and Filtered by http://www.offpla.net E-Mail System.
Offplanet, Inc. ]

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





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