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:
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
Select SNMP in the VirtualCenter Management Server Configuration dialog.
Enter the DNS name or IP address of the SNMP receiver in the Receiver URL field.
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.
Enter the community identifier in the Community String field.
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.