Skip to main content

VMware ESXi - Disks (VMware)

Description

This connector enables disk monitoring for ESX servers v4 and higher through the VMware ESX4i agent's VMware classes.

hardware linux storage vmware

Enterprise Connector

This connector requires the Enterprise edition of MetricsHub.

Supersedes

This connector supersedes:

Target

Typical platform: VMware

Operating systems: Out-Of-Band, Linux

Prerequisites

Leverages: WBEM

Technology and protocols: WBEM

Examples

CLI

metricshub HOSTNAME -t oob -c +VMwareESXiDisksStorage --wbem -u USER

metricshub.yaml

resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: oob
connectors: [ +VMwareESXiDisksStorage ] # Optional, to load only this connector
protocols:
wbem:
protocol: https
port: 5989
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt

Connector Activation Criteria

The VMware ESXi - Disks (VMware) connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:

  • The WBEM query below succeeds:
    • Namespace: root/cimv2
    • Query: SELECT MajorVersion FROM VMware_HypervisorSoftwareIdentity
    • Result contains: ^\\([1-9][0-9]\\|[4-9]\\) (regex)
  • The WBEM query below succeeds:
    • Namespace: root/cimv2
    • Query: SELECT DeviceID,Caption,NumberOfBlocks,BlockSize FROM VMware_StorageExtent

Metrics

TypeCollected MetricsSpecific Attributes
disk_controllerhw.status{hw.type="disk_controller", state="degraded|failed|ok"}
hw.status{hw.type="disk_controller", state="present"}
controller_number
hw.parent.type
id
model
name
logical_diskhw.logical_disk.limit
hw.status{hw.type="logical_disk", state="degraded|failed|ok"}
hw.parent.type
id
name
physical_diskhw.physical_disk.size
hw.status{hw.type="physical_disk", state="degraded|failed|ok"}
hw.status{hw.type="physical_disk", state="present"}
hw.parent.type
id
model
name