[mrtg] OID troubles

Archer, Kyle Archer.Kyle at principal.com
Tue Jul 27 14:21:20 MEST 1999


I'm making an attempt to pull down number of SNMP msgs being sent in/out of a
cisco router.  Here is the config file I'm using:

# Router SNMP load
Target[222.221.100.1-snmp]:
1.3.6.1.2.1.11.1.0&1.3.6.1.2.1.11.2.0:public at 1.1.1.1
RouterUptime[222.221.100.1-snmp]: public at 1.1.1.1
MaxBytes[222.221.100.1-snmp]: 100
Title[222.221.100.1-snmp]: SNMP Trafiic
PageTop[222.221.100.1-snmp]: <H1>SNMP Traffic</H1>
#Title[222.221.100.1-snmp]: SNMP Traffic (msgs)
Unscaled[222.221.100.1-snmp]: ymwd
ShortLegend[222.221.100.1-snmp]: msgs
XSize[222.221.100.1-snmp]: 380
YSize[222.221.100.1-snmp]: 100
YLegend[222.221.100.1-snmp]: SNMP Traffic
Legend1[222.221.100.1-snmp]: SNMP In (msgs)
Legend2[222.221.100.1-snmp]: SNMP Out (msgs)
Legend3[222.221.100.1-snmp]:
Legend4[222.221.100.1-snmp]:
LegendI[222.221.100.1-snmp]: SNMP Out
LegendO[222.221.100.1-snmp]: SNMP In
Options[222.221.100.1-snmp]: gauge

	When I use a product like HP Openview to manually query the device
with 1 of those 2 OIDs it returns the proper information.  MRTG, on the
otherhand, returns this:

Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.4.20.1.2.1.3.6.1.2.1.11.1.0)
SNMPv1_Session (remote host: "1.1.1.1" [1.1.1.1].161
                  community: "public"
                 request ID: 394792316
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET Problem for ipAdEntIfIndex.1.3.6.1.2.1.11.1.0 on public at 1.1.1.1 SNMP
Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.10)
SNMPv1_Session (remote host: "1.1.1.1" [1.1.1.1].161
                  community: "public"
                 request ID: 394792317
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET Problem for ifInOctets. ifOutOctets. sysUptime sysName on
public at 1.1.1.1
SNMPGET: Failed to reach target: "1.3.6.1.2.1.11.1.0:public at 1.1.1.1". I tried
multiple times!

	What am I doing wrong?  Do I need to load the MIB file (SNMPv2) into
something? I've also tried using snmpInPkct (or was it snmpInMsgs), and that
didn't work either.  

Kyle Archer

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list