Go to main content
Oracle® Server Management Agents User's Guide

Exit Print View

Updated: January 2017
 
 

Retrieve the Sensor Group 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 sunHwMonSensorGroup | grep '\.9 = '

    • On an Oracle Solaris 11.1 system:

      snmpwalk -v 2c -c public -M +/usr/lib/ssm_directory/lib/mibs/ -m ALL localhost sunHwMonSensorGroup | grep '\.9 = '

      Where ssm_directory is either sun-ssm or ssm, 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 sunHwMonSensorGroup | grep '\.9 = '

      Where ssm_directory is either sun-ssm or ssm, depending on your version of Oracle Hardware Management Pack.

    where grep '\.9 = ' is filtering a property of the FRU we are interested in.

    You should see output similar to the following:

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorType.9 = INTEGER: voltage(133)

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorName.9 = STRING: /SYS/MB/V_+12V

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorParentFruIndex.9 = INTEGER: 146

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorParentFruName.9 = STRING: /SYS/MB

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorAlarmStatus.9 = INTEGER: cleared(1)

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorStateDescr.9 = STRING: Normal

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorCurrentValue.9 = INTEGER: 12160

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorBaseUnit.9 = INTEGER: volts(4)

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorExponent.9 = INTEGER: -3

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorUpperNonRecoverableThreshold.9 = INTEGER: 14994

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorUpperCriticalThreshold.9 = INTEGER: 13986

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorUpperNonCriticalThreshold.9 = INTEGER: 12978

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorLowerNonRecoverableThreshold.9 = INTEGER: 8946

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorLowerCriticalThreshold.9 = INTEGER: 9954

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorLowerNonCriticalThreshold.9 = INTEGER: 10962

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorEnabledThresholds.9 = BITS: FC lowerThresholdNonCritical(0) upperThresholdNonCritical(1) lowerThresholdCritical(2) upperThresholdCritical(3) lowerThresholdFatal(4) upperThresholdFatal(5)


    Note -  When using Oracle ILOM 2.0 the following lines are returned:

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorType.9 = INTEGER: unknown(1)

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorParentFruIndex.9 = INTEGER: -1

    SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorParentFruName.9 = STRING:

    This is expected behavior because this information is specific to Oracle ILOM 3.0.



    Tip  -  When analyzing the following lines, do not forget that the sunHwMonNumericVoltageSensorCurrentValue is returned using the exponent set in sunHwMonNumericVoltageSensorExponent. SUN-HW-MONITORING-MIB:: sunHwMonNumericVoltageSensorCurrentValue.9 = INTEGER: 12290 SUN-HW-MONITORING-MIB:: sunHwMonNumericVoltageSensorBaseUnit.9 = INTEGER: volts(4) SUN-HW-MONITORING-MIB:: sunHwMonNumericVoltageSensorExponent.9 = INTEGER: -3 This example has an exponent of -3, which means that the voltage value of sunHwMonNumericVoltageSensorCurrentValue has to be multiplied by 10-3, resulting in 12.290 volts.