Specifications

Basic System Administration
90 VMware, Inc.
VMWARE-TRAPS-MIB
VMWARE-TRAPS-MIB.mibdefinestrapsusedbyESXServerandVirtualCenter.All
notificationsdefinedinthisfilearesentbyVMwareagentsusingtheSNMPv1trap
format.Table 56liststhetraps.
VMWARE-TRAPS-MIB.mibalsodefinesvariablesusedbythesetraps.Table 57liststhe
variablesdefinedinthisfile.
Table 5-6. Traps Defined in VMWARE-TRAPS-MIB
Trap Description
ESX Server Traps
vmPoweredOn Thistrapissentwhenavirtualmachineispoweredonfroma
suspendedorpoweredoffstate.
vmPoweredOff Thistrapissentwhenavirtualmachineispoweredoff.
vmHBLost Thistrapissentwhenavirtualmachinedetectsalossinguest
heartbeat.VMwareToolsmustbeinstalledin
theguest
operatingsysteminorderforthisvaluetobevalid.
vmHBDetected Thistrapissentwhenavirtualmachinedetectsorregainsthe
guestheartbeat.VMwareToolsmustbeinstalledintheguest
operatingsysteminorderforthisvaluetobevalid.
vmSuspended Thistrapissentwhena
virtualmachineissuspended.
VirtualCenter Server Traps
vpxdTrap Thistrapissentwhenanentitystatushaschanged.
Table 5-7. Variables Defined in VMWARE-TRAPS-MIB
Variable ID Mapping Description
ESX Server Trap Variables
vmID vmwTraps 101 TheIDoftheaffectedvirtualmachinegenerating
thetrap.IfthereisnovirtualmachineID(for
example,ifthevirtualmachinehasbeen
poweredoff),thevmIDis‐1.
vmConfigFile vmwTraps 102 Theconfigurationfileofthevirtualmachine
generatingthetrap.
VirtualCenter Server Trap Variables
vpxdTrapType vmwTraps 301 ThetraptypeoftheVirtualCentertrap.
vpxdHostName vmwTraps 302
Thenameoftheaffectedhost.
vpxdVMName vmwTraps 303 Thenameoftheaffectedvirtualmachine.