6.0.1

Table Of Contents
Configure the SNMP Agent for Polling
If you congure 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 congure an alternative port. To avoid conicts
between the port for the SNMP agent and the ports of other services, use a UDP port that is not dened
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 congure 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.
I 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 congure the vCenter Server Appliance SNMP agent for SNMP v1 and v2c, the agent supports
sending notications 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 Congure SNMP Communities on page 37
To enable the vCenter Server Appliance SNMP agent to send and receive SNMP v1 and v2c messages,
you must congure at least one community for the agent.
2 Congure the SNMP Agent to Send v1 or v2c Notications on page 38
You can use the vCenter Server Appliance SNMP agent to send virtual machine and environmental
notications to management systems.
Configure SNMP Communities
To enable the vCenter Server Appliance SNMP agent to send and receive SNMP v1 and v2c messages, you
must congure at least one community for the agent.
An SNMP community denes a group of devices and management systems. Only devices and management
systems that are members of the same community can exchange SNMP messages. A device or management
system can be a member of multiple communities.
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.
Chapter 4 Using the Appliance Shell to Configure the vCenter Server Appliance
VMware, Inc. 37