VMware ESXi 4.x+
Description
This connector enables hardware monitoring for ESXi servers v4 and higher through the VMware CIM service.
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Superseded Connector
This connector is superseded by:
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)
- Namespace:
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.typeidname |
| 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.typeidmodelname |
| enclosure | hw.enclosure.energyhw.enclosure.powerhw.status{hw.type="enclosure", state="present"} | idmodelnameserial_numbertypevendor |
| fan | hw.fan.speedhw.fan.speed.limit{limit_type="low.critical"}hw.fan.speed_ratiohw.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.typeidname |
| memory | hw.status{hw.type="memory", state="degraded|failed|ok"}hw.status{hw.type="memory", state="present"} | hw.parent.typeidname |
| network | hw.network.bandwidth.limithw.network.full_duplexhw.network.uphw.status{hw.type="network", state="degraded|failed|ok"}hw.status{hw.type="network", state="present"} | device_typehw.parent.typeidnamephysical_addressphysical_address_type |
| power_supply | hw.status{hw.type="power_supply", state="degraded|failed|ok"}hw.status{hw.type="power_supply", state="present"} | hw.parent.typeidname |
| temperature | hw.status{hw.type="temperature", state="degraded|failed|ok"}hw.status{hw.type="temperature", state="present"}hw.temperaturehw.temperature.limit{limit_type="high.critical"}hw.temperature.limit{limit_type="high.degraded"} | hw.parent.typeidname |
| voltage | hw.status{hw.type="voltage", state="degraded|failed|ok"}hw.status{hw.type="voltage", state="present"}hw.voltagehw.voltage.limit{limit_type="high.critical"}hw.voltage.limit{limit_type="low.critical"} | hw.parent.typeidname |