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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...