Go to main content
Guide de l'utilisateur des agents de gestion des serveurs Oracle®

Quitter la vue de l'impression

Mis à jour : Octobre 2015
 
 

Extraction des informations d'inventaire

  • Dans l'invite de commande, saisissez :
    • Sur un système Linux :

      snmpwalk -v 2c -c public -M /usr/share/snmp/mibs/ -m ALL localhost sunHwMonInventoryTable | grep '.148 = '

    • Sur un système Oracle Solaris 11.1 :

      snmpwalk -v 2c -c public -M +/usr/lib/ssm/lib/mibs/ -m ALL localhost sunHwMonInventoryTable | grep '.148 = '

    • Sur un système Oracle Solaris 10 :

      snmpwalk -v 2c -c public -M +/opt/sun-ssm/lib/mibs/ -m ALL localhost sunHwMonInventoryTable | grep '.148 = '

    grep '.148 = ' permet de filtrer les résultats correspondant à une propriété de FRU qui nous intéresse.

    La sortie doit se présenter comme suit :

    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


    Remarque -  En cas d'utilisation d'Oracle ILOM 2.0, les lignes suivantes sont renvoyées :

    SUN-HW-MONITORING-MIB::sunHwMonFruType.75 = INTEGER: unknown(1)

    SUN-HW-MONITORING-MIB::sunHwMonParentFruIndex.75 = INTEGER: -1

    SUN-HW-MONITORING-MIB::sunHwMonParentFruName.75 = STRING:

    Ce comportement est attendu, car ces informations sont spécifiques à Oracle ILOM 3.0. Dans ce cas, -1 signifie nodef.