6.7

Table Of Contents
Configure the SNMP Agent for Polling
If you configure the vCenter Server Appliance SNMP agent for polling, it can listen for and respond to
requests from SNMP management client systems, such as GET, GETNEXT, and GETBULK requests.
By default, the embedded SNMP agent listens on UDP port 161 for polling requests from management
systems. You can use the snmp.set --port command to configure an alternative port. To avoid conflicts
between the port for the SNMP agent and the ports of other services, use a UDP port that is not defined
in /etc/services.
Procedure
1 Access the appliance shell and log in as a user who has the administrator or super administrator role.
The default user with super administrator role is root.
2 Run the snmp.set --port command to configure the port.
For example, run the following command:
snmp.set --port port
Here port is the port for the SNMP agent to use for listening for polling requests.
Important The port you specify must not be already in use by other services. Use IP addresses
from the dynamic range, port 49152 and up.
3 (Optional) If the SNMP agent is not enabled, enable it by running the snmp.enable command.
Configure the vCenter Server Appliance for SNMP v1 and v2c
When you configure the vCenter Server Appliance SNMP agent for SNMP v1 and v2c, the agent supports
sending notifications and receiving GET requests.
In SNMP v1 and v2c, community strings are namespaces that contain one or more managed objects.
Namespaces can act as a form for authentication, but this does not secure the communication. To secure
the communication, use SNMP v3.
Procedure
1 Configure SNMP Communities
To enable the vCenter Server Appliance SNMP agent to send and receive SNMP v1 and v2c
messages, you must configure at least one community for the agent.
2 Configure the SNMP Agent to Send v1 or v2c Notifications
You can use the vCenter Server Appliance SNMP agent to send virtual machine and environmental
notifications to management systems.
vCenter Server Appliance Configuration
VMware, Inc. 41