Windows Performance email high peaks

Welcome Forums General PowerShell Q&A Windows Performance email high peaks

This topic contains 3 replies, has 3 voices, and was last updated by

 
Participant
4 years, 2 months ago.

  • Author
    Posts
  • #18068

    Participant
    Points: 0
    Rank: Member

    Thank you in advance,
    Is there an easy script that I can use to create a performance log alert every time I get a CPU,Memory,HDD above a set threshold... ?
    My main problem is I don't know how to create this by getting real time values and also not creating overhead.

    Example:

    " Constantly monitor a server and Email the system admin whenever a server reaches more than 85% of processor use. "

    Thanks for helping me getting started with this task.

  • #18091

    Participant
    Points: 159
    Helping Hand
    Rank: Participant

    You can try WMI Event Notifiers outlined here: https://www.simple-talk.com/sql/database-administration/using-powershell-and-wmi-events-queries-for-powerful-notifications/

    Even if you are running a check every 5 min with Powershell via Scheduled Tasks, it should run in a couple of seconds and not generate too much overhead on the server.

  • #18151

    Participant
    Points: 0
    Rank: Member

    A server reaching 85% isn't necessarily an issue. A server reaching 85% and sitting there for a significant period most likely is an issue. You need to think of time in this as well. I'm going to try and put a blog post together with an example

  • #18190

    Participant
    Points: 0
    Rank: Member

    Thank you, I will try something out with WMI Event Notifiers like Richard states, I will keep you posted.

The topic ‘Windows Performance email high peaks’ is closed to new replies.