CPU statistics for VIP cards are supported via SNMP, however it is not a trivial task to map the indexes to the actual VIP cards.
But here is how I do it: Get a list of the CPU physical indexes from the CISCO-PROCESS-MIB snmpwalk -v 2c -c $COMM $HOSTNAME 1.3.6.1.4.1.9.9.109.1.1.1.1.2 SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.2.1 = INTEGER: 9 SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.2.2 = INTEGER: 16 SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.2.4 = INTEGER: 28 SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.2.5 = INTEGER: 31 SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.2.6 = INTEGER: 19 SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.2.7 = INTEGER: 22 SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.2.8 = INTEGER: 25 This maps the CPU index to the entPhysicalIndex which you can then interegate to find out what type of CPU it is, and which slot it is in. The entity name OID is 1.3.6.1.2.1.47.1.1.1.1.7.X and the entity description OID is 1.3.6.1.2.1.47.1.1.1.1.3.X where X is the INTEGER value returned for each CPU. By looking at the entity name: snmpget -v 2c -c $COMM $HOST 1.3.6.1.2.1.47.1.1.1.1.7.16 SNMPv2-SMI::mib-2.47.1.1.1.1.7.16 = STRING: "Line Card 0" we determine that we have a Line Card in slot 0 By looking at the entity description: snmpget -v 2c -c $COMM $HOST 1.3.6.1.2.1.47.1.1.1.1.3.16 SNMPv2-SMI::mib-2.47.1.1.1.1.3.16 = OID: SNMPv2-SMI::enterprises.9.12.3.1.9.7.26 we get another MIB value that requries some translation against the CISCO-ENTITY-VENDORTYPE-OID-MIB I use the following command to make sense of this: snmptranslate -Ov -mCISCO-ENTITY-VENDORTYPE-OID-MIB SNMPv2-SMI::enterprises.9.12.3.1.9.7.26 CISCO-ENTITY-VENDORTYPE-OID-MIB::cevC7xxxVIP250 which shows that it is a 7XXX series VIP250 And there you go, you now know that : 1.3.6.1.4.1.9.9.109.1.1.1.1.4.16 is the 1 min CPU value for the VIP250 in that is in Slot 0 and 1.3.6.1.4.1.9.9.109.1.1.1.1.5.16 is the 5 min CPU value for the VIP250 in that is in Slot 0 As most are probably aware, the CPU indexes are assigned in a random manner, and can often be renumbered when problems like a VIP card crash and/or restart are encountered. It is worth scripting the above process to rebuild the configs on a regular basis. Hope this helps. Simon On Wed, 4 Feb 2004, Glenn Forbes Fleming Larratt wrote: > As of a Cisco TAC case I logged on this issue two years ago - > > } Date: Mon, 4 Mar 2002 14:57:29 PST > } Is there a means of accessing such per-VIP parameters (particularly memory > } and CPU utilization) via the SNMP MIB? > } Technology(T1): Router and IOS Architecture Issues > } Sub-Technology(T2): IOS Upgrade/ Recommendation/ Requirements Assistance > } Problem Summary(T3): IOS Upgrade/ Recommendation Assistance > } Software Version: 12.1(8a)E4 > > > > } Date: Tue, 5 Mar 2002 14:23:25 -0800 (PST) > } Subject: Case C447963 - SNMP / MIB > } > } Just got a response from an engineer. > } > } Currently there are no mib support for the information you want to obtain > for > } your VIPs. > } > } There have been requests made but no extent to when or if this will be > } implemented. > > YMMV, especially if your IOS is different. They recommended we file a > new feature request through our sales rep, but I imagine doing so for > a 7507 at this point woiuld be totally useless. > > -g > > > On Wed, 4 Feb 2004 [EMAIL PROTECTED] wrote: > > > Hi, > > > > I looking for the OIDs to graph cpu and mem for a VIP controller on a Cisco > > 7507. > > > > Best regards. > > Glenn Forbes Fleming Larratt > Rice University Networking > [EMAIL PROTECTED] > > -- > Unsubscribe mailto:[EMAIL PROTECTED] > 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 > > > ---------------------------------------------------------------- Simon Watts Network Architect 180 Burnley St [EMAIL PROTECTED] Ph +61 3 8414 3126 Richmond Connect Internet Sol. Fax +61 3 8414 3115 Vic, Aust, 3121 ---------------------------------------------------------------- -- Unsubscribe mailto:[EMAIL PROTECTED] 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
