Installation guide

Table Of Contents
Using SNMP with Guest Operating Systems
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 machine 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. No
special configuration is required on ESX.
VMware MIB Files
VMware MIB files define the information provided by ESX/ESXi hosts and vCenter Server to SNMP
management software. You can download these MIB files from the VMware Web site.
Table 5-1 lists the MIB files provided by VMware and describes the information that each file provides.
Table 5-1. VMware MIB Files
MIB File Description
VMWARE-ROOT-MIB.mib
Contains VMware’s enterprise OID and top level OID assignments.
VMWARE-AGENTCAP-MIB.mib
Defines the capabilities of the VMware agents by product versions.
VMWARE-ENV-MIB.mib
Defines variables and trap types used to report on the state of physical hardware
components of the host computer.
VMWARE-OBSOLETE-MIB.mib
Defines OIDs that have been made obsolete to maintain backward compatibility
with earlier versions of ESX/ESXi. Includes variables formerly defined in the
files VMWARE-TRAPS-MIB.mib and VMWARE-VMKERNEL-MIB.mib.
VMWARE-PRODUCTS-MIB.mib
Defines OIDs to uniquely identify each SNMP agent on each VMware platform
by name, version, and build platform.
VMWARE-RESOURCES-MIB.mib
Defines variables used to report information on resource usage of the VMkernel,
including physical memory, CPU, and disk utilization.
VMWARE-SYSTEM-MIB.mib
The VMWARE-SYSTEM-MIB.mib file is obsolete. Use the SNMPv2-MIB to obtain
information from sysDescr.0 and sysObjec ID.0.
VMWARE-TC-MIB.mib
Defines common textual conventions used by VMware MIB files.
VMWARE-VC-EVENTS-MIB.mib
Defines traps sent by vCenter Server. Load this file if you use vCenter Server to
send traps.
VMWARE-VMINFO-MIB.mib
Defines variables for reporting information about virtual machines, including
virtual machine traps.
Table 5-2 lists MIB files included in the VMware MIB files package that are not created by VMware. These can
be used with the VMware MIB files to provide additional information.
Table 5-2. Other MIB Files
MIB File Description
IF-MIB.mib
Defines attributes related to physical NICs on the host
system.
SNMPv2-CONF.mib
Defines conformance groups for MIBs.
SNMPv2-MIB.mib
Defines the SNMP version 2 MIB objects.
SNMPv2-TC.mib
Defines textual conventions for SNMP version 2.
Chapter 5 Configuring Hosts and vCenter Server
VMware, Inc. 55