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 traps in vCenter Server 4.x / 5.x (1006438)

Purpose

This article provides steps to configure your server for SNMP by integrating your third-party SNMP monitor with vCenter Server.

Resolution

You can configure up to four receivers of SNMP traps that must be configured in numerical order. Each SNMP trap requires a corresponding host name, port, and community.
 
To configure your server for SNMP:
  1. Ensure you can ping your SNMP receiver successfully from your vCenter Server. For more information, see Testing network connectivity with the ping command (1003486).
  2. In vSphere Client, navigate to:

    • For vCenter Server 4.x: Click Administration > VirtualCenter Management Server Configuration
    • For vCenter Server 5.x: Click Administration > vCenter Server Settings

  3. Select SNMP in the VirtualCenter Management Server Configuration dialog.
  4. Enter the DNS name or IP address of the SNMP receiver in the Receiver URL field.
  5. Enter the port number of the receiver in the field next to the Receiver URL field. If the port value is zero (0), vCenter Server uses the default port, which is 162.
  6. Enter the community identifier in the Community String field.
  7. Click OK to accept the vCenter Server setting changes you made and close the dialog.
 
Notes:

For more information on configuring SNMP on vCenter Server 4.x, see Using SNMP Traps with vCenter Server in the vSphere Datacenter Administration Guide.

The MIB definition files can be found at %Program Files%\VMware\Infrastructure\VirtualCenter Server\MIBS when the default installation directory is used in the vCenter Server 4.x installation.

Additional Information

For more information about the detailed set of MIBs available for VirtualCenter 2.5, see About SNMP and VMware Infrastructure in Basic System Administration.

Tags

configuring-snmp-traps

See Also

Update History

03/30/2012 - Added download link for vCenter 5 03/13/2013 - Updated MIB info for vSphere 5.x, cleaned up confidential section 08/14/2013 - Added step 2.

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

  • 19 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)
  • 19 Ratings
Actions
KB: