Specifications
VMware, Inc. 95
Chapter 5 System Configuration
Using SNMP with ESX Server 3
ESXServer3shipswithtwoSNMPagents.ThefirstisanSNMPagentbasedon
Net‐SNMPwithenhancementstosupportdataspecifictoESXServer3.Thesecond
agentisidenticaltothatwhichshipswithESXServer3i,andcanbeusedand
configuredinthesamemanner.
See“UsingSNMPwithESXServer3i”onpage 97for
moreinformationonthisagent.
TheNet‐SNMP‐basedagentiscompiledforversion5.0.9.2.30E.19ofNet‐SNMP.
ThatversionofNet‐SNMPisinstalledintheESXServer3serviceconsoleby
default.BackgroundinformationonNet‐SNMPisavailable
at
net‐snmp.sourceforge.net.
(S
EE
U
PDATE
)
TheESXServer3Net‐SNMP‐basedagentcanbeusedwithany
managementsoftwarethatcanloadandcompileamanagementinformationbase
(MIB)inSMIv1formatandcanunderstandSNMPv1trapmessages.TheESXServer3
Net‐SNMP‐basedagentsupportsbothtrapsandSNMPgets.
TheNet‐
SNMP‐basedagentreportsthefollowingsysObjectID:
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.
TheVMware‐specificMIBmodulesareinstalledwhenyouinstallESX Server3.By
defaultonafreshinstall,ESXServercomponentsareenabledinSNMP,andVMware
trapsareonbydefault.Youmustconfigureatrapsink
toreceiveSNMPtraps.
Configuring the ESX Server Agent from the Service Console
(S
EE
U
PDATE
)
Thefollowingproceduresmustbeperformedafterinstallingor
upgradingthird‐partymanagementapplications.
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