Some Controller monitors require that you set up and configure the monitor environment, before monitoring a scenario.
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:
- Set up the Citrix monitoring environment
- Set up the Network monitoring environment
- Set up the Oracle monitoring environment
- Set up the UNIX monitoring environment
- Dynatrace SaaS and Dynatrace Managed monitors
- Windows Resources monitor
Note: For information on how to set up the SiteScope monitoring environment, see SiteScope server monitoring, and refer to the SiteScope documentation.
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:
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.
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.
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.
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.
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.
- 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.
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:
Open a new scenario and click the Run tab.
Add the monitor graph and configure.
When adding measurements for the monitor, select the counters you want to measure.
Save the scenario and open the scenario .lrs file and res_mon.dft file with an editor.
From the scenario .lrs file, copy the MonItemPlus section of the each counter you selected into the res_mon.dft file.
Count the number of new counters in the res_mon.dft file and update the ListCount parameter with this number.