Submit a ticketCall us
Home > Success Center > Network Performance Monitor (NPM) > Enable SNMP on VMware ESX Server 3.5

Enable SNMP on VMware ESX Server 3.5

Table of contents
Created by Karen Valdellon, last modified by MindTouch on Jun 23, 2016

Views: 23 Votes: 0 Revisions: 3


This article describes how to enable SNMP on VMware ESX Server 3.5.


NPM 10.0 and later


  1. Log in to your ESX Server as an administrator.
  2. Open snmpd.conf in a text editor.
    • The default location for snmpd.conf is root/etc/snmp/snmpd.conf
    • To use the default text editor, nano, in a default environment, enter nano /etc/snmp/snmpd.conf at the prompt.
  3. Locate the rocommunity setting, and then replace the default community string public with an appropriate read-only community string for your environment, separated by commas.
  4. Save snmpd.conf, and then close your editor.
    Note: If you are using nano, press Ctrl+X to close nano, and then enter Y to save snmpd.conf
  5. Enter chkconfig snmpd on to enable SNMP when you reboot your ESX Server.
  6. Enter esxcfg-firewall -e snmpd to allow SNMP through the ESX Server firewall.
  7. Enter service snmpd start to start the SNMP service.
  8. Confirm that SNMP polling is enabled on your ESX Server by entering the following command:
    snmpwalk -v1 -c cstring localhost . | grep 6876.1
    Note: Replace cstring with the community string you provided in Step 3.

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 Server"
SNMPv2-SMI::enterprises.6876.1.2.0 = STRING: "3.5.0"
SNMPv2-SMI::enterprises.6876.1.3.0 = OID: SNMPv2-SMI::enterprises.6876.
SNMPv2-SMI::enterprises.6876.1.4.0 = STRING: "153875"

Note: The MIB OID 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 3.5 and ESX Server MIBs, see Basic System Administration - ESX Server 3.5, ESX Server 3i version 3.5, VirtualCenter 2.5 (pdf)


Last modified