You can configure the ESXi embedded SNMP agent to receive hardware events either from IPMI sensors or CIM indications.

IPMI sensors were used for hardware monitoring in ESX/ESXi 4.x and earlier. The conversion of CIM indications to SNMP notifications is newly available in ESXi 5.0.

SNMP configuration for ESXi requires the vSphere Command-Line Interface. See Getting Started with vSphere Command-Line Interfaces.

1

From the vSphere CLI, configure the source for hardware events.

Option

Command

IPMI sensors

vicfg-snmp.pl --server hostname --username username --password password -y sensors

CIM indications

vicfg-snmp.pl --server hostname --username username --password password -y indications

2

(Optional) If the SNMP agent is not enabled, enable it by typing vicfg-snmp.pl --server hostname --username username --password password --enable.