Joe Clarke Tue, 09/09/2008 - 21:41
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

What version of code is this switch running?

Jagsuvce G Tue, 09/09/2008 - 22:54
User Badges:

Hi,


Pls find the sh ver details of the switch



SW01#sh ver

Cisco Internetwork Operating System Software

IOS (tm) Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12.2(20)EW4,

RELEASE SOFTWARE (fc2)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 13-Oct-06 11:13 by tinhuang

Image text-base: 0x00000000, data-base: 0x011F879C


ROM: 12.2(31r)SG2

Dagobah Revision 226, Swamp Revision 34


EY-Bangalore-SW01 uptime is 3 weeks, 5 days, 1 hour, 27 minutes

System returned to ROM by reload

System image file is "bootflash:cat4000-i9s-mz.122-20.EW4.bin"


cisco WS-C4507R (MPC8245) processor (revision 4) with 524288K bytes of memory.

Processor board ID FOX1045074A

MPC8245 CPU at 400Mhz, Supervisor V

Last reset from Reload

4 Virtual Ethernet/IEEE 802.3 interface(s)

144 FastEthernet/IEEE 802.3 interface(s)

52 Gigabit Ethernet/IEEE 802.3 interface(s)

511K bytes of non-volatile configuration memory.


Configuration register is 0x2101


SW01#


Regards

Jagadish G

Joe Clarke Wed, 09/10/2008 - 06:57
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

For memory utilization, you can use the ciscoMemoryPoolTable objects from the CISCO-MEMORY-POOL-MIB. For example:


ciscoMemoryPoolUsed

ciscoMemoryPoolFree

ciscoMemoryPoolLargestFree


For CPU utilization, you can use the cpmCPUTotalTable objects from the CISCO-PROCESS-MIB. For example:


cpmCPUTotal1min

cpmCPUTotal5min


Each of these objects are in a table, so there may be multiple instances. I recommend you walk each table on the device so you can get a feel for what each object represents.

Jagsuvce G Wed, 09/10/2008 - 20:43
User Badges:

Hi,


I will doing the same for generating the graph thro MRTG. But i need the OID for the same.


I dont know how to get that.

Joe Clarke Wed, 09/10/2008 - 21:03
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

You can use http://jaguar.ir.miami.edu/~marcus/snmptrans.html to translate the object names I have provided you into OIDs. However, you will still need to query the switch to figure out which specific instances exist. Once you have that, you can configure MRTG.

Jagsuvce G Thu, 09/11/2008 - 03:11
User Badges:

Hi,


Thro the URL i got these OID's


.1.3.6.1.4.1.9.9.48.1.1.1.5 Memory Used

.1.3.6.1.4.1.9.9.48.1.1.1.6 Memory Free

.1.3.6.1.4.1.9.9.48.1.1.1.7 Memory Largest Free


.1.3.6.1.4.1.9.9.109.1.1.1.1.4 CPUTotal 1min

.1.3.6.1.4.1.9.9.109.1.1.1.1.5 CPUTotal 5min



I have configured the same on mrtg and my cpu utilization is working fine but my memory utilization graph is not growing. Pls let me know that this OID for memory is correct.


varunkhanna Thu, 09/11/2008 - 06:02
User Badges:

Hi ,

I suggest walking through the MIB using snmpwalk tool and get the OID's and their exact values directly from the device .This way you will get the exact value that will be accepted by the device .

Joe Clarke Thu, 09/11/2008 - 06:38
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

As I said, you need to walk these objects on the device to get the specific instances which can be polled. These OIDs cannot be polled directly. Once you have the OIDs with their instances, you can add those to MRTG to get your graphs.

Jagsuvce G Wed, 09/10/2008 - 20:43
User Badges:

Hi,


I will doing the same for generating the graph thro MRTG. But i need the OID for the same.


I dont know how to get that.

Actions

This Discussion