This Knowledge Script monitors CPU usage for all Windows Terminal Server (WTS) processes and the CPU used by the top number of processes specified by you. If the total percentage of CPU usage for the set of top processes exceeds the threshold you set, an event is raised.
You can specify the number of top processes to display in the detail message. The detail message includes the percentage of CPU used by each of the top processes.
WTS Server
The default interval is Every 30 minutes.
Set the following parameters as needed:
|
Description |
How to Set It |
|---|---|
|
Raise event if CPU usage exceeds the threshold? |
Set to y to raise an event if the CPU usage exceeds the threshold. The default is y. |
|
Collect data for CPU usage by top processes? |
Set to y to collect data for charts and reports. If set to y, the script returns the total CPU usage for the set of top processes. The default is n. |
|
Threshold -- maximum CPU usage |
Specify the maximum percentage of CPU resources WTS processes can consume before raising an event. The default is 90. |
|
Number of top CPU usage processes to show |
Specify the number of top processes to display in the detail message. Specify 0 if you want to display all processes. The default is 5. |
|
Event severity when CPU usage exceeds the threshold |
Set the event severity level, from 1 to 40, to indicate the importance of the event in which the CPU usage exceeds the threshold. The default severity level is 5. |