Jimmy Harper's Operations Manager Blog

Posts in this blog are provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified in the Terms of Use

CPU/Memory Monitors – Include Top Processes in Alert Description

CPU/Memory Monitors – Include Top Processes in Alert Description

  • Comments 3
  • Likes

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:

 

image

 

image

Attachment: SAMPLE.Windows.Server.CPU_Memory.Monitoring.zip
Comments
Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment