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:
sudo a2enmod statusand configure it in
status.conffile, e.g. in
ExtendedStatus On <Location /server-status> SetHandler server-status </Location>
- Name your Apache monitoring App and, if you want to collect Apache logs as well, create a Logs App along the way.
- Install the Sematext Agent according to the https://apps.sematext.com/ui/howto/Apache/overview displayed in the UI.
|async keep alive||apache.connections.async.keepAlive||Avg||Double|
|keepalive||apache.workers.keepalive||Avg||Double||keepalive: Number of workers currently sending keepalive messages|
|open||apache.workers.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 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.