Configure Status URL for Apache Monitoring

Configuring status URL for Apache Monitoring

  1. Edit the status module's configuration file:
  2. Find the below line and make sure it is uncommented:
    LoadModule status_module /usr/lib/apache2/modules/
  3. Edit the status module configuration file:
  4. The below line allows access to the Status page from localhost using the URI /server-status
    <Location /server-status>
    SetHandler server-status
    Require local
  5. To restrict access to authenticated users and to specific IP addresses:
    <Location /server-status>
    SetHandler server-status
    AuthUserFile /passwordlocation
    AuthType Basic
    AuthName <USER_NAME>
    Require user <USER_NAME>
  6. Make sure the ExtendedStatus is enabled to track additional data about the currently executing requests per worker.
    ExtendedStatus On
  7. Restart the server.