vSphere - Overview

Dashboard

Small overview dashboard for VMware vSphere environments
Last updated: 3 months ago

Downloads: 63

Reviews: 1

  • grafana_dashboard_overview.png
    grafana_dashboard_overview.png

This dashboard gives a quick overview of a VMware vSphere environment and the cluster utilization. Data is pulled from vCenter with the vSphere plugin of the Telegraf agent. The data is stored in an InfluxDB timeseries database.

The overview dashboard can link to more detailed dashboards for Hosts, VMs, Datastores etc. See also my other dashboards:

Collector Configuration Details

For a small lab environment the default configuration of InfluxDB and Telegraf should work fine. Only add the address and credentials of your VMware vCenter.

For larger environments the best practice is to split the Telegraf vSphere plugin in two instances, one for realtime metrics from Hosts and VMs, and a Historical instance for Datastores, Clusters and Datacenters.

The collection interval can be configured through the interval parameter

An example configuration of the plugin fetched from the Telegraf documentation:

## Realtime instance
[[inputs.vsphere]]
  interval = "60s"
  vcenters = [ "https://someaddress/sdk" ]
  username = "someuser@vsphere.local"
  password = "secret"

  insecure_skip_verify = true
  force_discover_on_init = true

  # Exclude all historical metrics
  datastore_metric_exclude = ["*"]
  cluster_metric_exclude = ["*"]
  datacenter_metric_exclude = ["*"]

  collect_concurrency = 5
  discover_concurrency = 5

# Historical instance
[[inputs.vsphere]]

  interval = "300s"

  vcenters = [ "https://someaddress/sdk" ]
  username = "someuser@vsphere.local"
  password = "secret"

  insecure_skip_verify = true
  force_discover_on_init = true
  host_metric_exclude = ["*"] # Exclude realtime metrics
  vm_metric_exclude = ["*"] # Exclude realtime metrics

  max_query_metrics = 256
  collect_concurrency = 3

See also my blog post on this topic

Dependencies: