Guide de l'utilisateur des agents de gestion des serveurs Oracle® pour Oracle Solaris 11.2

Quitter la vue de l'impression

Mis à jour : Juin 2015
 
 

Extraction des informations d'un groupe de capteurs

  • Dans l'invite de commande, saisissez :

    # snmpwalk -v2c -c public -mALL localhost\ SUN-HW-MONITORING-MIB::sunHwMonSensorGroup | grep '\.9 = '

    grep '\.9 = ' filtre une propriété de la FRU qui nous intéresse.

    La sortie doit se présenter comme suit :

    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)


    Remarque -  Si le serveur utilise Oracle ILOM 2.0, les lignes suivantes sont renvoyées :

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

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

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

    Ce comportement est attendu, car ces informations sont spécifiques à Oracle ILOM 3.0.



    Conseil  - Lors de l'analyse des lignes suivantes, notez que sunHwMonNumericVoltageSensorCurrentValue est renvoyé en utilisant l'exposant défini dans sunHwMonNumericVoltageSensorExponent.SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorCurrentValue.9 = INTEGER: 12290SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorBaseUnit.9 = INTEGER: volts(4)SUN-HW-MONITORING-MIB::sunHwMonNumericVoltageSensorExponent.9 = INTEGER: -3Cet exemple utilise l'exposant -3 qui indique que la tension de sunHwMonNumericVoltageSensorCurrentValue doit être multipliée par 10-3, ce qui donne un résultat de 12 290 volts.