Back to the list of connectors[1]

VMware ESXi 4.x

Description

This connector enables hardware monitoring for ESXi servers v4 and higher through the VMware CIM service.

This connector supersedes:

Target

Typical platform: VMware ESXi

Operating systems: Out-Of-Band, Linux

Prerequisites

Leverages: WBEM

Technology and protocols: WBEM

Examples

CLI

metricshub HOSTNAME -t management -c +VMwareESX4i --wbem -u USER

metricshub.yaml

resourceGroups:
  <RESOURCE_GROUP>:
    resources:
      <HOSTNAME-ID>:
        attributes:
          host.name: <HOSTNAME> # Change with actual host name
          host.type: management
        selectConnectors: [ VMwareESX4i ] # 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 4.x 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: ^[1-9][0-9]\|[4-9] (regex)

Metrics

Type Collected Metrics Specific Attributes
battery
  • hw.status{hw.type="battery", state="degraded|failed|ok"}
  • hw.status{hw.type="battery", state="present"}
  • hw.parent.type
  • id
  • name
cpu
  • hw.cpu.speed.limit{limit_type="max"}
  • hw.status{hw.type="cpu", state="degraded|failed|ok"}
  • hw.status{hw.type="cpu", state="present"}
  • hw.parent.type
  • id
  • model
  • name
enclosure
  • hw.enclosure.energy
  • hw.enclosure.power
  • hw.status{hw.type="enclosure", state="present"}
  • id
  • model
  • name
  • serial_number
  • type
  • vendor
fan
  • hw.fan.speed
  • hw.fan.speed.limit{limit_type="low.critical"}
  • hw.fan.speed_ratio
  • hw.fan.speed_ratio.limit{limit_type="low.critical"}
  • hw.status{hw.type="fan", state="degraded|failed|ok"}
  • hw.status{hw.type="fan", state="present"}
  • hw.parent.type
  • id
  • name
memory
  • hw.status{hw.type="memory", state="degraded|failed|ok"}
  • hw.status{hw.type="memory", state="present"}
  • hw.parent.type
  • id
  • name
network
  • hw.network.bandwidth.limit
  • hw.network.full_duplex
  • hw.network.up
  • hw.status{hw.type="network", state="degraded|failed|ok"}
  • hw.status{hw.type="network", state="present"}
  • device_type
  • hw.parent.type
  • id
  • name
  • physical_address
  • physical_address_type
power_supply
  • hw.status{hw.type="power_supply", state="degraded|failed|ok"}
  • hw.status{hw.type="power_supply", state="present"}
  • hw.parent.type
  • id
  • name
temperature
  • hw.status{hw.type="temperature", state="degraded|failed|ok"}
  • hw.status{hw.type="temperature", state="present"}
  • hw.temperature
  • hw.temperature.limit{limit_type="high.critical"}
  • hw.temperature.limit{limit_type="high.degraded"}
  • hw.parent.type
  • id
  • name
voltage
  • hw.status{hw.type="voltage", state="degraded|failed|ok"}
  • hw.status{hw.type="voltage", state="present"}
  • hw.voltage
  • hw.voltage.limit{limit_type="high.degraded"}
  • hw.voltage.limit{limit_type="low.critical"}
  • hw.parent.type
  • id
  • name
No results.