How to check for LED status on a motherboard?

Tagged: , , ,

This topic contains 8 replies, has 3 voices, and was last updated by  Simon B 1 week, 2 days ago.

  • Author
    Posts
  • #76791

    Kevyn
    Participant

    Hello,

    I've got a hyper-v server where the CPU was overheating and, therefore, become unresponsive. I've since added fans to prevent this, but just in case it occurs again, I wanted to write a script that ran every few minutes, via a scheduled job, that checked the status of the LED, or some status on the motherboard, etc... to see if the CPU was overheating. If it was, then I would have the script do the following:

    1. Send me an e-mail letting me know the CPU was overheating.
    2. Shut down all the hyper-v VMs
    3. Shut down the hyper-v server itself.

    The part I'm needing help on, is what do I need to check that allows me to detect the overheat? I've checked Win32_BaseBoard, Win32_MotherBoardDevice, as well as under the ROOT\Hardware class, but not seen anything that indicates the overheat occurred. I'm guessing that's because the server has been shut down and restarted since the last overheat, so that information probably got wiped out. Any thoughts would be appreciated.

  • #76794

    Don Jones
    Keymaster

    You'll have to check with your vendor. Nearly none of them populate the core CIM or Win32 classes, nor do they surface the information directly to Windows. Usually, if they surface that information at all, it's through a device driver and a dedicated WMI namespace.

    Frankly, most vendors don't surface that information in a way that PowerShell can get to it easily.

  • #76816

    Kevyn
    Participant

    Thanks Don. I was afraid of that.

  • #76819

    Simon B
    Participant
  • #76824

    Kevyn
    Participant

    That's an awesome find. Unfortunately, my hyper-v server's motherboard/cpu doesn't support it....but my Surface computer does....lol. It looks like when a computer, like my hyper-v server, doesn't support it, you get the following error:

    Get-WmiObject: Not supported

    Thanks for looking into it for me. 🙂

  • #76827

    Simon B
    Participant

    This may also help although not a powershell solution. If you spin up a ubuntu server on your VM you may be able to use this

    https://askubuntu.com/questions/41794/how-to-monitor-log-server-hardware-temperatures-load

  • #76828

    Simon B
    Participant
  • #76833

    Kevyn
    Participant

    Thanks, Simon. I went into the manual for my motherboard and found a URL to their own monitoring software. I'm going to check it out.

    https://www.supermicro.com/products/nfo/SMS_SD5.cfm

  • #76834

    Simon B
    Participant

    np anytime. Your link looks promising

You must be logged in to reply to this topic.