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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...