Citrix Server monitor

Use this monitor to measure statistics related to the Citrix MetaFrame XP server during the performance test run, enabling you to watch server loading for performance, availability, and capacity planning.

Configure the Citrix monitoring environment

This task describes how to configure the monitoring environment for the Citrix Server monitor.

  1. Prerequisites

    • Make sure that the Citrix server has been installed and is running.

    • If a Citrix Server machine is running Windows 2000, make sure that the server machine is also running the Remote Registry service.

    • If your monitor accesses a server outside of your internal network, you may need to set up a web proxy to collect data from it. For details, see Use a proxy server.

    • Measurements that monitor instances are valid for the currently running Citrix session only. If you run this test again, you need to reconfigure the measurements that are instance-oriented.

    • To monitor the different instances, ensure that the server login and logout procedures are recorded in the Vuser_init and Vuser_end sections respectively, and not in the Action section of the script. For details, see the Virtual User Generator Help Center.

  2. Map the Network Drive

    From the Controller machine, map a network drive to the Citrix server machine. This ensures that the required authentication is provided to the Controller to access the resource counters.

  3. Launch PerfMon

    Launch PerfMon from the Controller machine to enable the counters on the Citrix server. This allows you to monitor the same counters for the ICA Session object on the Citrix monitor.

  4. Open the Connection with the Citrix server

    You can configure the Citrix monitor to view ICA Session object counters only if at least one session is being run on the Citrix server. If no "real" user has opened a connection with the Citrix server, you need to first initialize or run a Citrix Vuser against the server, and only then configure the Citrix Monitor and add the ICA Session counters. You cannot view the ICA Session object if you configure the Citrix monitor without first initializing or running a Citrix Vuser (or connecting to the Citrix server as a "real" user).

  5. Configure the Citrix Server monitor as described in Set up the Citrix Server monitor.

Back to top

Set up the Citrix Server monitor

This task describes how to set up the Citrix Server monitor.

  1. Prerequisites

    Make sure that you have set up the monitoring environment as described in Configure the Citrix monitoring environment.

  2. Select a resources folder.

    Select a resources folder for the monitor profile in the resources tree, or create a new folder as follows:

    1. In the LoadRunner Enterprise masthead, click the module name or the dropdown arrow and select Monitors (under Assets).

    2. Click New Folder and enter a name for the monitor resources folder.

  3. Create a monitor profile.

    1. Click New Monitor Profile , and make sure Monitor Profile is selected.

    2. Enter a name and optional description for the monitor profile, and click Save. An empty monitor profile is added to the selected resources folder.

    3. Select the monitor profile you just added and click Add Monitor .

    1. In the Monitor Type Selection tab, select the Citrix Server monitor type and click Next.

    2. In the Monitor Definition tab, enter the server details:

      UI Elements



      The name or IP address of the server whose resources you want to monitor.

      User Name

      The monitored server's user name, if relevant.


      The monitored server's password, if relevant.

    3. Click Get Counters to display a list of available metrics and counters, and select the relevant measurements that you want to monitor.

      The following sections describe some of the counters that can be measured.

    4. Click Save. The monitor details are displayed in the Monitors tab for the selected monitor profile.

  4. Associate the monitor with your test.

    For details, see Step 3: Associate monitors with your test.

Back to top

See also: