Answer the question
In order to leave comments, you need to log in
How to provide sensor monitoring by polling WMI?
Good afternoon, faced with the need to implement the monitoring of sensors and the output of these indicators.
An interesting program came to hand, which in its arsenal has the ability to interrogate the device using WMI.
This is where the difficulties began to appear.
The request structure looks like this: The
request is set, for example select Speed from Win32_PhysicalMemory
, and other parameters, such as a unit of measure, etc. are selected from the drop-down boxes.
On third-party sites on WMI, I searched for tags by class and could not find the right one, there is also a question about the ability to add / subtract, multiply / divide this indicator.
Ideally, I would like to get such indicators:
1) CPU temperature -20 degrees = value (C')
2) Disk speed *0.0002 = value (Hz)
3) CPU temperature *0.5 = value (%)
4) Intrusion sensor = value (+/-)
5) Perpetual zero value = value (%)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question