User rating:
4.3 (3 ratings)

The content on this page is related to a deprecated version of LoadUI, which has been superseded by LoadUI NG Pro in the Ready! API platform. Click here to learn more.

1. Set Up Apache Monitoring

To monitor Apache using LoadUI mod_status module must be enabled. This module is available as part of a standard installation of either the Apache 1.x or Apache 2.x packages and configuration is very straightforward.

To enable status reports only for somedomain.com domain, the following code must be added to the configuration file httpd.conf:


To enable extended counters, the following line must be added to httpd.conf:

ExtendedStatus On

Extended status is available from Apache 1.3.2 and higher.

Note to Debian/Ubuntu users:

If you place your config in /etc/apache2/httpd.conf you need to add

IncludeOptional httpd.conf

to your /etc/apache2/apache2.conf, preferably to the bottom of the config file.

You might also need to comment out the following line (by adding # in the beginning):

Require local

from /etc/apache2/mods-available/status.conf

2. LoadUI setup

When defining new Apache monitor in LoadUI, user must specify server host (in server definition screen), port (80 is default) and optionally check ‘Use https?’ if server stats are accessed over HTTPS. User must click Test connection to verify connection and retrieve the list of all available counters. Make sure that no firewall is blocking the port used in between the server and LoadUI.

3. Available statistics

Once connected to Apache server, following counters are available:

1. Basic.

  • % Busy Workers - Percentage of worker serving requests relative to total number of workers (Busy + Idle)
  • Busy Workers - Worker serving requests counter.
  • Idle Workers - Idle worker counter.

2. Extended. (Available only when extended status is enabled)

  • Bytes Per Req - Average number of bytes per request.
  • Bytes Per Seq- Average number of bytes per second.
  • CPU Load - The current percentage CPU used in total by Apache.
  • Req Per Seq - Average number of requests per second.
  • Total Accesses - A total number of accesses served.
  • Total Kbytes - A total number of byte count served.
  • Uptime - The time the server has been running for.