Open Hardware Monitor Template

Version 1

    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.

     

    Requirements:

     

    Open Hardware Monitor

    http://openhardwaremonitor.org/

     

    WMI Explorer

    https://wmie.codeplex.com/

     

    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

    1. Download Open Hardware Monitor
    2. Extract zip and run the app.
    3. In the app, select Options> Run on Windows Startup.
    4. Go into Options> Remote Web Server> Run, this will turn off the web service built in (not needed for us)
    5. Download WMI Explorer.
    6. Run the WMI Explorer locally on the system you want to setup monitors.
      1. In the App, select Connect
      2. Select Root\OpenHardwareMonitor
      3. Under Classes you will see Hardware and Sensor
      4. At the bottom right, select Execute.
      1. You will see all fields and the results
        1. 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

    http://openhardwaremonitor.org/wordpress/wp-content/uploads/2011/04/OpenHardwareMonitor-WMI.pdf

     

     

    WMI Namespace: (required to make the WMI Calls)

    root/OpenHardwareMonitor

     

    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"