[mrtg] Max Bytes, Speed and WithPeak options

Joshua Krause linuxstuff at triad.rr.com
Tue Apr 1 18:44:42 MEST 2003


I am graphing my router which can get upto 4 Mbps downlaod and 2 Mbps
upload.  I understand that MRTG graphs on an average but that there is
an option to graph the peaks(WithPeak[_]: wmy).  I have tried this
option and it seems to work.  But the other day my graph showed that i
hit 5.5 Mbps download which on a 4x2 connection is impossible.  Is there
any reason for this happening?  And is there a work around for it?
Could MaxBytes, Max Speed, WithPeak or some other option be used to
correct this?  Here is my cfg to see if i am doing anything wrong...
Thanks in Advance
 
# Created by
# /usr/bin/cfgmaker --show-op-down --descint --ifref=name --ifdesc=name
--output=ZyXelTest.cfg public at 192.168.1.100
 
# RRD Tool Integration
LogFormat: rrdtool
#PathAdd: /usr/local/rrdtool/bin/
#LibAdd: /usr/local/rrdtool/lib/perl/
LibAdd: /usr/lib/perl5/5.6.1/i386-linux/
 
### Global Config Options
 
#  for UNIX
WorkDir: /data/mrtgdata/ZyXelTest
 
#  or for NT
# WorkDir: c:\mrtgdata
 
### Global Defaults
 
#  to get bits instead of bytes and graphs growing to the right
Options[_]: growright, bits
WithPeak[_]: wmy
######################################################################
# System: P944S
# Description: ZyXEL Prestige 944S, HW V3.5, SW ZyNOS V3.55r5(P944S) |
2/6/2003
# Contact:
# Location:
######################################################################
 

### Interface 1 >> Descr: 'enet0' | Name: 'enet0' | Ip: '192.168.1.1' |
Eth: '00-02-cf-05-93-c0' ###
 
Target[192.168.1.100_enet0]: #enet0:public at 192.168.1.100:
SetEnv[192.168.1.100_enet0]: MRTG_INT_IP="192.168.1.1"
MRTG_INT_DESCR="enet0"
MaxBytes[192.168.1.100_enet0]: 1250000
Title[192.168.1.100_enet0]: #enet0 -- P954S
PageTop[192.168.1.100_enet0]: <H1>#enet0 -- P954S</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>P954S in </TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>enet0  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>enet0</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>192.168.1.1 ()</TD></TR>
 </TABLE>

### Interface 2 >> Descr: 'cm0' | Name: 'cm0' | Ip: '' | Eth:
'00-02-cf-05-93-c2' ###
### The following interface is commented out because:
### * has a speed of 0 which makes no sense
#
# Target[192.168.1.100_cm0]: #cm0:public at 192.168.1.100:
# SetEnv[192.168.1.100_cm0]: MRTG_INT_IP="" MRTG_INT_DESCR="cm0"
# MaxBytes[192.168.1.100_cm0]: 0
# Title[192.168.1.100_cm0]: #cm0 -- P954S
# PageTop[192.168.1.100_cm0]: <H1>#cm0 -- P954S</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>P954S in </TD></TR>
#    <TR><TD>Maintainer:</TD> <TD></TD></TR>
#    <TR><TD>Description:</TD><TD>cm0  </TD></TR>
#    <TR><TD>ifType:</TD>     <TD>CATV MAC Layer (127)</TD></TR>
#    <TR><TD>ifName:</TD>     <TD>cm0</TD></TR>
#    <TR><TD>Max Speed:</TD>  <TD>0.0 Bytes/s</TD></TR>
#  </TABLE>
 
### Interface 3 >> Descr: 'ds0' | Name: 'ds0' | Ip: '' | Eth: '' ###
 
Target[192.168.1.100_ds0]: #ds0:public at 192.168.1.100:
SetEnv[192.168.1.100_ds0]: MRTG_INT_IP="" MRTG_INT_DESCR="ds0"
MaxBytes[192.168.1.100_ds0]: 3792705
Title[192.168.1.100_ds0]: #ds0 -- P954S
PageTop[192.168.1.100_ds0]: <H1>#ds0 -- P954S</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>P954S in </TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>ds0  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>CATV Downstream Interface
(128)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>ds0</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>3792.7 kBytes/s</TD></TR>
 </TABLE>

### Interface 4 >> Descr: 'us0' | Name: 'us0' | Ip: '' | Eth: '' ###
 
Target[192.168.1.100_us0]: #us0:public at 192.168.1.100:
SetEnv[192.168.1.100_us0]: MRTG_INT_IP="" MRTG_INT_DESCR="us0"
MaxBytes[192.168.1.100_us0]: 640000
Title[192.168.1.100_us0]: #us0 -- P954S
PageTop[192.168.1.100_us0]: <H1>#us0 -- P954S</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>P954S in </TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>us0  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>CATV Upstream Interface (129)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>us0</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>640.0 kBytes/s</TD></TR>
 </TABLE>


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