Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

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:

  1. Log in to your ESX host using an SSH client.
  2. Open the /etc/snmp/snmpd.conf file in a text editor.
  3. 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

  4. Run the following command to open the firewall for SNMP:

    esxcfg-firewall --enableService snmpd

  5. Run the following command to restart SNMP:

    service snmpd restart

  6. Run the following command to enable SNMP on ESX boot:

    chkconfig snmpd on

  7. Run the following command to test SNMP on the local ESX host:

    snmpwalk -v 1 -c public localhost

    Note: Public is the community string.

  8. 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.

Feedback

  • 22 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 22 Ratings
Actions
KB: