:-> "Simon" == Simon Leinen <simon@limmat.switch.ch> writes:
> On 24 Oct 2002 09:08:14 +0200, Pierfrancesco Caci <p.caci@seabone.net> said:
>> :-> "Chris" == Chris Whyte <cwhyte@microsoft.com> writes:
>>> Check out:
>>> ftp://ftp.cisco.com/pub/mibs/v2/CISCO-PROCESS-MIB.my
>> CISCO-PROCESS-MIB::cpmCPUTotalPhysicalIndex.1 = INTEGER: 0
>> CISCO-PROCESS-MIB::cpmCPUTotalPhysicalIndex.2 = INTEGER: 69
[...]
>> How do I match this to the actual slot on the router ? Is there a
>> different MIB that will provide me this info? I did a walk of the
>> entire ciscoprocessmyb and I couldn't find it.
> The CISCO-PROCESS-MIB says the following about the
> cpmCPUTotalPhysicalIndex:
[...]
> Note that this is not the actual index of the cpuCPUTotalTable, but a
> column that could be used to associate a CPU with a "physical entity"
> as described in the ENTITY-MIB. Whether this has been implemented
> according to spec is another question. On all systems I tried (but I
> don't have GSRs), either the ENTITY-MIB wasn't implemented at all, or
> it was but all cpmCPUTotalPhysicalIndex values were zero anyways.
> --
> Simon.
Ok, after downloading all the CISCO-ENTITY... MIBs, I have been able
to get this, on a 12416 running 12.0.21ST4
# snmpbulkwalk -v 2c -c xxx mil6 entPhysicalTable | grep 69
ENTITY-MIB::entPhysicalDescr.69 = STRING: 4 port ATM OC3 single mode, HwVer#: 1.1, SwVer#: 12.0
ENTITY-MIB::entPhysicalVendorType.69 = OID: CISCO-ENTITY-VENDORTYPE-OID-MIB::cevAtm4Oc3Sm
ENTITY-MIB::entPhysicalContainedIn.69 = INTEGER: 19
ENTITY-MIB::entPhysicalContainedIn.70 = INTEGER: 69
ENTITY-MIB::entPhysicalContainedIn.71 = INTEGER: 69
ENTITY-MIB::entPhysicalContainedIn.72 = INTEGER: 69
ENTITY-MIB::entPhysicalContainedIn.73 = INTEGER: 69
ENTITY-MIB::entPhysicalClass.69 = INTEGER: module(9)
ENTITY-MIB::entPhysicalParentRelPos.69 = INTEGER: 1
ENTITY-MIB::entPhysicalName.69 = STRING: slot 11
ENTITY-MIB::entPhysicalHardwareRev.69 = STRING: 1.1
ENTITY-MIB::entPhysicalFirmwareRev.69 = STRING: RAM 01.4C ROM 02.08
ENTITY-MIB::entPhysicalSoftwareRev.69 = STRING: 12.0
ENTITY-MIB::entPhysicalSerialNum.69 = STRING: CAB0428ALNR
ENTITY-MIB::entPhysicalMfgName.69 = STRING: CISCO
ENTITY-MIB::entPhysicalModelName.69 = STRING: 800-3873-01 rev K0 dev 16777215
ENTITY-MIB::entPhysicalAlias.69 = STRING:
ENTITY-MIB::entPhysicalAssetID.69 = STRING:
ENTITY-MIB::entPhysicalIsFRU.69 = INTEGER: true(1)
Now, I have the feeling that translating all of this to a perl script
to feed data to mrtg will be much of a nightmare :-)
Thanks for your information.
Pf
--
This E-Mail has NOT been scanned for viruses, so it may be NOT CLEAN.
Wash your hands before meals.
-------------------------------------------------------------------------------
Pierfrancesco Caci | System Administrator @ seabone.net
p.caci@seabone.net | Telecom Italia S.p.A. - International Wholesale Svcs
Linux paperino 2.4.20-pre5 #1 Tue Sep 10 16:45:34 CEST 2002 i686 unknown unknown GNU/Linux