3.7 SessionsTotalActive

This Knowledge Script monitors the current number of client sessions that are currently logged on to Windows Terminal Server (WTS). If the number of active sessions exceeds the threshold you set, an event is raised.

3.7.1 Resource Objects

WTS Sessions

3.7.2 Default Schedule

The default interval is Every 1 hour.

3.7.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Raise event if the total number of active sessions exceeds the threshold?

Set to y to raise an event if the total number of active sessions exceeds the threshold you set. The default is y.

Collect data for active sessions?

Set to y to collect data for charts and reports. If set to y, the script returns the total number of active sessions. The default is y.

Threshold -- maximum active sessions

Specify the maximum number of concurrent sessions that can be active before raising an event. The default is 50.

Event severity when the total number of active 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 active sessions exceeds the threshold. The default severity level is 5.