Home > Articles > Networking > Network Administration & Management

This chapter is from the book

This chapter is from the book

Monitoring Apache with mod_status

   <Location /server-status>
   SetHandler server-status
   Order Deny,Allow
   Deny from all
   Allow from 192.168.0


The mod_status module provides information on server activity and performance, allowing a server administrator to find out how well their server is performing. An HTML page is presented that gives the current server statistics in an easily readable form, such as the number of workers serving requests, the number of idle workers, the time the server was started/restarted, and so on.

If you include an ExtendedStatus On directive, additional information will be displayed, such as individual information about each worker status, total number of accesses, current requests being processed, and so on.

Bear in mind that, depending on your server load, this extended statistics recording may have a significant impact on server performance.

This example shows how to enable the mod_status monitoring, while restricting access to this information to only certain IP addresses. You can now access server statistics by using a Web browser to access the page at http://www.example.com/server-status.

  • + Share This
  • 🔖 Save To Your Account