6.0.1

Table Of Contents
Table 43. API Commands Available in the vCenter Server Appliance (Continued)
API Command Description
com.vmware.appliance.version1.resources.softwarepackages.health
.get
Get the health of the update
component.
com.vmware.appliance.version1.resources.storage.health.get
Get storage health statistics.
com.vmware.appliance.version1.resources.storage.stats.list
Get storage statistics for each logical
disk.
com.vmware.appliance.version1.resources.swap.health.get
Get swap health.
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.resources.system.time.get
Get the system time.
com.vmware.appliance.version1.services.list
Get 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.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.
Browse the Log Files by Using the showlog Plug-In
You can browse the log les in the vCenter Server Appliance to examine them for errors.
Procedure
1 Access the appliance shell and log in.
2 Type the showlog command, add a space, and press the Tab key to view all the contents of the /var/log
folder.
3 Run the command for viewing the rstboot log les of the vCenter Server Appliance.
showlog /var/log/firstboot/cloudvm.log
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, as well as v3 traps with all security levels.
vCenter Server Appliance Configuration
36 VMware, Inc.