Skip to main content

VMware ESXi 4.x+

Description​

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

hardware linux 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 +VMwareESX4i --wbem -u USER

metricshub.yaml​

resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: oob
connectors: [ +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 succeeds:
    • Namespace: root/cimv2
    • Query: SELECT MajorVersion FROM VMware_HypervisorSoftwareIdentity
    • Result contains: ^[1-9][0-9]\|[4-9] (regex)

Metrics​

TypeCollected MetricsSpecific Attributes
batteryhw.status{hw.type="battery", state="degraded|failed|ok"}
hw.status{hw.type="battery", state="present"}
hw.parent.type
id
name
cpuhw.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
enclosurehw.enclosure.energy
hw.enclosure.power
hw.status{hw.type="enclosure", state="present"}
id
model
name
serial_number
type
vendor
fanhw.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
memoryhw.status{hw.type="memory", state="degraded|failed|ok"}
hw.status{hw.type="memory", state="present"}
hw.parent.type
id
name
networkhw.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_supplyhw.status{hw.type="power_supply", state="degraded|failed|ok"}
hw.status{hw.type="power_supply", state="present"}
hw.parent.type
id
name
temperaturehw.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
voltagehw.status{hw.type="voltage", state="degraded|failed|ok"}
hw.status{hw.type="voltage", state="present"}
hw.voltage
hw.voltage.limit{limit_type="high.critical"}
hw.voltage.limit{limit_type="low.critical"}
hw.parent.type
id
name