3.3 SessionsInfo

This Knowledge Script displays information about the current terminal sessions connected to the Windows terminal server. The information returned in the detailed data message depends on the version of Windows Terminal Server (WTS):

  • With some versions, the data message contains the session name, user name, session ID, current status, session type, and device.

  • With other versions, the data message contains the session name, user name, session ID, current status, client address, and client name.

If the Knowledge Script cannot get information about the WTS sessions, an event is raised.

3.3.1 Resource Objects

WTS Sessions

3.3.2 Default Schedule

The default interval is Every hour.

3.3.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Collect data on terminal session information?

Set to y to collect data for charts and reports. If set to y, the script returns data on the current number of sessions connected to the target computer. The default is y.

Event severity if information cannot be retrieved

Set the event severity level, from 1 to 40, to indicate the importance of the event in which data cannot be retrieved. The default severity level is 8.