This Knowledge Script monitors the total number of sessions that have been disconnected on a Windows terminal server. If the number of disconnected Windows Terminal Server (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 an event if the total number of disconnected sessions exceeds the threshold? |
Set to y to raise an event if the total number of disconnected sessions exceeds the threshold. The default is y. |
|
Collect data for disconnected sessions? |
Set to y to collect data for charts and reports. If set to y, this script returns the total number of disconnected sessions. The default is n. |
|
Threshold -- maximum disconnected sessions |
Specify the maximum number of sessions to be disconnected before an event is raised. The default is 10. |
|
Event severity when the total number of disconnected sessions exceeds the threshold |
Set the event severity level, from 1 to 40, to indicate the importance of the event in which the total number of disconnected sessions exceeds the threshold. The default severity level is 8. |