Home

 

Define which statistics to collect

Edit configuration property settings to define the statistics that are collected by the server.

To edit configuration files, use wsadmin. See Start the wsadmin client for details.

The Activities server collects a specific set of statistics by default. You can change what is collected to better suit the needs of your environment. For example, Activities collects statistics on SMTP server performance. If you are not using an SMTP server, you can prevent its performance from being monitored. For a complete list of the statistics that are collected by Activities by default, see Activities statistics. To define which statistics are collected by the server...

  1. Use wsadmin to access and check out the Activities configuration files.

    1. Access the Activities configuration file:

    2. Network deployment:

        execfile("profile_root/config/bin_lc_admin/activitiesAdmin.py")
        

      If prompted to specify which server to connect to, type 1.

      The information about which server to connect to is only used by wsadmin when you are running administrative commands to collect statistics.

    3. Check out the Activities configuration files...

        ActivitiesConfigService.checkOutConfig("<working_directory>",
        "cell_name")
        

      where:

      • <working_directory> is the temporary working directory to which the configuration XML and XSD files are copied and are stored while you make changes to them. Use forward slashes to separate directories in the file path, even if you are using the Microsoft Windows operating system.

      • cell_name is the name of the WebSphere Application Server cell hosting the Lotus Connections feature. This argument is required even in stand-alone deployments. This argument is also case-sensitive, so type it with care. If you do not know the cell name, do one of the following to determine it:

        • Stand-alone deployment: From the file system...

            WAS_HOME\profiles\profile_name\config\cells\
            

      • Network deployment: From wsadmin...

          print AdminControl.getCell()
          

      For example:

      • AIX/Linux:

          ActivitiesConfigService.checkOutConfig("/opt/act/temp","foo01Cell01")
          

    4. Microsoft Windows:

        ActivitiesConfigService.checkOutConfig("c:/act/temp","foo01Cell01")
        

  2. From the temporary to which you checked out the Activities configuration file, open the oa-config.xml file in a text editor, and look for the <stat> element block.

  3. Make any of the following edits:

    • To stop collecting data on a specific field, remove the <field> element that represents the value that you are not interested in collecting.

    • To change the name of the text file that is created to store the statistical data, edit the attribute of the <file> element.

    • To change the number of versions of results that are maintained from the default value of the 144, edit the <samples> element.

  4. After making your edits, save and close the oa-config.xml file.

  5. After making changes, check the configuration files back in and do so during the same wsadmin session in which you checked them out for the changes to take effect. See Applying property changes for details.


Monitor statistics and metrics

 

Related tasks

Checking out the Activities configuration files

Apply property changes

 

Related reference


Activity statistics


+

Search Tips   |   Advanced Search