Comments (8)
Hi!
That would be interesting for sure. However, I don't seem to get any values in those WMI classes. Do your systems report anything there?
from windows_exporter.
https://github.com/openhardwaremonitor/openhardwaremonitor reports useful hardware stats and appears to do some of it through WMI queries. Perhaps this would be a useful source of inspiration.
from windows_exporter.
@sandersaares I had a quick browse through the code, and as far as I can tell, they don't use WMI for actually getting temperatures etc, but only for probing what hardware is installed? They do register a custom WMI provider as well, which I couldn't see what they actually used for, though.
Did you see any concrete usage of WMI to get the temperatures that I missed?
from windows_exporter.
No, I just quickly rifled through the code and saw some WMI but I also did not see too direct of a connection. Guess it is no good then.
from windows_exporter.
hi @carlpett , actually, we really need this index. I have several windows machine for digital signage. They are installed inside the bus stop smartpole, digital advertising box. They are often overheating and make windows system slowly. I need these cpu temperature index to verify is it overheating or not.
for now our solution is login into remote iot computer and open some GUI software to check cpu temperature. but I will never know when it will happen, unless I have this index to report to our prometheus
from windows_exporter.
The documentation above states that
Most of the information that the Win32_TemperatureProbe WMI class provides comes from SMBIOS. Real-time readings for the CurrentReading property cannot be extracted from SMBIOS tables. For this reason, current implementations of WMI do not populate the CurrentReading property. The CurrentReading property's presence is reserved for future use.
I played around this script and found that the temperature returned is unchanging likely because of the issue above.
Unless there's features elsewhere, it looks like WMI doesn't support temperature readings at this time, unfortunately
Edit: After playing around with that script some more & reading more documentation on MSAcpi_ThermalZoneTemperature, it looks like that will work on some systems where the hardware allows it. I have seen the temperature change at this point, though it doesn't seem to be real time. Could be worth investigating
from windows_exporter.
This is promising. Ran some bench marks and the value seems to be updating in real time
wmic /namespace:\\root\cimv2 PATH Win32_PerfFormattedData_Counters_ThermalZoneInformation get Temperature
from windows_exporter.
With the merge of #359, we can close this. Thanks Stewart!
from windows_exporter.
Related Issues (20)
- Missing IIS Counter (perflibWebService)
- Can I drop specific labels within config.yml HOT 1
- Update Documentation To State That Existing Exporter Instance Have To Be Uninstalled For Changes To Occur
- Connector os cs and service are timing out
- Custom performance counters
- How to query the correspondence between logical and physical disks HOT 1
- [MSSQL] Query duration stats
- CryptoAPI HOT 2
- How do I update windows exporter with config-file...using msiexec? more in-depth docs on using config file HOT 4
- /net/http/pprof were detected as information disclosure vulnerability
- Issue with scheduled_task HOT 1
- There is no Windows_os_* return on a certain Windows HOT 5
- How can we get CPU usage application-wise (IIS Worker Processes), for the Windows server? HOT 1
- Can windows print server monitoring data be collected? HOT 1
- Documentation: windows_time_computed_time_offset_seconds HOT 1
- in windows server 2012 r2 datacenter, the windows_exporter-0.25.1-amd64.exe has exception "the system cannot find the file specified"
- [requirements] IIS version number HOT 4
- How does windows_exporter monitor disk iowait
- A single list in the Dashboard for Enabled/Disabled servers HOT 1
- Windows service collector takes over 500s to scrape data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows_exporter.