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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...