From: bginter@asicommunications.com
Hello,
I'm experiencing a problem fetching a couple of oids from a Cisco 2924.
I want to graph the backplane bandwidth on the 2924 like I do on the
1900 so I modified the Defaults file in the switches directly like so:
OID c2900Bandwidth 1.3.6.1.4.1.9.9.87.1.5.1.0
OID c2900BandwidthMax 1.3.6.1.4.1.9.9.87.1.5.5.0
datasource c2900-bandwidth
ds-source = snmp://%snmp%/c1900Bandwidth
desc = "The amount of bandwidth used across the backplane."
datasource c2900-bandwidth-max
ds-source = snmp://%snmp%/c1900BandwidthMax
desc = "The maximum amount of bandwidth used across the
backplane."
graph c2900-bandwidth
units = bs
color = dark-green
draw-as = AREA
y-axis = "Megabits"
legend = "Megabits/s across backplane"
graph c2900-bandwidth-max
units = bs
color = blue
y-axis = "Megabits"
legend = "Max megabits/s across backplane during interval"
targetType cisco-2900xl
ds = "cpu1min, cpu5min, mem5minUsed, mem5minFree, c2900-bandwidth, c2900-bandwidth-max"
view = "cpu: cpu1min cpu5min,
memory: mem5minUsed mem5minFree,
backplane: c2900-bandwidth c2900-bandwidth-max"
I can query these OIDs from the command line using ucd-snmp 4.01:
$ snmpget -mALL -M+cleandir cisco-2924.usitel.com public .1.3.6.1.4.1.9.9.87.1.5.1.0
enterprises.cisco.ciscoMgmt.ciscoC2900MIB.c2900MIBObjects.c2900BandwidthUsage.c2900BandwidthUsageCurrent.0 = Gauge: 0 megabits per second
$ snmpget -mALL -M+cleandir cisco-2924.usitel.com public .1.3.6.1.4.1.9.9.87.1.5.5.0
enterprises.cisco.ciscoMgmt.ciscoC2900MIB.c2900MIBObjects.c2900BandwidthUsage.c2900BandwidthUsageCurrentPeakEntry.0 = 11
Yet, when collect-subtrees runs, I get the following error:
Error and the lines leading up to it:
[18-Nov-1999 13:02:30 ] Retrieved data for cisco-2924.usitel.com (23): 64,64
[18-Nov-1999 13:02:30 ] Retrieved data for cisco-2924.usitel.com (24): 64,64
[18-Nov-1999 13:02:30 ] Retrieved data for cisco-2924.usitel.com (25): 64,64
[18-Nov-1999 13:02:30 ] Retrieved data for xroads.abilnet.com (): 1,2
[18-Nov-1999 13:02:30*] Received SNMP response with error code noSuchName
My switches file looks like this:
target --default--
target-type = cisco-1900
snmp-community=wildwest
target xroads.abilnet.com
target --default--
target-type= cisco-2900xl
snmp-community=public
target cisco-2924.usitel.com
If I comment out the bandwidth stuff, it works just fine. Where am I going wrong?
Thanks,
Ben Ginter
--------------------------- ONElist Sponsor ----------------------------
Hey Freelancers: Find your next project through JobSwarm!
You can even make $$$ in your sleep by referring friends.
<a href=" http://clickme.onelist.com/ad/jobswarm1 ">Click Here</a>
------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:01:06 PST