[mrtg] SNMPv2 and Cat6509's

Chuck Harpham charpham at symantec.com
Wed Jul 24 19:31:49 MEST 2002


Hi

I am having some strange problems with SNMPv2 and Catalyst 6509's...   I am
having problems getting stats from gigabit links... What's strange is that
I am able to monitor gigaport ports using SNMPv2 on one switch but not
another.   (Both switches have the same CATOS and firmware versions)

I get the following errors
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.31.1.1.1.6.3)
SNMPv1_Session (remote host: "switchname" [IP address].161)
                  community: "string"
                 request ID: 58432493
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /opt/data/mrtg/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for ifHCInOctets.3 ifHCOutOctets.3 sysUptime sysName on
string at switchname::::::2c



When I do a snmpwalk (using ucdsnmp) and query the interfaces with OID
1.3.6.1.2.1.31.1.1.1.6.3 (with parameter SNMPv2) I do see the information
in the 64bit counters of the gigabit interfaces..



Here is a snipit of my config file....

Target[router]: 3:string at switchname::::::2c

SetEnv[switchname]: MRTG_INT_IP="" MRTG_INT_DESCR=""
MaxBytes[switchname]: 125000000
Title[switchname]: Traffic Analysis for port 1/1
PageTop[switchname: <H1>Traffic Analysis for port 1/1</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>switchname</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>joe blow</TD></TR>
   <TR><TD>Description:</TD><TD>  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>Gigabit Ethernet (117)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>1/1</TD></TR>
   <TR><TD>Port Name:</TD>  <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>125.0 MBytes/s</TD></TR>


I am using MRTG ver 2.9.17

Anybody have any ideas as to why this is happening.. Do I need to upgrade
MRTG.. I did see a thread awhile back about some issues with SNMPv2 and
versions earlier than 2.9.18

Chuck Harpham
Symantec Corporation
Network Engineer/IT Communications
charpham at symantec.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