6.7

Table Of Contents
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 files in the following order before loading other MIB files:
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 configuration 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 configuration of the SNMP
agent.
n
The SNMPv2-MIB.mib file provides several counters to aid in debugging SNMP problems. See
SNMPv2 Diagnostic Counters.
n
The VMWARE-AGENTCAP-MIB.mib file defines the capabilities of the VMware SNMP agents by product
version. Use this file to determine if the SNMP functionality that you want to use is supported.
Monitor Guest Operating Systems with SNMP
You can use SNMP to monitor guest operating systems or applications running in virtual machines.
The virtual machine uses its own virtual hardware devices. Do not install agents in the virtual machines
that are intended to monitor physical hardware.
Procedure
u
Install the SNMP agents you normally would use for that purpose in the guest operating systems.
VMware MIB Files
VMware MIB files define the information provided by ESXi hosts and vCenter Server to SNMP
management software.
You can download these MIB files from
http://communities.vmware.com/community/developer/forums/managementapi#SNMP-MIB. On the Web
page, search for Downloading MIB modules.
The table VMware MIB Files lists the MIB files provided by VMware and describes the information that
each file provides.
vSphere Monitoring and Performance
VMware, Inc. 193