The VMWARE-VMINFO-MIB.mib file defines variables and traps for reporting virtual machine information.

Identification Mappings for VMWARE-VMINFO-MIB lists the variables defined in VMWARE-VMINFO-MIB.mib.

Identification Mappings for VMWARE-VMINFO-MIB

Variable

ID Mapping

Description

Virtual Machine Variables

vmwVmTable

vmwVirtMachines 1

A table containing information on the virtual machines that have been configured on the system.

vmwVmEntry

vmwVmTable 1

The record for a single virtual machine.

vmwVmIdx

vmwVmEntry 1

An index for the virtual machine entry.

vmwVmDisplayName

vmwVmEntry 2

The display name for the virtual machine.

vmwVmConfigFile

vmwVmEntry 3

The path to the configuration file for this virtual machine.

vmwVmGuestOS

vmwVmEntry 4

The guest operating system running on the virtual machine.

vmwVmMemSize

vmwVmEntry 5

The memory (in MB) configured for this virtual machine.

vmwVmState

vmwVmEntry 6

The virtual machine power state (on or off).

vmwVmVMID

vmwVmEntry 7

An identification number assigned to running virtual machines by the VMkernel. Powered-off virtual machines to not have this ID.

vmwVmGuestState

vmwVmEntry 8

The state of the guest operating system (on or off).

vmwVmCpus

vmwVmEntry 9

The number of virtual CPUs assigned to this virtual machine.

Virtual Machine HBA Variables

vmwVmHbaTable

vmwVirtMachines 2

A table of HBAs visible to a virtual machine.

vmwVmHbaEntry

vmwVmHbaTable 1

Record for a single HBA.

vmwHbaVmIdx

vmwVmHbaEntry 1

A number corresponding to the virtual machine’s index in the vmwVmTable.

vmwVmHbaIdx

vmwVmHbaEntry 2

Uniquely identifies a given HBA in this VM. May change across system reboots.

vmwHbaNum

vmwVmHbaEntry 3

The name of the HBA as it appears in the virtual machine settings.

vmwHbaVirtDev

vmwVmHbaEntry 4

The HBA hardware being emulated to the guest operating system.

vmwHbaTgtTable

vmwVirtMachines 3

The table of all virtual disks configure for virtual machines in vmwVmTable.

vmwHbaTgtEntry

vmwHbaTgtTable 1

A record for a specific storage disk. May change across reboots.

vmwHbaTgtVmIdx

vmwHbaTgtEntry 1

A number corresponding to the virtual machine’s index (vmwVmIdx) in the vmwVmTable.

vmwHbaTgtIdx

vmwHbaTgtEntry 2

This value identifies a particular disk.

vmwHbaTgtNum

vmwHbaTgtEntry 3

Identifies the disk as seen from the host bus controller.

Virtual Machine Network Variables

vmwVmNetTable

vmwVirtMachines 4

A table of network adapters for all virtual machines in vmwVmTable.

vmwVmNetEntry

vmwVmNetTable 1

Identifies a unique network adapter in this table.

vmwVmNetVmIdx

vmwVmNetEntry 1

A number corresponding to the virtual machine’s index in the vmwVmTable.

vmwVmNetIdx

vmwVmNetEntry 2

Identifies a unique network adapter in this table. May change across sytem reboots.

vmwVmNetNum

vmwVmNetEntry 3

The name of the network adapter as it appears in the virtual machine settings.

vmwVmNetName

vmwVmNetEntry 4

Identifies what the network adapter is connected to.

vmwVmNetConnType

vmwVmNetEntry 5

Obsolete. Do not use.

vmwVmNetConnected

vmwVmNetEntry 6

Reports true if the ethernet virtual device is connected to the virtual machine.

vmwVmMAC

vmwVmNetEntry 7

Reports the configured virtual hardware MAC address. If VMware Tools is not running, the value is zero or empty.

Virtual Floppy Device Variables

vmwFloppyTable

vmwVirtMachines 5

A table of floppy drives for all virtual machines in vmwVmTable.

vmwFloppyEntry

vmwFloppyTable 1

Identifies a single floppy device. May change across system reboots.

vmwFdVmIdx

vmwFloppyEntry 1

A number corresponding to the virtual machine’s index in the vmwVmTable.

vmwFdIdx

vmwFloppyEntry 2

Identifies a specific virtual floppy device.

vmwFdName

vmwFloppyEntry 3

The file or device that this virtual floppy device is connected to.

vmwFdConnected

vmwFloppyEntry 4

Reports true if the floppy device is connected.

Virtual DVD or CD-ROM Variables

vmwCdromTable

vmwVirtMachines 6

A table of DVD or CD-ROM drives for all virtual machines in vmwVmTable.

vmwCdromEntry

vmwCdromTable 1

Identifies a specific CD-ROM or DVD drive. May change across system reboots.

vmwCdVmIdx

vmwCdromEntry 1

A number corresponding to the virtual machine’s index in the vmwVmTable.

vmwCdromIdx

vmwCdromEntry 2

Identifies the specific DVD or CD-ROM drive.

vmwCdromName

vmwCdromEntry 3

The file or device that the virtual DVD or CD-ROM drive has been configured to use.

vmwCdromConnected

vmwCdromEntry 4

Reports true the CD-ROM device is connected.

Virtual Machine Trap Variables

vmwVmID

vmwTraps 101

Holds the same value as vmwVmVMID of the affected virtual machine generating the trap, to allow polling of the affected virtual machine in vmwVmTable.

vmwVmConfigFilePath

vmwTraps 102

The configuration file of the virtual machine generating the trap.

Traps Defined in VMWARE-VMINFO-MIB lists the traps defined in VMWARE-VMINFO-MIB.mib. These traps were formely defined in VMWARE-TRAPS-MIB.mib.

Traps Defined in VMWARE-VMINFO-MIB

Trap

ID Mapping

Description

vmwVmPoweredOn

vmwVmNotifications 1

This trap is sent when a virtual machine is powered on from a suspended or powered off state.

vmwVmPoweredOff

vmwVmNotifications 2

This trap is sent when a virtual machine is powered off.

vmwVmHBLost

vmwVmNotifications 3

This trap is sent when a virtual machine detects a loss in guest heartbeat. VMware Tools must be installed in the guest operating system in order for this value to be valid.

vmwVmHBDetected

vmwVmNotifications 4

This trap is sent when a virtual machine detects or regains the guest heartbeat. VMware Tools must be installed in the guest operating system in order for this value to be valid.

vmwVmSuspended

vmwVmNotifications 5

This trap is sent when a virtual machine is suspended.