Getting Data In

How to configure wmi.conf to query Windows CPU Temperature?

agarrison
Path Finder

I could not find any references to anyone trying to query temperature using WMI

0 Karma

agarrison
Path Finder

I used the following in wmi.conf

[WMI:Temp]

interval = 60

namespace = \\.\root\wmi

wql = SELECT CurrentTemperature FROM MSAcpi_ThermalZoneTemperature

index = default

disabled = 0

This will give you the temperature in kelvin, then need to convert to Celsius by subtracting 2732 and dividing the result by 10

0 Karma

agarrison
Path Finder

It looks like the WMI polling CPU is limited, in my case it always returned 29 degrees celsius and did not change.

WMI does not look to be a reliable CPU temperature monitor, your results may vary though.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...