Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Configuring SNMP on an ESX 3.0.x host (1008186)
Purpose
This article provides steps to configure your ESX host for SNMP.
Resolution
To configure a ESX 3.0.x host for SNMP:
-
Log in to your ESX host using an SSH client.
-
Open the /etc/snmp/snmpd.conf file in a text editor.
-
Change the rocommunity and other strings if necessary and save:
syscontact root@localhost = Your contact reference
syslocation room1 = Your location reference
rocommunity public = Community string (default is public)
trapcommunity public = Trap community string (default is public)
trapsink x.x.x.x = Management server IP address
Note: localhost = 127.0.0.1 -
Run the following command to open the firewall for SNMP:
esxcfg-firewall --enableService snmpd -
Run the following command to restart SNMP:
service snmpd restart -
Run the following command to enable SNMP on ESX boot:
chkconfig snmpd on -
Run the following command to test SNMP on the local ESX host:
snmpwalk -v 1 -c public localhost
Note: Public is the community string. -
Run the following command to test SNMP from another system:
snmpwalk -v 1 -c public x.x.x.x
Note: Public is the community string; x.x.x.x is the ESX host IP.
Additional Information
For more information on configuring SNMP, see:
For more information on SNMP and VMware Infrastructure, see the Basic System Administration Guide.
For more information on SNMP in vSphere, see the
Basic System Administration Guide.
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

