Back to the list of connectors[1]

Libre Hardware Monitor

Description

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

hardware[2] windows[3]

Source[4]

Target

Typical platform: Any Windows system

Operating system: Microsoft Windows

Prerequisites

Leverages: Libre Hardware Monitor

Technology and protocols: WMI/WinRM

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:

  • Operating System is Microsoft Windows
  • The WMI query below to the managed host succeeds:
    • Namespace: root\LibreHardwareMonitor
    • WQL Query: SELECT Name FROM WMINET_InstrumentedAssembly

Metrics

Type Collected Metrics Specific Attributes
cpu
  • hw.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
enclosure
  • hw.status{hw.type="enclosure", state="present"}
  • id
  • model
  • name
  • type
  • vendor
fan
  • hw.fan.speed
  • hw.status{hw.type="fan", state="present"}
  • hw.parent.id
  • hw.parent.type
  • id
  • name
gpu
  • hw.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
memory
  • hw.memory.limit
  • hw.status{hw.type="memory", state="present"}
  • hw.parent.id
  • hw.parent.type
  • id
  • name
physical_disk
  • hw.physical_disk.endurance_utilization{state="remaining"}
  • hw.status{hw.type="physical_disk", state="present"}
  • hw.parent.id
  • hw.parent.type
  • id
  • name
  • vendor
temperature
  • 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.id
  • hw.parent.type
  • id
  • name
  • sensor_location
voltage
  • hw.status{hw.type="voltage", state="present"}
  • hw.voltage
  • hw.parent.id
  • hw.parent.type
  • id
  • name
  • sensor_location
No results.