- Oracle Hardware Management Pack 2.4 Server Management Agents User's Guide
- Working With Management Agents
- sunHwMonInventoryTable
- Retrieve Inventory Information
Retrieve Inventory Information
-
At the command prompt, type the following:
-
On a Linux system:
snmpwalk -v 2c -c public -M /usr/share/snmp/mibs/ -m ALL localhost sunHwMonInventoryTable | grep '.148 = '
-
On an Oracle Solaris 11.1 system:
snmpwalk -v 2c -c public -M +/usr/lib/ssm_directory/lib/mibs/ -m ALL localhost sunHwMonInventoryTable | grep '.148 = '
Where ssm_directory is either
sun-ssm
orssm
, depending on your version of Oracle Hardware Management Pack. -
On an Oracle Solaris 10 system:
snmpwalk -v 2c -c public -M +/opt/ssm_directory/lib/mibs/ -m ALL localhost sunHwMonInventoryTable | grep '.148 = '
Where ssm_directory is either
sun-ssm
orssm
, depending on your version of Oracle Hardware Management Pack.
where
grep '.148 = '
is filtering for results with a property of the FRU we are interested in.You should see output similar to the following:
SUN-HW-MONITORING-MIB::sunHwMonFruName.148 = STRING: /SYS/MB/NET0
SUN-HW-MONITORING-MIB::sunHwMonFruType.148 = INTEGER: networkInterface(80)
SUN-HW-MONITORING-MIB::sunHwMonFruDescr.148 = STRING:
SUN-HW-MONITORING-MIB::sunHwMonFruPartNumber.148 = STRING: 82546GB
SUN-HW-MONITORING-MIB::sunHwMonFruSerialNumber.148 = STRING: 00:14:4F:A8:39:44
SUN-HW-MONITORING-MIB::sunHwMonFruManufacturer.148 = STRING:
SUN-HW-MONITORING-MIB::sunHwMonFruStatus.148 = INTEGER: indeterminate(6)
SUN-HW-MONITORING-MIB::sunHwMonParentFruIndex.148 = INTEGER: 146
SUN-HW-MONITORING-MIB::sunHwMonParentFruName.148 = STRING: /SYS/MB
Note:
When using Oracle ILOM 2.0 the following lines are returned:
SUN-HW-MONITORING-MIB::sunHwMonFruType.75 = INTEGER: unknown(1)
SUN-HW-MONITORING-MIB::sunHwMonParentFruIndex.75 = INTEGER: -1
SUN-HW-MONITORING-MIB::sunHwMonParentFruName.75 = STRING:
This is expected behavior because this information is specific to Oracle ILOM 3.0. In this case, the -1 signifies nodef.
-
Parent topic: sunHwMonInventoryTable