[mrtg] 2.9.18. ConfigMaker. NoSuchName proble

Neil Pike NeilPike at compuserve.com
Mon Jun 17 21:11:58 MEST 2002


Just upgraded from 2.9.17 to 2.9.18.  Everything with existing config files
looks ok.  However, generating new config files on routers with ATM
interfaces has shown a problem - these were ok with 2.9.17.

The below is the relevant, sanitised, sections from a Cisco 3640 with an
ATM card and several ATM logical interfaces.  The physical ATM interface is
generated ok, but the sub-interfaces don't work.

Is this a known problem with 2.9.18?

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

# Created by 
# cfgmaker --ifref=descr snmppublic at 1.1.1.1 --global 'WorkDir:
D:\MRTG\WWW\Esplanade\Network\3640ROUTER' --global 'Options[_]:
growright,bits' --output D:\MRTG\Conf\3640ROUTER.Cfg


### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits


######################################################################
# System: 3640ROUTER
# Description: Cisco Internetwork Operating System Software 
#          IOS (tm) 3600 Software (C3640-JS-M), Version 12.1(3a), RELEASE
SOFTWARE (fc1)
#          Copyright (c) 1986-2000 by cisco Systems, Inc.
#          Compiled Thu 27-Jul-00 11:59 by cmong
# Contact: ContactName
# Location: Building
######################################################################


### Interface 1 >> Descr: 'ATM2/0' | Name: 'AT2/0' | Ip: '' | Eth: '' ###

Target[1.1.1.1_ATM2_0]: \ATM2/0:snmppublic at 1.1.1.1:
SetEnv[1.1.1.1_ATM2_0]: MRTG_INT_IP="" MRTG_INT_DESCR="ATM2/0"
MaxBytes[1.1.1.1_ATM2_0]: 500000
Title[1.1.1.1_ATM2_0]: Traffic Analysis for ATM2/0 -- 3640ROUTER
PageTop[1.1.1.1_ATM2_0]: <H1>Traffic Analysis for ATM2/0 -- 3640ROUTER</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>3640ROUTER in Building</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>ContactName</TD></TR>
   <TR><TD>Description:</TD><TD>ATM2/0 : Connection to ES-ATM-SW1 1/0/2
</TD></TR>
   <TR><TD>ifType:</TD>     <TD>sonet (39)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>AT2/0</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>500.0 kBytes/s</TD></TR>
 </TABLE>



### Interface 4 >> Descr: 'TokenRing1/0' | Name: 'To1/0' | Ip: '1.1.1.1' |
Eth: '00-a0-7a-51-62-4a' ###

Target[1.1.1.1_TokenRing1_0]: \TokenRing1/0:snmppublic at 1.1.1.1:
SetEnv[1.1.1.1_TokenRing1_0]: MRTG_INT_IP="1.1.1.1"
MRTG_INT_DESCR="TokenRing1/0"
MaxBytes[1.1.1.1_TokenRing1_0]: 2000000
Title[1.1.1.1_TokenRing1_0]: Traffic Analysis for TokenRing1/0 --
3640ROUTER
PageTop[1.1.1.1_TokenRing1_0]: <H1>Traffic Analysis for TokenRing1/0 --
3640ROUTER</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>3640ROUTER in Building</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>ContactName</TD></TR>
   <TR><TD>Description:</TD><TD>TokenRing1/0  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>iso88025TokenRing (9)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>To1/0</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>2000.0 kBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>1.1.1.1 ()</TD></TR>
 </TABLE>



### Interface 8 >> Descr: 'ATM2/0.2-atm subif' | Name: '' | Ip: '' | Eth:
'' ###
### The following interface is commented out because:
### * got 'Received SNMP response with error code
###       error status: noSuchName
###       index 1 (OID: 1.3.6.1.2.1.2.2.1.10.8)
###     SNMPv1_Session (remote host: "1.1.1.1" [1.1.1.1].161)
###                       community: "snmppublic"
###                      request ID: 818106575
###                     PDU bufsize: 8000 bytes
###                         timeout: 2s
###                         retries: 5
###                         backoff: 1)' from interface when trying to
query
# 
# Target[1.1.1.1_ATM2_0.2-atm_subif]: \ATM2/0.2-atm\
subif:snmppublic at 1.1.1.1:
# SetEnv[1.1.1.1_ATM2_0.2-atm_subif]: MRTG_INT_IP=""
MRTG_INT_DESCR="ATM2/0.2-atm subif"
# MaxBytes[1.1.1.1_ATM2_0.2-atm_subif]: 500000
# Title[1.1.1.1_ATM2_0.2-atm_subif]: Traffic Analysis for ATM2/0.2-atm
subif -- 3640ROUTER
# PageTop[1.1.1.1_ATM2_0.2-atm_subif]: <H1>Traffic Analysis for
ATM2/0.2-atm subif -- 3640ROUTER</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>3640ROUTER in Building</TD></TR>
#    <TR><TD>Maintainer:</TD> <TD>ContactName</TD></TR>
#    <TR><TD>Description:</TD><TD>ATM2/0.2-atm subif PVC connection to
RATMPRIORY1 </TD></TR>
#    <TR><TD>ifType:</TD>     <TD>ATM Sub Interface (134)</TD></TR>
#    <TR><TD>ifName:</TD>     <TD></TD></TR>
#    <TR><TD>Max Speed:</TD>  <TD>500.0 kBytes/s</TD></TR>
#  </TABLE>


WorkDir: D:\MRTG\WWW\Esplanade\Network\3640ROUTER
Options[_]: growright,bits


 Neil Pike MVP/MCSE
 Protech Computing Ltd

 

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