6.5.1

Table Of Contents
Table 43. API Commands Available in the vCenter Server Appliance (Continued)
API Command Description
com.vmware.appliance.version1.resources.swap.stats.get
Get swap statistics.
com.vmware.appliance.version1.resources.system.health.get
Get the overall health of the system.
com.vmware.appliance.version1.resources.system.stats.get
Get the system status.
com.vmware.appliance.version1.services.list
Get the list of all known services.
com.vmware.appliance.version1.services.restart
Restart a service.
com.vmware.appliance.version1.services.status.get
Get the status of a service.
com.vmware.appliance.version1.services.stop
Stop a service.
com.vmware.appliance.version1.system.storage.list
Gets disk to partition mapping.
com.vmware.appliance.version1.system.storage.resize
Resizes all partitions to 100 percent of
disk size.
com.vmware.appliance.version1.system.time.get
Gets system time.
com.vmware.appliance.version1.system.update.get
Get the URL-based patching
conguration.
com.vmware.appliance.version1.system.update.set
Set the URL-based patching
conguration.
com.vmware.appliance.version1.system.version.get
Get the version of the appliance.
com.vmware.appliance.version1.timesync.get
Get the time synchronization
conguration.
com.vmware.appliance.version1.timesync.set
Set the time synchronization
conguration.
Configuring SNMP for the vCenter Server Appliance
The vCenter Server Appliance includes an SNMP agent that can send trap notications and receive GET,
GETBULK, and GETNEXT requests.
You can use the appliance shell API commands to enable and congure the vCenter Server Appliance SNMP
agent. You congure the agent dierently depending on whether you want to use SNMP v1/v2c or SNMP
v3.
In vSphere 6.0, SNMP v3 informs are not supported. The vCenter Server Appliance supports only
notications such as v1 and v2c traps, and v3 traps with all security levels.
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.
Chapter 4 Using the Appliance Shell to Configure the vCenter Server Appliance
VMware, Inc. 41