Skip to content

Apache Web Server Monitoring Integration

Sematext offers a simple, easy to install, Apache monitoring agent with minimal CPU and memory overhead.

Install Apache Monitoring Agent

Setting up the monitoring agent takes less than 5 minutes:

  1. Activate Apache mod_status module with sudo a2enmod status and configure it in status.conf file, e.g. in /etc/apache2/mods-enabled/status.conf:

    ExtendedStatus On
    <Location /server-status>
      SetHandler server-status
  2. Create an Apache App in the Integrations / Overview (or Sematext Cloud Europe). This will let you install the agent and control access to your monitoring and logs data.

  3. Name your Apache monitoring App and, if you want to collect Apache logs as well, create a Logs App along the way.
  4. Install the Sematext Agent according to the displayed in the UI.

Apache Metrics

Metric Name Key Agg Type Description
async closing apache.connections.async.closing Avg Double
async writing apache.connections.async.writing Avg Double
busy apache.workers.busy Avg Double
total Avg Double
requests count apache.requests.count Sum Long
idle apache.workers.idle Avg Double
async keep alive apache.connections.async.keepAlive Avg Double
keepalive apache.workers.keepalive Avg Double keepalive: Number of workers currently sending keepalive messages
open Avg Double open: Number of workers currently not busy with any process
sending apache.workers.sending Avg Double sending: Number of workers currently sending a reply
finishing apache.workers.finishing Avg Double finishing: Number of workers currently gracefully finishing connections
reading apache.workers.reading Avg Double reading: Number of workers currently reading incoming requests
closing apache.workers.closing Avg Double closing: Number of workers currently closing a connection
idle cleanup apache.workers.cleanup Avg Double idle cleanup: Number of workers currently performing idle cleanup procedure
starting apache.workers.starting Avg Double starting: Number of workers currently starting up a connection
logging apache.workers.logging Avg Double logging: Number of workers currently busy updating log files
waiting apache.workers.waiting Avg Double waiting: Number of workers currently waiting for a connection
dns lookup apache.workers.dns Avg Double dnslookup: Number of workers currently requesting DNS lookup

PHP-FPM Monitoring

PHP-FPM monitoring can be enabled along with Apache monitoring. See PHP-FPM for more details.


If you are having issues with Sematext Monitoring, i.e. not seeing Apache metrics, see How do I create the diagnostics package.

For more troubleshooting information please look at Troubleshooting section.