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:
SAMPLE.Windows.Server.CPU_Memory.Monitoring.zip
Comments
- Anonymous
January 01, 2003
thanks - Anonymous
January 01, 2003
Thanks for share. - Anonymous
September 08, 2014
:-) - Anonymous
December 05, 2014
lmfaooooo - Anonymous
July 24, 2015
Thanks for sharing. Great work! Will the overrides from the orginal monitor still work? - Anonymous
October 08, 2015
The comment has been removed