Skip to main content

Libre Hardware Monitor

Description

This connector enables hardware monitoring for processors, temperatures, fans, voltages, GPU, memory modules, physical disk of a computer.

hardware windows

Superseded Connector

This connector is superseded by:

Target

Typical platform: Microsoft Windows

Operating system: Microsoft Windows

Prerequisites

Leverages: Libre Hardware Monitor

Technology and protocols: WMI

Examples

CLI

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

metricshub.yaml

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

Connector Activation Criteria

The Libre Hardware Monitor connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:

  • The device type must be one of: NT
  • The WMI query below succeeds:
    • Namespace: root\LibreHardwareMonitor
    • Query: SELECT Name FROM WMINET_InstrumentedAssembly

Metrics

TypeCollected MetricsSpecific Attributes
cpuhw.cpu.speed
hw.energy{hw.type="cpu"}
hw.power{hw.type="cpu"}
hw.status{hw.type="cpu", state="present"}
hw.parent.id
hw.parent.type
id
model
name
enclosurehw.status{hw.type="enclosure", state="present"}id
model
name
type
vendor
fanhw.fan.speed
hw.status{hw.type="fan", state="present"}
hw.parent.id
hw.parent.type
id
name
gpuhw.energy{hw.type="gpu"}
hw.gpu.io{direction="receive"}
hw.gpu.io{direction="transmit"}
hw.gpu.memory.limit
hw.gpu.memory.utilization
hw.gpu.utilization{task="decoder"}
hw.gpu.utilization{task="encoder"}
hw.gpu.utilization{task="general"}
hw.power{hw.type="gpu"}
hw.status{hw.type="gpu", state="present"}
hw.parent.id
hw.parent.type
id
name
vendor
memoryhw.memory.limit
hw.status{hw.type="memory", state="present"}
hw.parent.id
hw.parent.type
id
name
physical_diskhw.physical_disk.endurance_utilization{state="remaining"}
hw.status{hw.type="physical_disk", state="present"}
hw.parent.id
hw.parent.type
id
name
vendor
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.parent.id
hw.parent.type
id
name
sensor_location