[mrtg] bandwidth utilisation using snmp v2

Andy Leahy aleahy at yahoo.com
Tue Jul 23 16:07:59 MEST 2002


I am using a config to capture the 64 bit counters from a cisco catalyst switch. The interfaces are consistantly running at 0.5-0.9% utilised. However mrtg consistantly reports 0% with an occasional rise to 1% utilised with the config below.

If i use the default configmaker instead of my config file it does report utilisation of around 0.7% however we want to see utilisation as a % not the bytes in/out that is created with this. 

I've checked out the config with somix and other posts here and cant see an error so any help would be great.

 

#Network Utilization 
Target[hostname.11nwutil]: ((1.3.6.1.2.1.31.1.1.1.6.11&1.3.6.1.2.1.31.1.1.1.6.11:readcomm at 10.173.191.241:::::2+1.3.6.1.2.1.31.1.1.1.10.11&1.3.6.1.2.1.31.1.1.1.10.11:readcomm at 10.173.191.241:::::2)/125000000)*100 
Directory[hostname.11nwutil]: hostname
RouterUptime[hostname.11nwutil]:readcomm at hostname 
MaxBytes[hostname.11nwutil]: 100 
Title[hostname.11nwutil]: CR(hostname): KCH-CNR-6513-01 Percentage Bandwidth Used 
PageTop[hostname.11nwutil]: <H1>Percentage Network Bandwidth for Trunk to KCH-HNR-6513-01, Local Port 3/1, SNMP Interface 11 </H1> 
 <TABLE> 
   <TR><TD>System:</TD><TD>KCH-CR-6513-01, Catalyst 6513, Asset Tag Number 19185 </TD></TR> 
   <TR><TD>Maintainer:</TD><TD>NST</TD></TR> 
   <TR><TD>IP:</TD><TD>hostname (10.173.191.241)</TD></TR> 
  </TABLE> 
# Unscaled[hostname.11nwutil]: ymwd 
XSize[hostname.11nwutil]: 380 
YSize[hostname.11nwutil]: 100 
YLegend[hostname.11nwutil]: Network Util 
Colours[hostname.11nwutil]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff 
Legend1[hostname.11nwutil]: Percentage of Available Bandwidth Used 
Legend2[hostname.11nwutil]:
Legend4[hostname.11nwutil]:
LegendI[hostname.11nwutil]:  Util: 
LegendO[hostname.11nwutil]:
Options[hostname.11nwutil]: unknaszero, growright, nobanner 


cheers

andy



---------------------------------
Do You Yahoo!?
Yahoo! Health - Feel better, live better

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