Monitoring Server CPU performance
Since June 2008 i am monitoring some important performance values, one of them being
CPU usage. When i started using Microsoft Windows Server 2008 with
Hyper-V, i almost
immediately felt the need to have some sort of monitoring for the server and for
each virtual machine that runs on it. Using some
Powershell
code,
WMI
queries i
managed to create a script that periodically stores performance information into
my
SQL Server.
Depending on the type of information these performance values are stored at different
intervals and kept in the SQL database for a specific time-period. For example,
CPU usage is only kept for 5 days, after that it will be deleted. Information about
percentage disk free space however, is kept much longer but it also has a much longer
interval: 1 day.
Gradually more and more pages will be added to show other performance values of
my server and virtual machines.