
The article has been updated successfully.The following procedure enables both the system default SNMP daemon snmpd and the proprietary VMware SNMP daemon vmware-hostd on VMware ESX/ESXi Server version 4.
To enable SNMP on VMware ESX/ESXi Server 4:
snmp.xml in a text editor.snmp.xml is root/etc/vmware/snmp.xml.nano, in a default environment, enter nano /etc/vmware/snmp.xml at the prompt.communities tag, and then replace the default community string public with an appropriate read-only community strings for your environment, separated by commas.enable tag, and then confirm it is set to true.port tag, and then confirm it is set to 161.targets tag, and then confirm it is set to 127.0.0.1@161/cstring.cstring with the community string you provided in step 3, above.snmp.xml, and then close your editor.nano, press Ctrl+X to close nano, and then enter Y to save snmp.xml.service snmpd stop to confirm that the SNMP service is stopped.snmpd.conf in a text editor.snmpd.conf is root/etc/snmp/snmpd.conf.nano, in a default environment, enter nano /etc/snmp/snmpd.conf at the prompt.view systemview included .1.3.6.1.4.1.6876
proxy -v 1 -c cstring 127.0.0.1:171 .1.3.6.1.4.1.6876cstring with the community string you provided in step 3, above.snmpd.conf, and then close your editor.nano, press Ctrl+X to close nano, and then enter Y to save snmpd.conf.service mgmt-vmware restart to restart the mgmt-vmware service.service snmpd start to start the SNMP service.chkconfig snmpd on to enable SNMP when you reboot your ESX Server.esxcfg-firewall -e snmpd to allow SNMP through the ESX Server firewall.snmpwalk -v1 -c cstring localhost .1.3.6.1.4.1.6876 | grep 6876.1cstring with the community string you provided in step 3, above.After entering the snmpwalk command, your ESX Server should return information similar to the following:
SNMPv2-SMI::enterprises.6876.1.1.0 = STRING: "VMware ESX" Note: The MIB OID
SNMPv2-SMI::enterprises.6876.1.2.0 = STRING: "4.0.0"
SNMPv2-SMI::enterprises.6876.1.4.0 = STRING: "208167"SNMPv2-SMI::enterprises.6876.1.4.0 returns the build number for your product, so it may not be the same as the build number displayed above.
For more information about ESX Server 4 and ESX Server MIBs, see vSphere Basic System Administration - Update 1, ESX 4.0, ESXi 4.0, vCenter Server 4.0 (pdf).
This article applies to:
Last Updated
12th of October, 2011
Thank you for rating this answer.
SolarWinds makes award-winning storage management, application management, server management, and network management software trusted by more than one million engineers to manage IT environments ranging from tens to thousands of devices.
Discover our network monitoring, configuration management, network mapping, and free network tools today!
Enterprise-Class Network Management
Enterprise-Class Application & Server Management
Enterprise-Class Virtualization Management
Enterprise-Class Storage Management
Tools for Engineers
Easily monitoring bandwidth usage on a troublesome interface!
Record and test web transactions with the touch of a button!
Quickly discovers all of your virtual machines, then estimates what it would cost to move them to the cloud.
Prices displayed do not reflect international pricing unless otherwise stated. Please see our international price list for current pricing specific to your location.
All prices are subject to change without notice.
© 2003-2012 SolarWinds. All Rights Reserved.

