Monitor apache with mod status

485 views
367 views

Published on

Apache HTTP web server which can make a System Administrators life much easier to handle load of Apache web server using mod_status module.

Published in: Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
485
On SlideShare
0
From Embeds
0
Number of Embeds
17
Actions
Shares
0
Downloads
7
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Monitor apache with mod status

  1. 1. How to Monitor Apache Web Server Load and Page Statistics Apache HTTP web server which can make a System Administrators life much easier to handle load of Apache web server using mod_status module. What is mod_status? mod_status is an Apache module which helps to monitor web server load and current httpd connections with an HTML interface which can be accessible via a web browser. Apache’s mod_status shows a plain HTML page containing the information about current statistics of web server state including. 1. Total number of incoming requests 2. Total number of bytes and counts server 3. CPU usage of Web server 4. Server Load 5. Server Uptime 6. Total Traffic 7. Total number of idle workers 8. PIDs with respective client and many more. How to Enable mod_status in Apache The default Apache installation comes with mod_status enabled. If not, make sure to enable it in Apache configuration file at. # vim /etc/httpd/conf/httpd.conf LoadModule status_module modules/mod_status.so <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from all </Location> Enable ExtendedStatus The “ExtendedStatus” settings adds more information to the statistics page like, CPU usage, request per second, total traffic, etc. To enable it, edit the the same httpd.conf file and search for the word “Extended” and Uncomment the line and set the status “On” for ExtendedStatus directive. ExtendedStatus On #service httpd restart Access mod_status Page http://serveripaddress/server-status or http://serveripaddress/server-status/? refresh=5

×