This Knowledge Script monitors the number of inactive Windows Terminal Server (WTS) sessions. An inactive session is one with no users logged on. If the number of inactive WTS sessions exceeds the threshold you set, an event is raised.
WTS Sessions
The default interval is Every 1 hour.
Set the following parameters as needed:
|
Description |
How to Set It |
|---|---|
|
Raise event if the number of inactive sessions exceeds the threshold? |
Set to y to raise an event if the number of inactive sessions exceeds the threshold. The default is y. |
|
Collect data for inactive sessions? |
Set to y to collect data for charts and reports. If set to y, the script returns the total number of inactive sessions. The default is y. |
|
Threshold -- maximum inactive sessions |
Specify the maximum number of sessions to be inactive before an event is raised. The default is 50. |
|
Event severity when the number of inactive sessions exceeds the threshold |
Set the event severity level, from 1 to 40, to indicate the importance of the event. The default severity level is 5. |