This Template is designed to Monitor:
- CPU Temperature
- CPU Wattage
- System Fan Control #1-5
- SSD Remaining Life.
I found that Open Hardware MOnitor allowed the ability to monitor any Windows System, regardless of device vendor. This template was build on a custom whitebox Intel i3 system with SSD drive installed.
It will be almost required to make some modifications for your exact system. Below are the requirements and steps to pull similar stats.
Open Hardware Monitor
Current Limitations for this implementation:
At this moment, Open Hardware Monitor runs as an application, not as a service. The app does not support services as the moment, but a scheduled task can be ran to do similar (however, some have reported crashing after a few days, see https://code.google.com/p/open-hardware-monitor/issues/detail?id=33)
To Install Open Hardware Monitor
- Download Open Hardware Monitor
- Extract zip and run the app.
- In the app, select Options> Run on Windows Startup.
- Go into Options> Remote Web Server> Run, this will turn off the web service built in (not needed for us)
- Download WMI Explorer.
- Run the WMI Explorer locally on the system you want to setup monitors.
- In the App, select Connect
- Select Root\OpenHardwareMonitor
- Under Classes you will see Hardware and Sensor
- At the bottom right, select Execute.
- You will see all fields and the results
- Name, Sensor, and Value are the fields that will be utilized the most. Name and Sensor to filter for specific returned values.
Open Hardware Monitor Documentation
WMI Namespace: (required to make the WMI Calls)
General WMI Queries to pull all Sensor and Hardware Data
SELECT * from Sensor
SELECT * from Hardware
Example, show the temperature of CPU Core 1:
SELECT value FROM Sensor WHERE Name LIKE "%CPU Core%" AND SensorType = "Temperature"