Share this page

# Apache web server monitor

The Apache monitor shows the measurements and server properties that can be monitored on the Apache web server during the test run.

In this topic:

## Set up the Apache monitor

This task describes how to set up the Apache monitor.

To set up the monitor:

1. Prerequisite.

   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.

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

   1. Click the Navigation menu and select Assets > Monitors.

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

3. Create a monitor profile.

   1. Click the New Monitor Profile button , 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 the Add Monitor button .

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

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

      UI Elements | Description
      --- | ---
      Server | The name of the server whose resources you want to monitor, specified as either an IP address or an FQDN. For supported IP formats, see Supported server name formats.
      URL | The Server statistics information URL. To verify the statistics information URL, try to view it through the browser using the following format: `http://<server_name/IP address>:<port_number>/server-status?auto` For example: `http://stimpy:80/server-status?auto`. Format: Enter the server statistics information URL, without the server name. Default value:`/server-status?auto` Note: The default port number and URL can vary from one server to another. Consult your web server administrator.
      Port | The port number of the Apache server. Note: To monitor an Apache server through a firewall, use the web server port (by default, port 80).

   3. Click Get Counters to display a list of available metrics and counters.

      Select the measurements that you want to monitor, and then click the Select Counters button to add the counters to the Selected Counters table.

      Measurement | Description
      --- | ---
      # Busy Servers | The number of servers in the Busy state.
      # Idle Servers | The number of servers in the Idle state.
      Apache CPU Usage | The percentage of time the CPU is utilized by the Apache server.
      Hits/sec | The HTTP request rate.
      KBytes Sent/sec | The rate at which data bytes are sent from the web server.

   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

## Change the Apache default server properties

This task describes how to modify the Apache default server properties that are defined in the monitor configuration file.

To change the default server properties:

1. Open the apache.cfg file in the <Server_installdir>\dat\monitors directory.

2. Edit the following parameters after the Delimiter=: statement.

   Parameter | Value
   --- | ---
   InfoURL | Server statistics information URL.
   ServerPort | Server port number.
   SamplingRate | Rate (milliseconds) at which the monitor polls the server for the statistics information. If this value is greater than 1000, it is used as its sampling rate. Otherwise, it uses the sampling rate defined in the Monitors tab of the Options dialog box.

3. Save and close the file.

Back to top

See also:

- Monitors

https://admhelp.microfocus.com Enterprise Performance Engineering,LoadRunner Enterprise 8942
Tips to improve your search results...OpenText™ Enterprise Performance Engineering Help Center OpenText™ Enterprise Performance Engineering Help 26.1 All View Local Help Center View Online Help Center Version: