Skip to main content

Windows IPMI (WMI)

Description

This connector provides environmental information on several IPMI-enabled servers in-band and out-of-band (temperatures, fans, etc.).

hardware windows

Supersedes

This connector supersedes:

Target

Typical platform: IPMI

Operating system: Microsoft Windows

Prerequisites

Leverages: IPMI

Technology and protocols: WMI

Examples

CLI

metricshub HOSTNAME -t win -c +WindowsIpmiTool --wmi -u USER

metricshub.yaml

resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: win
connectors: [ +WindowsIpmiTool ] # Optional, to load only this connector
protocols:
wmi:
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt

Connector Activation Criteria

The Windows IPMI (WMI) connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:

  • The WMI query below succeeds:
    • Namespace: root\hardware
    • Query: SELECT Description FROM ComputerSystem

Metrics

TypeCollected MetricsSpecific Attributes
batteryhw.status{hw.type="battery", state="degraded|failed|ok"}
hw.status{hw.type="battery", state="present"}
hw.parent.id
hw.parent.type
id
info
model
bladehw.status{hw.type="blade", state="degraded|failed|ok"}
hw.status{hw.type="blade", state="present"}
hw.parent.id
hw.parent.type
id
info
model
name
serial_number
cpuhw.status{hw.type="cpu", state="degraded|failed|ok"}
hw.status{hw.type="cpu", state="present"}
hw.parent.id
hw.parent.type
id
info
model
vendor
enclosurehw.enclosure.energy
hw.enclosure.power
hw.status{hw.type="enclosure", state="degraded|failed|ok"}
hw.status{hw.type="enclosure", state="present"}
id
info
model
serial_number
vendor
fanhw.fan.speed
hw.fan.speed.limit{limit_type="low.critical"}
hw.fan.speed.limit{limit_type="low.degraded"}
hw.status{hw.type="fan", state="degraded|failed|ok"}
hw.status{hw.type="fan", state="present"}
hw.parent.id
hw.parent.type
id
info
sensor_location
ledhw.status{hw.type="led", state="degraded|failed|ok"}
hw.status{hw.type="led", state="present"}
color
hw.parent.id
hw.parent.type
id
name
memoryhw.memory.limit
hw.status{hw.type="memory", state="degraded|failed|ok"}
hw.status{hw.type="memory", state="present"}
hw.parent.id
hw.parent.type
id
info
model
name
serial_number
vendor
other_devicehw.status{hw.type="other_device", state="degraded|failed|ok"}
hw.status{hw.type="other_device", state="present"}
additional_label
device_type
hw.parent.id
hw.parent.type
id
info
physical_diskhw.status{hw.type="physical_disk", state="degraded|failed|ok"}
hw.status{hw.type="physical_disk", state="present"}
hw.parent.id
hw.parent.type
id
info
model
serial_number
vendor
power_supplyhw.status{hw.type="power_supply", state="degraded|failed|ok"}
hw.status{hw.type="power_supply", state="present"}
id
name
sensor_location
temperaturehw.status{hw.type="temperature", state="present"}
hw.temperature
hw.temperature.limit{limit_type="high.critical"}
hw.temperature.limit{limit_type="high.degraded"}
hw.parent.id
hw.parent.type
id
name
sensor_location
voltagehw.status{hw.type="voltage", state="present"}
hw.voltage
hw.voltage.limit{limit_type="high.critical"}
hw.voltage.limit{limit_type="low.critical"}
hw.parent.id
hw.parent.type
id
name
sensor_location