Salve a tutti,
ho un problema relativo all'import dei .mib VMWare nel sistema di management CA NSM 11.2sp2. Di seguito la descrizione:
Ho scaricato dal sito VMWare il file “VMware-esx-mibs-1.0.1-237711.zip” .
Ho esploso il file e ho visto il contenuto: diversi file mib e il readme.doc con la sequenza di importazione dei mib:
To load these into various management stations
software use this order to prevent any lookup
errors.
ESX agent:
VMWARE-ROOT-MIB.mib VMWARE-TC-MIB.mib VMWARE-PRODUCTS-MIB.mib VMWARE-SYSTEM-MIB.mib
VMWARE-ENV-MIB.mib -- since ESX 3.5U2 on classic and all EXI
VMWARE-RESOURCES-MIB.mib
VMWARE-VMINFO-MIB.mib
VMWARE-OBSOLETE-MIB.mib -- load if you have previous versions of ESX prior to ESX 4
VMWARE-AGENTCAP-MIB -- defines what the agent supports by product version
Documentation:
notification.txt -- describes SNMPv1 Trap PDUs one can receive since ESX 3.5
VirtualCenter agent:
VMWARE-VC-EVENT-MIB -- Load this if you use vCenter Server's trap reporting
Ho importato correttamente il primo modulo:
ldmib -h rmin802 -n vmware -m D:\mib_temp\VMware-esx-mibs-1.0.1-237711\esx\VMWARE-ROOT-MIB.mib
usando il nome del mib (opzione –n) come “vmware”. Questo nome l’ho ricavato dal field “Object Identity”:
vmwNotifications OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Parent of all notifications (traps, informs)."
::= { vmware 0 }
all’interno del file mib stesso.
Procedendo in sequenza con il secondo file, VMWARE-TC-MIB.mib, ho ricevuto il seguente errore:
Parsing text file D:\mib_temp\VMware-esx-mibs-1.0.1-237711\esx\VMWARE-TC-MIB.mib ...
Loading type definitions into persistent Store
Loading MIB VMWARE-TC-MIB into persistent Store
ERROR -- Name "VMWARE-TC-MIB" not found in the file
ERROR -- Could not store objects in local Object Store
Ho cercato il field “Object Identifier” anche nel file in TC-MIB ma non l’ho trovato.
Ho provato a procedere con il file PRODUCTS-MIB, che ha al suo interno il field “Object Identifier” uguale a:
vmwESX OBJECT IDENTIFIER
::= { vmwProductSpecific 1 }
vmwDVS OBJECT IDENTIFIER
::= { vmwProductSpecific 2 }
vmwVC OBJECT IDENTIFIER
::= { vmwProductSpecific 3 }
vmwServer OBJECT IDENTIFIER
::= { vmwProductSpecific 4 }
oidESX OBJECT IDENTIFIER
::= { vmwOID 1 }
Ma ho ricevuto comunque l’errore:
ldmib -h rmin802 -n vmwProductSpecific -m D:\mib_temp\VMware-esx-mibs-1.0.1-237711\esx\VMWARE-PRODUCTS-MIB.mib
Parsing text file D:\mib_temp\VMware-esx-mibs-1.0.1-237711\esx\VMWARE-PRODUCTS-MIB.mib ...
Loading MIB vmwProductSpecific into persistent Store
ERROR -- Name "vmwProductSpecific" not found in the file
ERROR -- Could not store objects in local Object Store
Come posso procedere?
Il mio sistema di management è Computer Associates NSM 11.2sp2 su Windows 2003 EE.
Grazie anticipate per l’aiuto,
Davide