You can monitor the hardware health status of vCenter Server by using the API commands in the appliance shell. You can also monitor the health status of the update component for information about available patches.
A particular health status can be green, yellow, orange, red, or gray. For more information, see View vCenter ServerHealth Status.
For a complete list of the API commands that you can use for monitoring statistics and health of the vCenter Server system, see API Commands in the Appliance Shell.
- Access the appliance shell and log in.
The user name that you use to log in can be of a user with an operator, administrator, or super administrator user role.
- View the health status of a particular component.
- To view the health of the memory in vCenter Server, run the mem.health.get command.
- To view the health of the storage in vCenter Server, run the storage.health.get command.
- To view the health of the swap in vCenter Server, run the swap.health.get command.
- To view the health of the update component in vCenter Server, run the softwarepackages.health.get command.
Important: If you do not perform regular checks for available patches, the health status of the update component might become out-of-date. For information about checking for vCenter Server patches and enabling automatic checks for vCenter Server patches, see vSphere Upgrade.
- To view the overall health of the vCenter Server system, run the system.health.get command.
- To view statistics about a particular hardware component, run the respective command.
For example, to view storage statistics for each logical disk, run the storage.stats.list command.