VMware vSphere StackPack

The VMware vSphere StackPack is used to create a near real time synchronization with VMware vSphere vCenter.

This StackPack provides functionality that allows for monitoring of the following resources:

  • hosts
  • virtual machines
  • compute resources
  • cluster compute resources
  • data stores
  • data centers

VMware StackPack collects all topology data for the components and relations between them as well as telemetry and events.


An API Integration Agent is needed on a single machine which can connect to vSphere vCenter and StackState. Also vSphere vCenter instance must be running.

Enabling vSphere checks

To enable the vSphere check which collects the data from vSphere vCenter:

Edit the vsphere.yaml file in your agent conf.d directory, replacing <name>, <host_name>, <username>, and <password> with the information from your vSphere vCenter instance.

# Section used for global vsphere check config

  # name must be a unique key representing your vCenter instance
  # mandatory
  - name: <name> # main-vcenter

    # the host used to resolve the vCenter IP
    # mandatory
    host: <host_name> # vcenter.domain.com

    # Read-only credentials to connect to vCenter
    # mandatory
    username: <username> # stackstate-readonly@vsphere.local
    password: <password> # mypassword

    # Set to false to disable SSL verification, when connecting to vCenter
    # optional
    ssl_verify: false

To publish the configuration changes, restart the StackState Agent(s) using below command.

sudo /etc/init.d/stackstate-agent restart

Once the Agent is restarted, it will start collecting data and send it to StackState.