Enabling Activity Monitoring

An administrator can enable you to determine which users have actively used Astoria within the last 5 minutes.

Note: Activity tracking is not enabled by default.
  1. Edit the useroverride configuration file LicenseServer.cfg file in the %AST_USERDIR% folder on the CMS server.
    See the task Overriding Astoria-Supplied Server Configuration Files in either of the Installation and Configuration Guides for Astoria 6.5 for information about the override files.
  2. The configuration file must contain the following section to enable activity tracking:

    [com.lspeed.astoria.license.server.AstoriaLicenseServer]

    TrackActivity = true

  3. Restart the Astoria License Server on the CMS server.
  4. Restart all Astoria read and write servlets on all ACS nodes.
In the Workbench Properties view, when selecting an active user, an IsActive property row appears with a value of true. You can add an Is Active column for lists displaying users. Active users will be identified with an asterisk (*) in the column.
For users who use the SDK, server programs can access this information using the com.lspeed.activity.ActivityClient class.
  • isActive reports status of a single user
  • reportActivity provides a list of all active users

Thick (XD_) programs can call com.lspeed.activity.ActivityClient to determine if a user is active (boolean isActive(String userName)) or to get all active users (List<String> reportActivity())