Configure monitors

Some Controller monitors require that you set up and configure the monitor environment, before monitoring a scenario.

Set up the monitoring environment

For some monitors, you must first install or configure monitoring components on the server machine, before you configure the monitor itself.

Setup details vary for each monitor type; refer to the specific monitor section for monitoring environment details:

Note: For information on how to set up the SiteScope monitoring environment, see SiteScope server monitoring, and refer to the SiteScope documentation.

Back to top

Define monitor machines and measurements

For monitors that are not set up automatically, you configure Controller to monitor the server machine. This requires specifying the machines and measurements that Controller monitors during a scenario execution (or monitor run).

The actual UI and configuration may vary for specific monitors. See the help section for the relevant monitor for the monitor to check requirements.

During execution, the collected measurement data appears in the online graphs.

To define machines and measurements:

  1. On the Controller Run tab, select the required monitor in the Graphs area. The graph box is displayed in the right pane of the Run tab.

    Note: Some monitors are native LoadRunner Professional monitors (by default), but you can also monitor through the SiteScope monitor engine. To monitor through the SiteScope monitor, double-click it in the Sitescope Graphs node.

  2. Select the Add Measurements button on the graph, or select Add Measurements from the graph hamburger menu. A dialog box opens for the selected monitor.

  3. In the Monitored Server Machines section of the <Monitor> dialog box, click Add. The Add Machine dialog box opens.

    Enter the relevant information and click OK. For details, see Add Machine dialog box.

  4. The added machine name should now appear in the Monitored Server Machines area of the <Monitor> dialog box. Select the machine name if it is not already selected.

  5. In the Resource Measurements section of the <Monitor> dialog box, click Add. The <monitor> Configuration dialog box opens.

    Define the measurements for the specific server. For user interface details, see <Monitor Type> Monitor Configuration dialog box.

    For details about each monitor's default measurements, refer to the relevant reference section for the monitor.

    Note:  

    • If this is the first time you are adding measurements for this monitor, a dialog box might be opened enabling you to configure the monitor connection. Define the required information, then continue with adding measurements.
    • For the Citrix monitor, if the dialog box freezes after clicking Add, you may need to rebuild the localhost cache on the Citrix server machine.

Back to top

Change default counters

When you configure the System Resource, Microsoft IIS, Microsoft ASP, and SQL Server monitors, you are presented with a list of default counters that you can measure on the server you are monitoring.

If required, you can change the default counters for these monitors by editing the res_mon.dft file found in the LoadRunner\dat folder.

To change the monitor's default counters:

  1. Open a new scenario and click the Run tab.

  2. Add the monitor graph and configure.

  3. When adding measurements for the monitor, select the counters you want to measure.

  4. Save the scenario and open the scenario .lrs file and res_mon.dft file with an editor.

  5. From the scenario .lrs file, copy the MonItemPlus section of the each counter you selected into the res_mon.dft file.

  6. Count the number of new counters in the res_mon.dft file and update the ListCount parameter with this number.

Back to top

See also: