Back to the list of connectors

VMware ESXi 4.x

Description

This connector provides hardware monitoring through the VMware ESXi implementation of SMASH, through the WBEM protocol.

Connector ID: VMwareESX4i

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

hws-config.yaml

hosts:
- host:
    hostname: <HOSTNAME> # Change with actual host name
    type: management
  selectedConnectors: [ VMwareESX4i ] # 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 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: ^[4567] (regex)

Metrics

Type Collected Metrics Specific Attributes (Labels)
Enclosure
  • hw.enclosure.energy
  • hw.status{hw.type="enclosure",state="present"}
  • model
  • serial_number
  • type
  • vendor
Battery
  • hw.status{hw.type="battery",state="ok|degraded|failed"}
  • hw.status{hw.type="battery",state="present"}
    Processor
    • hw.cpu.speed.limit{limit_type="max"}
    • hw.status{hw.type="cpu",state="ok|degraded|failed"}
    • hw.status{hw.type="cpu",state="present"}
    • model
    Fan
    • hw.fan.limit{limit_type="high.critical"}
    • hw.fan.speed
    • hw.fan.speed_ratio
    • hw.fan.speed_ratio.limit{limit_type="critical"}
    • hw.status{hw.type="fan",state="ok|degraded|failed"}
    • hw.status{hw.type="fan",state="present"}
      Memory Module
      • hw.status{hw.type="memory",state="ok|degraded|failed"}
      • hw.status{hw.type="memory",state="present"}
        Network Card, FC Port
        • hw.network.bandwidth.limit
        • hw.network.full_duplex
        • hw.network.up
        • hw.status{hw.type="network",state="ok|degraded|failed"}
        • hw.status{hw.type="network",state="present"}
        • physical_address
        Power Supply
        • hw.status{hw.type="power_supply",state="ok|degraded|failed"}
        • hw.status{hw.type="power_supply",state="present"}
          Temperature Sensor
          • hw.status{hw.type="temperature",state="ok|degraded|failed"}
          • hw.status{hw.type="temperature",state="present"}
          • hw.temperature
          • hw.temperature.limit{limit_type="high.critical"}
          • hw.temperature.limit{limit_type="high.degraded"}
            Voltage Sensor
            • hw.status{hw.type="voltage",state="ok|degraded|failed"}
            • hw.status{hw.type="voltage",state="present"}
            • hw.voltage
            • hw.voltage.limit{limit_type="high.critical"}
            • hw.voltage.limit{limit_type="low.critical"}
              No results.