CPU/Memory Monitors – Include Top Processes in Alert Description


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

SAMPLE.Windows.Server.CPU_Memory.Monitoring.zip

Comments (6)

  1. Anonymous says:

    thanks

  2. Anonymous says:

    Thanks for share.

  3. Any issues so far? says:

    :-)

  4. Caca says:

    lmfaooooo

  5. Tv says:

    Thanks for sharing. Great work! Will the overrides from the orginal monitor still work?

  6. MayurG says:

    Thanks a Lot Jimmy !!

    Is it possible to get Processes list in tabular format and in MB ??