[mrtg] Limit on Number of Interfaces?

Aaron Conaway Aaron.Conaway at HOSystems.com
Thu Aug 8 21:27:18 MEST 2002


Hi, all.  New to MRTG, so please bear with me.

I'm running MRTG 2.9.6.1 on a RH 7.2 box.  I'm using it to monitor a cisco3661 which is pretty packed with interfaces.

I used cfgmaker to create the config file for the device.  It seemed to work with no problem at all, giving me a config file with 85 interfaces (!).  I also have a cron task running that queries every 5 minutes.  I then, of course, run indexmaker against the config file and get a nice, pretty page.  All the data seems to be correct, but there are only 22 interfaces listed on the web page.  I don't necessarily need all the interfaces listed, but one of the ones that is not listed is our main FastEthernet interface that I absolutely must monitor.
 
Anyone know what's going on here?  Is it an SNMP issue?  An MRTG issue?  User error?  I looked through all the docs I could find

Here's part of my config file with names and community changed.  You can clearly see that there are are more than 22 interfaces.

\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\  CONFIG FILE  START /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

workdir: /var/www/html/network

######################################################################
# System: myrouter
# Description: Cisco Internetwork Operating System Software 
#          IOS (tm) 3600 Software (C3660-JS56I-M), Version 12.0(7)XK1, EARLY DEP
LOYMENT RELEASE SOFTWARE (fc1)
#          TAC:Home:SW:IOS:Specials for info
#          Copyright (c) 1986-2000 by cisco Systems, Inc.
#          Compiled Fri 17-Mar-00 0
# Contact: EricBonner
# Location: 
######################################################################


### Interface 1 >> Descr: 'Serial1/0' | Name: 'Se1/0' | Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * it is Operationally DOWN
--More--(0%)### * --ifref=ip is not unique for this interface
# 
# Target[myrouter_1]: 1:mycomm at myrouter
# SetEnv[myrouter_1]: MRTG_INT_IP="" MRTG_INT_DESCR="Serial1/0"
# Directory[myrouter_1]: myrouter
# MaxBytes[myrouter_1]: 193000
# Title[myrouter_1]: Traffic Analysis for 1 -- myrouter
# PageTop[myrouter_1]: <H1>Traffic Analysis for 1 -- myrouter</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>myrouter in </TD></TR>
#    <TR><TD>Maintainer:</TD> <TD>EricBonner</TD></TR>
#    <TR><TD>Description:</TD><TD>Serial1/0 ICI FR </TD></TR>
#    <TR><TD>ifType:</TD>     <TD>frame-relay (32)</TD></TR>
#    <TR><TD>ifName:</TD>     <TD>Se1/0</TD></TR>
#    <TR><TD>Max Speed:</TD>  <TD>193.0 kBytes/s</TD></TR>
#  </TABLE>


### Interface 2 >> Descr: 'Serial1/1' | Name: 'Se1/1' | Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * --ifref=ip is not unique for this interface
# 
--More--(1%)# Target[myrouter_2]: 2:mycomm at myrouter
# SetEnv[v_2]: MRTG_INT_IP="" MRTG_INT_DESCR="Serial1/1"
# Directory[myrouter_2]: myrouter
# MaxBytes[myrouter_2]: 193000
# Title[myrouter_2]: Traffic Analysis for 2 -- myrouter
# PageTop[myrouter_2]: <H1>Traffic Analysis for 2 -- myrouter</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>myrouter in </TD></TR>
#    <TR><TD>Maintainer:</TD> <TD>EricBonner</TD></TR>
#    <TR><TD>Description:</TD><TD>Serial1/1 AT&T FR </TD></TR>
#    <TR><TD>ifType:</TD>     <TD>frame-relay (32)</TD></TR>
#    <TR><TD>ifName:</TD>     <TD>Se1/1</TD></TR>
#    <TR><TD>Max Speed:</TD>  <TD>193.0 kBytes/s</TD></TR>
#  </TABLE>

<EDITED FOR YOUR PROTECTION>


### Interface 84 >> Descr: 'ATM4/IMA0' | Name: 'AT4/IMA0' | Ip: '172.20.31.254' 
| Eth: '' ###

Target[myrouter_172.20.31.254]: /172.20.31.254:mycomm at myrouter
SetEnv[myrouter_172.20.31.254]: MRTG_INT_IP="172.20.31.254" MRTG_INT_DESCR="ATM4
/IMA0"
Directory[myrouter_172.20.31.254]: myrouter
MaxBytes[myrouter_172.20.31.254]: 750000
Title[myrouter_172.20.31.254]: Traffic Analysis for 172.20.31.254 -- myrouter
PageTop[myrouter_172.20.31.254]: <H1>Traffic Analysis for 172.20.31.254 -- cisco
--More--(98%)999</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>myrouter in </TD></TR>
   <TR><TD>Maintainer:</TD> <TD>EricBonner</TD></TR>
   <TR><TD>Description:</TD><TD>ATM4/IMA0  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ATM IMA (107)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>AT4/IMA0</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>750.0 kBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>172.20.31.254 ()</TD></TR>
 </TABLE>


### Interface 85 >> Descr: 'Dialer1' | Name: 'Di1' | Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * --ifref=ip is not unique for this interface
# 
# Target[myrouter_85]: 85:mycomm at myrouter
# SetEnv[myrouter_85]: MRTG_INT_IP="" MRTG_INT_DESCR="Dialer1"
# Directory[myrouter_85]: myrouter
# MaxBytes[myrouter_85]: 7000
# Title[myrouter_85]: Traffic Analysis for 85 -- myrouter
# PageTop[myrouter_85]: <H1>Traffic Analysis for 85 -- myrouter</H1>
--More--(99%)#  <TABLE>
#    <TR><TD>System:</TD>     <TD>myrouter in </TD></TR>
#    <TR><TD>Maintainer:</TD> <TD>EricBonner</TD></TR>
#    <TR><TD>Description:</TD><TD>Dialer1  </TD></TR>
#    <TR><TD>ifType:</TD>     <TD>ppp (23)</TD></TR>
#    <TR><TD>ifName:</TD>     <TD>Di1</TD></TR>
#    <TR><TD>Max Speed:</TD>  <TD>7000.0 Bytes/s</TD></TR>
#  </TABLE>

Thanks...

Aaron Conaway
Network Engineer III
Verisign, Inc.
http://www.verisign.com

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