CPU/Memory Monitors – Include Top Processes in Alert Description

This post has been republished via RSS; it originally appeared at: Core Infrastructure and Security Blog articles.

First published on TECHNET on Aug 29, 2014

Here is a Management Pack that I wrote for a customer a while back.  The requirement was to take the alerting for CPU Utilization and Available Memory from the Windows Server Management Pack and add the top 5 processes consuming CPU/Memory to the Alert Description.


The MP that I wrote for this is attached



  • The MP contains replicas of the “Available Megabytes of Memory” and “Total CPU Utilization Percentage” Monitors from the Windows Server MPs

  • The only change is a modification to the VBScript to get the Top 5 processes and include them in the Property Bag and Alert.

  • The memory monitor will show the top 5 instances of Process\Private Bytes

  • The CPU monitor will show the top 5 instances of Process\% Processor Time

  • The MP has separate Monitors for Server 2003, 2008, 2008 R2 and 2012



Screenshots of the alerts are below:






SAMPLE.Windows.Server.CPU_Memory.Monitoring.zip

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.