vSphere module

edit

The vSphere module uses the Govmomi library to collect metrics from any Vmware SDK URL (ESXi/VCenter). This library is built for and tested against ESXi and vCenter 5.5, 6.0 and 6.5.

By default it enables the metricsets cluster, datastore, datastorecluster, host, network, resourcepool and virtualmachine.

Dashboard

edit

The vsphere module comes with a predefined dashboard. For example:

metricbeat vsphere dashboard
metricbeat vsphere vm dashboard

Example configuration

The vSphere module supports the standard configuration options that are described in Modules. Here is an example configuration:

metricbeat.modules:
- module: vsphere
  enabled: true
  metricsets: ["cluster", "datastore", "datastorecluster", "host", "network", "resourcepool", "virtualmachine"]
  # Real-time data collection – An ESXi Server collects data for each performance counter every 20 seconds.
  period: 20s
  hosts: ["https://localhost/sdk"]

  username: "user"
  password: "password"
  # If insecure is true, don't verify the server's certificate chain
  insecure: false
  # Get custom fields when using virtualmachine metric set. Default false.
  # get_custom_fields: false

Metricsets

The following metricsets are available: