Specifications

VMware, Inc. 95
Chapter 5 System Configuration
Using SNMP with ESX Server 3
ESXServer3shipswithtwoSNMPagents.ThefirstisanSNMPagentbasedon
NetSNMPwithenhancementstosupportdataspecifictoESXServer3.Thesecond
agentisidenticaltothatwhichshipswithESXServer3i,andcanbeusedand
configuredinthesamemanner.
See“UsingSNMPwithESXServer3i”onpage 97for
moreinformationonthisagent.
TheNetSNMPbasedagentiscompiledforversion5.0.9.2.30E.19ofNetSNMP.
ThatversionofNetSNMPisinstalledintheESXServer3serviceconsoleby
default.BackgroundinformationonNetSNMPisavailable
at
netsnmp.sourceforge.net.
(S
EE
U
PDATE
)
TheESXServer3NetSNMPbasedagentcanbeusedwithany
managementsoftwarethatcanloadandcompileamanagementinformationbase
(MIB)inSMIv1formatandcanunderstandSNMPv1trapmessages.TheESXServer3
NetSNMPbasedagentsupportsbothtrapsandSNMPgets.
TheNet
SNMPbasedagentreportsthefollowingsysObjectID:
SNMPv2-MIB::sysDescr.0 = STRING: VMware ESX Server 0 VMware,
Inc. 0 0 i686
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::mib-2.6786.4.1
YoucanchoosetouseSNMPwithorwithoutanyESXServerMIBitems.
TheVMwarespecificMIBmodulesareinstalledwhenyouinstallESX Server3.By
defaultonafreshinstall,ESXServercomponentsareenabledinSNMP,andVMware
trapsareonbydefault.Youmustconfigureatrapsink
toreceiveSNMPtraps.
Configuring the ESX Server Agent from the Service Console
(S
EE
U
PDATE
)
Thefollowingproceduresmustbeperformedafterinstallingor
upgradingthirdpartymanagementapplications.
To enable or disable VMware MIBs on ESX Server 3
1Logintotheserviceconsoleastherootuser.
2Editthe /etc/snmp/snmpd.confconfigurationfile.
3AddorremovethefollowinglinetoenableordisableVMwareMIBitems:
dlmod SNMPESX /usr/lib/vmware/snmp/libSNMPESX.so