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.

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 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.

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 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 health.system.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.