Require OpenHardwareMonitor installed and started. Use nssm to run OpenHardwareMonitor as windows service.
- win_cpu_temp
- tags:
- cpu
- tags:
- fields:
- temp (float, celcius)
[[inputs.exec]]
interval = "30s"
commands = ['powershell -executionpolicy bypass -File "C:\\Program Files\\telegraf\\ohm.ps1"']
data_format = "influx"
win_cpu_temp,cpu=0 temp=35
win_cpu_temp,cpu=1 temp=34
run
powershell -executionpolicy bypass -File "C:\Program Files\telegraf\ohm.ps1"