LogoDark mode logo
LogoDark mode logo
Contact SupportLoading Light/Dark Toggle

Data sources

data sourcesvmware vcenter plugin

VMware vCenter plugin

For more information about what this plugin does and the data streams it retrieves, see:

VMware vCenter

Monitor key metrics and states from your VMWare vCenter environment.

An on-prem data source uses a relay agent to connect SquaredUp to a data source running on your internal network.

A relay agent is installed on a server on your internal network, and has access to your data source.

Using a relay agent means that you don't need to open your firewall to allow access.

Adding a data source

To add a data source click on the + next to Data Sources on the left-hand menu in SquaredUp. Search for the data source and click on it to open the Configure data source page.

Before you start

If you are adding a plugin marked as On-Prem, you will need a relay agent that can access the server hosting your on-prem data source. You do not need a relay agent for cloud plugins.

If you have already created a relay agent in SquaredUp that can access this data source, then you can skip this step and choose the agent group you want to use while Configuring the data source.

You can install an agent on either Windows or Linux:

  • Configuring an agent (Windows platforms)
  • Configuring an agent (Linux platforms)

Prerequisites

This plugin is compatible with both Linux and Windows Server.

Configuring the data source

  1. Display name:
    Enter a name for your data source. This helps you to identify this data source in the list of your data sources.

  2. Agent group:
    Select the Agent Group that contains the agent(s) you want to use.

  3. Server URL:
    Enter the URL of your VMware vCenter server.
  4. Username:
    Enter the username of a VMware vCenter user with read-only permissions. You can use either UPN or domain \ user formats, as they are both fully supported by VMware.
  5. Password:
    Enter the password of the VMware vCenter account Username.
  6. (Optional) Restrict access to this data source:
    You can enable this option if you only want certain users or groups to have access to the data source, or the permission to link it to new workspaces. See data source access control for more information.

  7. Install dashboards:
    Select whether you would like to install pre-built dashboards and perspectives with the data source. By default, this is set to on.

  8. Click Test and add to validate the data source configuration. SquaredUp will now attempt to connect to SquaredUp using the provided authentication method.

    • Testing passed – a success message will be displayed and then the configuration will be saved.
    • Testing passed with warnings – warnings will be listed and potential fixes suggested. You can still use the data source with warnings. Select Save with warnings if you believe that you can still use the data source as required with the warnings listed. Alternatively, address the issues listed and then select Rerun tests to validate the data source configuration again. If the validation now passes, click Save.
    • Testing Failed – errors will be listed and potential fixes suggested. You cannot use the data source with errors. You are able to select Save with errors if you believe that a system outside of SquaredUp is causing the error that you need to fix. Alternatively, address the issues listed and then select Rerun tests to validate the data source configuration again. If the validation now passes, click Save.

    You can edit any data source configurations at any time from Settings > Data Sources.

Testing and Troubleshooting

By default, the following URL is used to connect to ESX or ESXi, and vCenter:

  • ESX or ESXi: https://{manager-address}/sdk/vimService.wsdl
  • vCenter: https://{manager-address}/sdk/vimService.wsdl

The URL can vary in your environment if the administrator of the ESX box or vCenter changed the configuration of the API. For example, if the HTTP protocol is used instead of the HTTPS one.

Ensure that the vSphere Web Services SDK is set up and verify if the given URL is valid. To check if the URL can be accessed, paste it to the Web browser. If the URL cannot be accessed, check the setup of the URL in the vCenter settings. To do this, go to vCenter Server Settings > Advanced Settings and see the setting of the VirtualCenter.VimApiUrl parameter. If the URL cannot be reached, consult your VMware administrator.

Authentication and authorization govern access. vCenter Single Sign-On supports authentication, which means it determines whether a user can log in to vSphere components at all. Each user must be authorized to view or manipulate vSphere objects.

vCenter Server allows fine-grained control over authorization with permissions and roles. When you assign a permission to an object in the vCenter Server object hierarchy, you specify which user or group has which privileges on that object. To specify the privileges, you use roles, which are sets of privileges.

Privileges can be assigned to a user or group by selecting an object, such as a virtual machine or a vCenter Server system, and assigning a role on that object for the user or group.

The SquaredUp Relay was tested with the ReadOnlyUsers group, which inherits the Read-Only role.If another group is used, objects may or may not be visible to users based on how the group was defined and the roles it inherits.Please consult your VMware administrator for more information.

An agent's status is shown in SquaredUp Settings > Relay as a green tick, amber exclamation mark, red cross or gray question mark. Hovering over the status will show information about the last connection.

If the agent status is not green:

  1. Check that the agent service is running (in Services on the server running the agent).
  2. Check that the API key is correct. In SquaredUp you can see the last 4 digits of the API key in Settings > Relay and compare this with what's in the appsettings.json file in the agent folder /agent/transient/logs. If necessary, you can edit the agent and click Regenerate API Key to get a new key, then copy that into the appsettings.json file.

    Look at the Properties of the SquaredUp Cloud Agent service:

    1. On the server running the agent, open Services
    2. Scroll down to the SquaredUp Cloud Agent in the list
    3. Right-click on the SquaredUp Cloud Agent service and then Properties
      Here you can see the Service name, Display name and Path to the agent folder.
    4. The Log On tab shows you which account the service is logging on with. (Needed for the SCOM and CSV plugins)
    5. You can also start or stop the service from the General tab.

  3. Check the agent logs for any connectivity errors. Support may ask you to change the LogLevel from Information to Debug in the appsettings.json file.
  4. Check SquaredUp for any reported outages: https://squaredup.statuspage.io/

vCenter Server systems and hosts use data counters to query for statistics. A data counter is a unit of information relevant to a given inventory object or device.

Each counter collects data for a different statistic in a metric group. For example, the disk metric group includes separate data counters to collect data for disk read rate, disk write rate, and disk usage.

Statistics for each counter are rolled up after a specified collection interval. Each data counter consists of several attributes that are used to determine the statistical value collected.

For a complete list and description of performance metrics, see the vSphere API Reference.

Collection levels determine the number of counters for which data is gathered during each collection interval. Collection intervals determine the time period during which statistics are aggregated, calculated, rolled up, and archived in the vCenter Server database.

Together, the collection interval and collection level determine how much statistical data is collected and stored in your vCenter Server database.

Your VMware administrator controls these settings.

Collection intervals determine the duration for which statistics are aggregated, calculated, rolled up, and archived.

Together, the collection interval and collection level determine how much statistical data is gathered and stored in your vCenter Server database.

Collection Interval / Archive Length
Collection Frequency
Default Behavior
1 Day
5 Minutes
Real-time (20s) statistics are rolled up to create one data point every 5 minutes. The result is 12 data points every hour and 288 data points every day.
After 30 minutes, the six data points collected are aggregated and rolled up as a data point for the 1-Week time range.
1 Week
30 Minutes
1-Day statistics are rolled up to create one data point every 30 minutes. The result is 48 data points every day and 336 data points every week.
Every 2 hours, the 12 data points collected are aggregated and rolled up as a data point for the 1-Month time range.
1 Month
2 Hours
1-Week statistics are rolled up to create one data point every 2 hours. The result is 12 data points every day and 360 data points every month (assuming a 30-day month).
After 24 hours, the 12 data points collected are aggregated and rolled up as a data point for the 1-Year time range.
1 Year
1 Day
1-Month statistics are rolled up to create one data point every day. The result is 365 data points each year.
Your VMware administrator controls these settings.

Each collection interval has a default collection level that determines the amount of data gathered and which counters are available for display in the charts. Collection levels are also referred to as statistics levels.

Level
Metrics
Best Practice
Level 1
  • Cluster Services (VMware Distributed Resource Scheduler): All metrics
  • CPU: cpuentitlement, totalmhz, usage (average), usagemhz
  • Disk: capacity, maxTotalLatency, provisioned, unshared, usage (average), used
  • Memory: consumed, mementitlement, overhead, swapinRate, swapoutRate, swapused, totalmb, usage (average), vmmemctl (balloon), totalbandwidth (DRAM or PMem)
  • Network: usage (average), IPv6
  • System: heartbeat, uptime
  • Virtual Machine Operations: numChangeDS, numChangeHost, numChangeHostDS
Level 1 is the default Collection Level for all Collection Intervals.
Level 2
  • Level 1 metrics
  • CPU: idle, reservedCapacity
  • Disk: All metrics, excluding numberRead and numberWrite.
  • Memory: All metrics, excluding memUsed, maximum and minimum rollup values, read or write latency (DRAM or PMem).
  • Virtual Machine Operations: All metrics
Use for long-term performance monitoring when device statistics are not required but you want to monitor more than the basic statistics.
Level 3
  • Level 1
  • Level 2 metrics
  • Metrics for all counters, excluding minimum and maximum rollup values.
  • Device metrics
Use for short-term performance monitoring after encountering problems or when device statistics are required.
Level 4
All metrics supported by the vCenter Server, including minimum and maximum roll-up values.
Use for short-term performance monitoring after encountering problems or when device statistics are required.
Your VMware administrator controls these settings.

Next steps

Data streams

You can use these data streams to create new tiles to show data, or if there are preconfigured dashboards installed you can copy or edit those.

Data streams standardize data from all the different shapes and formats your tools use into a straightforward tabular format.

While creating a tile you can tweak data streams by grouping or aggregating specific columns.

Depending on the kind of data, SquaredUp will automatically suggest how to visualize the result, for example as a table or line graph.

Data streams can be either global or scoped:

  • Global data streams are unscoped and return information of a general nature (e.g. "Get the current number of unused hosts").
  • A scoped data stream gets information relevant to the specific set objects supplied in the tile scope (e.g. "Get the current session count for these hosts").

See Data Streams for more information.

The following data streams are installed with this plugin.

Data stream
Description
Alarms
Returns a list of alarms from vCenter
clusterServices.clusterDrsScore.latest.percent
Retrieves the cluster's DRS score in percent, using page timeframe
clusterServices.effectivemem.average.megaBytes
Retrieves the cluster's effective memory in MB, using page timeframe
cpu.ready.summation.millisecond
Time that the virtual machine was ready, but could not get scheduled to run on the physical CPU during last measurement interval
cpu.usage.average.percent
CPU usage as a percentage during the interval
disk.capacity.latest.kiloBytes
Configured size of the datastore.
disk.maxTotalLatency.latest.millisecond
Retrieves the disk total latency metric in milliseconds, using page timeframe
disk.usage.average.kiloBytesPerSecond
Retrieves the disk metric in KBps, using page timeframe
disk.used.latest.kiloBytes
Amount of space actually used by the virtual machine or the datastore.
Health State
Returns the Overall Status for the objects in scope
Health State / Configuration Status
Returns the Configuration Status as defined by ESX for the objects in scope
Health State / Power State
Returns the Power State as Health for the objects in scope
mem.consumed.average.kiloBytes
Retrieves the memory consumed metric in KB, using page timeframe
mem.overhead.average.kiloBytes
Retrieves the memory overhead metric in KB, using page timeframe
mem.totalmb.average.megaBytes
Retrieves the total cluster memory metric in MB, using page timeframe
mem.usage.average.percent
Retrieves the average memory metric in percent, using page timeframe
mem.vmmemctl.average.kiloBytes
Retrieves the memory ballooning metric in KB, using page timeframe
net.usage.average.kiloBytesPerSecond
Network utilization (ingress/egress combined) during the interval.
Properties / Cluster
Returns a list of properties for Clusters.
Properties / Datastore
Returns a list of properties for Datastores.
Properties / Host
Returns a list of properties for Host objects.
Properties / Resource Pool
Returns a list of properties for Resource Pools.
Properties / Virtual Machine Runtime
Returns a list of properties for Virtual Machines.
Properties / Virtual Machine Summary Config
Returns a list of properties for Virtual Machines.
Properties / Virtual Machine Summary Quick
Returns a list of properties for Virtual Machines.
Snapshots
Returns information about the virtual machine snapshots
sys.uptime.latest.second
Retrieves the system uptime metric in seconds, using page timeframe
vmop.numChangeHost.latest.number
Retrieves the number of VMs that changed host, using page timeframe
vmop.numCreate.latest.number
Retrieves the number of VMs created, using page timeframe
vmop.numDestroy.latest.number
Retrieves the number of VMs destroyed, using page timeframe
vmop.numPoweroff.latest.number
Retrieves the number of powered off VMs, using page timeframe
vmop.numPoweron.latest.number
Retrieves the number of powered on VMs, using page timeframe
vmop.numRebootGuest.latest.number
Retrieves the number of rebooted guest VMs, using page timeframe
vmop.numRegister.latest.number
Retrieves the number of VMs registered, using page timeframe
vmop.numReset.latest.number
Retrieves the number of reset VMs, using page timeframe
vmop.numShutdownGuest.latest.number
Retrieves the number of guests in shutdown, using page timeframe
vmop.numStandbyGuest.latest.number
Retrieves the number of guests in standby, using page timeframe
vmop.numSuspend.latest.number
Retrieves the number of suspended VMs, using page timeframe
vmop.numSVMotion.latest.number
Retrieves the number of storage vMotion operations, using page timeframe
vmop.numUnregister.latest.number
Retrieves the number of VMs unregistered, using page timeframe
vmop.numVMotion.latest.number
Retrieves the number of host vMotion operations, using page timeframe

Configurable data streams

The following data streams installed with this plugin have configurable Parameters.

Data stream
Description
Parameters
VMware Cluster Counters
Retrieves counter data for VMware Cluster
  • Counter Name:
    Specify a counter name to return data for.
VMware Datacenter Counters
Retrieves counter data for VMware Datacenters
  • Counter Name:
    Specify a counter name to return data for.
VMware Datastore Counters
Retrieves counter data for VMware Datastores
  • Counter Name:
    Specify a counter name to return data for.
VMware Host and Virtual Machine Counters
Retrieves counter data for VMware Hosts or Virtual Machines
  • Counter Name:
    Specify a counter name to return data for.
VMware Network Counters
Retrieves counter data for VMware Networks
  • Counter Name:
    Specify a counter name to return data for.

Was this article helpful?


Have more questions or facing an issue?
Submit a ticket

On this page

  • Adding a data source
  • Before you start
  • Prerequisites
  • Configuring the data source
  • Testing and Troubleshooting
  • Next steps
  • Data streams
  • Configurable data streams

Footer

Sites

  • SquaredUp
  • SQUAREDUP DS
  • DOWNLOAD
  • COMMUNITY ANSWERS

Quick Links

  • Contact Support
  • Events
  • Careers

Small Print

  • Privacy Policy
  • Terms and Conditions
YoutubeX (Twitter)LinkedInBlueSky

© SquaredUp 2025