Monitor apache with mod status

  • 119 views
Uploaded 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. …

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

More in: Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
119
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
5
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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