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
Summary of Contents for 4817V62 - vSphere - PC
Page 13: ...Getting Started VMware Inc 13...
Page 14: ...vSphere Basic System Administration 14 VMware Inc...
Page 24: ...vSphere Basic System Administration 24 VMware Inc...
Page 38: ...vSphere Basic System Administration 38 VMware Inc...
Page 76: ...vSphere Basic System Administration 76 VMware Inc...
Page 85: ...Virtual Machine Management VMware Inc 85...
Page 86: ...vSphere Basic System Administration 86 VMware Inc...
Page 98: ...vSphere Basic System Administration 98 VMware Inc...
Page 131: ...3 Click OK Chapter 11 Creating Virtual Machines VMware Inc 131...
Page 132: ...vSphere Basic System Administration 132 VMware Inc...
Page 140: ...vSphere Basic System Administration 140 VMware Inc...
Page 172: ...vSphere Basic System Administration 172 VMware Inc...
Page 182: ...vSphere Basic System Administration 182 VMware Inc...
Page 200: ...vSphere Basic System Administration 200 VMware Inc...
Page 207: ...System Administration VMware Inc 207...
Page 208: ...vSphere Basic System Administration 208 VMware Inc...
Page 278: ...vSphere Basic System Administration 278 VMware Inc...
Page 289: ...Appendixes VMware Inc 289...
Page 290: ...vSphere Basic System Administration 290 VMware Inc...
Page 324: ...vSphere Basic System Administration 324 VMware Inc...
Page 364: ...vSphere Basic System Administration 364 VMware Inc...