Skip to content

Latest commit

 

History

History
71 lines (50 loc) · 2.04 KB

File metadata and controls

71 lines (50 loc) · 2.04 KB

Monitoring vSphere using Grafana and Telegraf, Victoriametrics/Prometheus

A way to retrieve vCenter information and integrate it with Victoriametrics, to present it later with Grafana

Important

Requirements:

  • vCenter 6.5 or newer
  • Telegraf 1.0 or newer
  • Prometheus / Victoriametrics 1.90
  • Grafana 11 or newer
  • DNS

A сouple of Grafana dashboards.

Hosts

image

vSphere Overview

image

2025-03-03_13-02-14

image

Configuration

vCenter

Telegraf

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

  insecure_skip_verify = true
  force_discover_on_init = true
  [[outputs.prometheus_client]]
  listen = ":9273"

Victoriametrics / Prometheus

  • Setup target for prometheus agents:
- targets:
  - 'telegraf-vcenter.local.domain:9273'

  labels:
    job: vcenters

Grafana

Repository for the VMware, Grafana, Telegraf an InfluxDB integration - https://github.com/jorgedlcruz/vmware-grafana