6.5.1

Table Of Contents
Configure SNMP Management Client Software
After you have congured a vCenter Server instance or an ESXi host to send traps, congure your
management client software to receive and interpret those traps.
To congure your management client software, specify the communities for the managed device, congure
the port seings, and load the VMware MIB les. See the documentation for your management system for
specic instructions for these steps.
Prerequisites
To complete this task, download the VMware MIB les from the VMware website:
hp://communities.vmware.com/community/developer/managementapi. On the Web page, search
Downloading MIB modules.
Procedure
1 In your management software, specify the vCenter Server instance or ESXi host as an SNMP-based
managed device.
2 If you are using SNMPv1 or SNMPv2c, set up appropriate community names in the management
software.
These names must correspond to the communities set for the SNMP agent on the vCenter Server
instance or ESXi host.
3 If you are using SNMPv3, congure users and authentication and privacy protocols to match those
congured on the ESXi host.
4 If you congured the SNMP agent to send traps to a port on the management system other than the
default UDP port 162, congure the management client software to listen on the port you congured.
5 Load the VMware MIBs into the management software so you can view the symbolic names for
vCenter Server or the host variables.
To prevent lookup errors, load these MIB les in the following order before loading other MIB les:
a VMWARE-ROOT-MIB.mib
b VMWARE-TC-MIB.mib
c VMWARE-PRODUCTS-MIB.mib
The management software can now receive and interpret traps fromvCenter Server or ESXi hosts.
SNMP Diagnostics
You can use SNMP tools to diagnose conguration problems.
n
Run the esxcli system snmp test command from the vSphere CLI set to prompt the SNMP agent to
send a test warmStart trap.
n
Run the esxcli system snmp get command to display the current conguration of the SNMP agent.
n
The SNMPv2-MIB.mib le provides several counters to aid in debugging SNMP problems. See “SNMPv2
Diagnostic Counters,” on page 163.
n
The VMWARE-AGENTCAP-MIB.mib le denes the capabilities of the VMware SNMP agents by product
version. Use this le to determine if the SNMP functionality that you want to use is supported.
Chapter 9 Monitoring Networked Devices with SNMP and vSphere
VMware, Inc. 161