Specifications
VMware, Inc. 225
Chapter 7 Using SNMP with ESX Server
! State!of!the!virtual!machine’s!power!switch:!on!or!off
! State!of!the!guest!operating!system:!on!or!off!(running!or!not!running)
! Disk!adapters!seen!by!the!virtual!machine
! Network!adapters!seen!by!the!virtual!machine
! Floppy!disk!drives!seen!by!the!virtual!machine
! State!of!the!floppy!drive:!connected!or!disconnected
! CD‐ROM!drives!seen!by!the!virtual!machine
! State!of!the!CD‐ROM!drive:!connected!or!disconnected
SNMP Traps
Four!SNMP!traps!notify!you!of!critical!events!in!particular!virtual!machines.!The!
affected!virtual!machine!is!identified!by!ID!number!and!configuration!file!path.!The!
traps!notify!you:
! When!a!virtual!machine!is!powered!on!or!resumed!from!a!suspended!state.
! When!a!virtual!machine!is!powered!off.
! When!the!virtual!machine!detects!a!loss!of!heartbeat!in!the!guest!operating!system.
! When!a!virtual!machine!is!suspended.
! When!the!virtual!machine!detects!that!the!guest!operating!system’s!heartbeat!has!
started!or!resumed.
VMware!Tools!must!be!installed!in!the!guest!operating!system!to!support!the!traps!that!
detect!loss!and!resumption!of!the!guest’s!heartbeat.
N
OTE SNMP!information!is!provided!for!virtual!machines!if!their!configuration!files!are!
stored!locally!on!the!ESX!Server!computer.!If!the!configuration!files!are!stored!on!an!
NFS‐mounted!drive,!information!for!the!virtual!machines!does!not!appear!in!the!SNMP!
tables.
NOTE Traps!are!not!generated!when!virtual!machines!are!registered!using!the!VMware!
Management!Interface.!To!enable!trap!generation,!restart!vmware-serverd.!You!can!
restart!vmware-serverd!by!rebooting!the!server!or!by!logging!in!to!the!service!console!
as!root!and!issuing!the!command!
killall -HUP vmware-serverd.