Specifications

Basic System Administration
98 VMware, Inc.
Configuring SNMP Management Client Software
TouseyourSNMPmanagementsoftwarewiththeESXServer3orESXServer3iagents,
takethestepsneededtoaccomplishthefollowing:
Inyourmanagementsoftware,specifytheESXServermachineasanSNMPbased
manageddevice.
Setupappropriatecommunitynamesinthemanagementsoftware.Thesemust
correspondtothevaluessetinthemasterSNMPagent’sconfigurationfile,for
example,rocommunity,trapcommunity,andtrapsink.
LoadtheESXServerMIBsintothemanagementsoftwaresoyoucanviewthe
symbolicnamesfortheESXServervariables.YoucanfindtheMIBfileson
ESX ServerSW,inthe/usr/lib/vmware/snmp/mibsdirectory.
Configuring SNMP Security for ESX Server 3
TheESXServerSNMPpackagetakesthesimplestapproachtoSNMPsecurityinthe
defaultconfiguration.Itsetsupasinglecommunitywithreadonlyaccess.Thisis
denotedbytherocommunityconfigurationparameterintheconfigurationfileforthe
snmpd daemon,snmpd.conf.Youshouldchangethisfile.
Otherenhancementsto
theSNMPsecuritymechanismallowanadministratortosetup
amoreelaboratepermissionsscheme.Seethesnmpd.conf(5)manpagefordetails.
SNMP Diagnostics
YoucanusethefollowingtoolstodiagnoseproblemswithSNMPconfiguration.
Typevicfg-snmp -TattheremotecommandlineinterfacetoprompttheESX
Server3iagenttosendatesttrap.
TheSNMPv2-MIBfileprovidesanumberofcounterstoaidindebuggingSNMP
problems.Table 511listssomeofthesediagnosticcounters.
Table 5-11. Diagnostic Counters from SNMPv2-MIB
Variable ID Mapping Description
snmpInPkts snmp 1 Thetotalnumberofmessagesdeliveredto
theSNMPentityfromthetransportservice.
snmpInBadVersions snmp 3 ThetotalnumberofSNMPmessagesthat
weredeliveredtotheSNMPentityand
wereforanunsupportedSNMPversion.