Back to the list of connectors

VMware ESXi - Disks (VMware)

Description

This connector provides disk monitoring through the VMware ESX4i agent's VMware classes

Connector ID: VMwareESXiDisksStorage

This connector is superseded by:

This connector supersedes:

Target

Typical platform: VMware ESXi

Operating systems: Out-of-Band, Linux

Prerequisites

Leverages: WBEM

Technology and protocols: WBEM

Examples

CLI

hws HOSTNAME -t management -f VMwareESXiDisksStorage --wbem -u USER

hws-config.yaml

hosts:
- host:
    hostname: <HOSTNAME> # Change with actual host name
    type: management
  selectedConnectors: [ VMwareESXiDisksStorage ] # Optional, to load only this connector
  wbem:
    protocol: https
    port: 5989
    username: <USERNAME> # Change with actual credentials
    password: <PASSWORD> # Encrypted using hws-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 to the managed host succeeds:
    • Namespace: root/cimv2
    • WQL Query: SELECT MajorVersion FROM VMware_HypervisorSoftwareIdentity
    • Result contains: ^[34567] (regex)
  • The WBEM query below to the managed host succeeds:
    • Namespace: root/cimv2
    • WQL Query: SELECT DeviceID,Caption,NumberOfBlocks,BlockSize FROM VMware_StorageExtent

Metrics

Type Collected Metrics Specific Attributes (Labels)
Disk Controller
  • hw.status{hw.type="disk_controller",state="ok|degraded|failed"}
  • hw.status{hw.type="disk_controller",state="present"}
  • model
Logical Disk, RAID
  • hw.logical_disk.limit
  • hw.status{hw.type="logical_disk",state="ok|degraded|failed"}
  • hw.status{hw.type="logical_disk",state="present"}
    Physical Disk
    • hw.physical_disk.size
    • hw.status{hw.type="physical_disk",state="ok|degraded|failed"}
    • hw.status{hw.type="physical_disk",state="present"}
    • model
    No results.