You can monitor the hardware health status of the vCenter Server Appliance 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.

You can view the status of the hardware components such as memory, CPU, storage, and network, as well as the update component that shows if the software packages are up to date according to the last check for available patches.

A particular health status can be green, yellow, orange, red, or gray. For more information, see View the vCenter Server Appliance Health Status.

For a complete list of the API commands that you can use for monitoring statistics and health of the vCenter Server Appliance system, see API Commands in the vCenter Server Appliance Shell.

Procedure

  1. 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.
  2. View the health status of a particular component.
    • To view the health of the memory in the vCenter Server Appliance, run the mem.health.get command.
    • To view the health of the storage in the vCenter Server Appliance, run the storage.health.get command.
    • To view the health of the swap in the vCenter Server Appliance, run the swap.health.get command.
    • To view the health of the update component in the vCenter Server Appliance, 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 Appliance patches and enabling automatic checks for vCenter Server Appliance patches, see vSphere Upgrade.
    • To view the overall health of the vCenter Server Appliance system, run the system.health.get command.
  3. 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.