[mrtg] How to alter the bandwidth scaling on graphs?

Rupert Heesom raheesom at awr.org
Mon Jun 17 13:20:26 MEST 2002


The bandwidth scaling on my graphs seems to be set dynamically.

I'm hoping to set the bandwidth to 100% of 512k (our dedicated bandwidth
size).

I've tried editing the mrtg.cfg file ---

----------------------------------------------------------------------------
---------------------------------------------------------------

### Interface 1 >> Descr: 'Ethernet0' | Name: 'Et0' | Ip: '193.133.125.222'
| Eth: '00-30-94-e6-25-d3' ###

Target[193.133.125.222_1]: 1:AWEN-UK at 193.133.125.222:
SetEnv[193.133.125.222_1]: MRTG_INT_IP="193.133.125.222"
MRTG_INT_DESCR="Ethernet0"
MaxBytes[193.133.125.222_1]: 5120000
[<-------  set this to "512K"]
Title[193.133.125.222_1]: Traffic Analysis for 1 -- advaworl01-gw.awr.org
PageTop[193.133.125.222_1]: <H1>Traffic Analysis for 1 --
advaworl01-gw.awr.org</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>advaworl01-gw.awr.org in </TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>Ethernet0  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>Et0</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>512.0 kBytes/s</TD></TR>
[<-------  set this to "512K"]
   <TR><TD>Ip:</TD>         <TD>193.133.125.222
(advaworl01-gw.pipex.net)</TD></TR>
 </TABLE>

----------------------------------------------------------------------------
--------------------------------------------------------------

Having made these changes, and restarted MRTG which I have running as a
Win32 daemon, this didn't make any difference to the graph showing on the
MRTG generated web page (I did refresh the web page showing in the browser)

Is it _possible_ to set the bandwidth scale to always show 512K max
bandwidth?

PS; having looked at the CFG file again, I realise that I'm just setting
labels for the web page, not altering how the graphs are shown.  This
doesn't alter my question though!


Regs
Rupert Heesom
Asst Distribution Engineer
Adventist World Radio


-- Attached file removed by Listar and put at URL below --
-- Type: application/ms-tnef
-- Size: 2k (2468 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/3D0DC60529981-winmail.dat


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