3.17 UsersInfo

This Knowledge Script displays information about the users currently logged on to the Windows Terminal Server (WTS) server. The detailed message includes each user’s name, session name, session ID, current status, idle time, and log on time. If the Knowledge Script cannot get information about WTS users, an event is raised.

3.17.1 Resource Objects

WTS Users

3.17.2 Default Schedule

The default interval is Every 1 hour.

3.17.3 Example of the Information Returned

The following is an example of the data collected and displayed in the data detail message:

USERNAME    SESSIONNAME     ID  STATE  IDLE TIME  LOGON TIME
>shawn      console          0  active         .  09/03/03 18:56
 netiq                       4  disc        none  09/04/03 10:32
 netiq      rdp-tcp#5        5  active        50  09/04/03 12:05

3.17.4 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Collect data for logged-on users?

Set to y to collect data for charts and reports. If set to y, the script returns the number of users currently connected to WTS. The default is y.

Event severity if user information cannot be retrieved

Set the event severity level, from 1 to 40, to indicate the importance of the event. The default severity level is 8.