6.7

Table Of Contents
4 (Optional) Send a test notification to verify that the agent is configured correctly by running the
esxcli system snmp test command.
The agent sends a warmStart notification to the configured target.
Configure the Source of Hardware Events Received by the SNMP
Agent
You can configure the ESXi SNMP agent to receive hardware events either from IPMI sensors or CIM
indications.
IPMI sensors are used for hardware monitoring in ESX/ESXi 4.x and earlier. The conversion of CIM
indications to SNMP notifications is available in ESXi 5.0 and later.
If you run ESXCLI commands through vCLI, you must supply connection options that specify the target
host and login credentials. If you use ESXCLI commands directly on a host using the ESXi Shell, you can
use the commands as given without specifying connection options. For more information on connection
options see vSphere Command-Line Interface Concepts and Examples.
Prerequisites
Configure the ESXi SNMP agent by using the ESXCLI commands. See Getting Started with vSphere
Command-Line Interfaces for more information on how to use ESXCLI.
Procedure
1 Run the esxcli system snmp set --hwsrc source command to configure the source for
hardware events.
Here, source is sensors or indications, for hardware event received from IPMI sensors or CIM
indications respectively.
2 (Optional) If the ESXi SNMP agent is not enabled, run the following command:
esxcli system snmp set --enable true
Configure the SNMP Agent to Filter Notifications
You can configure the ESXi SNMP agent to filter out notifications if you don't want your SNMP
management software to receive those notifications.
Prerequisites
Configure the ESXi SNMP agent by using the ESXCLI commands. See Getting Started with vSphere
Command-Line Interfaces for more information on how to use ESXCLI.
Procedure
1 Run the esxcli system snmp set command to filter notifications:
esxcli system snmp set --notraps oid_list
vSphere Monitoring and Performance
VMware, Inc. 191