Skip to content

Collects "Open Hardware Monitor" stats and creates a prometheus readable metric file

License

Notifications You must be signed in to change notification settings

Ormiach/ohm_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

General info

"ohm_exporter" collects stats via "Open Hardware Monitor" and creates a prometheus readable metric file.

Setup

Download ohm_exporter.exe

Download ohm_exporter.exe from here:

Download & Configure OpenHardwareMonitor

For ohm_exporter to work, it needs the tool "Open Hardware Monitor", which you can download from here:

Put all the files into a folder called "Open Hardware Monitor" next to the ohm_exporter.exe. Change the following options in "Open Hardware Monitor":

  • Options -> Enable first 4 Options

Download windows_exporter.exe

Prometheus collect the data create via windows_exporter. Download the windows_exporter here:

Download nssm.exe

If you like to install the ohm_exporter as a service you can do this with "nssm". You get the exe here:

Register ohm_exporter as a service

nssm install ohm_exporter ohm_exporter.exe

Remove ohm_exporter service

nssm remove ohm_exporter

Grafana

Use the file "grafana_dashboard.json" to import a dashboard in your Grafana instance.

Alt text Alt text Alt text Alt text

Compatibility

Tested with the following hardware. Other hardware may needs adaptation.

  • Processor
    • AMD Ryzen 5 5600X
    • AMD Ryzen 9 5900X
  • GPU
    • NVIDIA GeForce RTX 3080
    • AMD Radeon RX 6800 XT

Improve Script

Build a new .exe

PS>Install-Module ps2exe
PS>Invoke-ps2exe .\ohm_exporter.ps1 .\ohm_exporter.exe

About

Collects "Open Hardware Monitor" stats and creates a prometheus readable metric file

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published