Web Server Monitor

Web servers have been a common utility that most business users utilize for everyday work. On a larger scale, Web servers such as Apache HTTP and Microsoft IIS provide the front end to a lot of multi-tier applications. Whether you are using a Web server for a simple intranet application that serves static content, or you are using a Web server as a front end to a clustered, multi-tier Internet infrastructure, AppPerfect Monitor can monitor your Web server for you.

Managing Web Server monitors

To view the list of all available monitors defined with the AppPerfect Monitor, log in as administrator and click the "Monitors" tab. A list of all defined monitors is displayed. You can edit the properties of a monitor by clicking it and updating the properties page for that monitor.

To delete a monitor, select the checkbox to the left of that monitor and click "Delete". When you delete a monitor, you may choose to preserve the data already recorded for that monitor or you may delete the monitor along with all its historical data.

Defining a new monitor

Please refer to the chapter Managing Monitors for the common settings required.

Apache HTTP Server

Apache HTTP Server is the most widely used pure web server today. AppPerfect Monitor can monitor critical performance metrics of your Apache HTTP server. Before you can monitor Apache HTTP server, you need to ensure that the status module has been enabled. Note that by default, it is disabled. To enable the status module, refer to the following instructions.

Notes on configuring the monitors:

Apache 1.3.x

Make sure:

Steps to follow:

1. Open the E:\AppServers\Apache Group\Apache\conf\httpd.conf file in any text-editor
2.

Search for the line

#LoadModule status_module modules/mod_status.so

and replace it with

LoadModule status_module modules/mod_status.so

3.

Search for the line

#AddModule mod_status.c

and replace it with

AddModule mod_status.c

4.

Search for the line

#ExtendedStatus On

and replace it with

ExtendedStatus On

5.

Search for the block

#<Location /server-status>

# SetHandler server-status

# Order deny,allow

# Deny from all

# Allow from ecs.com

#</Location>

and replace it with

<Location /server-status>

SetHandler server-status

</Location>

6.

Start the Apache server

7.

Confirm that the monitor is working:

  • Start the browser
  • Type the URL http://<hostname>:<serverPort>/server-status
    (for example, http://localhost:80/server-status)
  • "Apache Server Status for ..." should be displayed in the browser.

Apache 2.0.x / 2.2.x

Make sure:

Steps to follow:

1. Open the E:\AppServers\Apache Group\Apache2\conf\httpd.conf file in any text-editor
2.

Search for the line

#LoadModule status_module modules/mod_status.so

and replace it with

LoadModule status_module modules/mod_status.so

3.

Search for the line

#ExtendedStatus On

and replace it with

ExtendedStatus On

4.

Search for the block

#<Location /server-status>

# SetHandler server-status

# Order deny,allow

# Deny from all

# Allow from ecs.com

#</Location>

and replace it with

<Location /server-status>

SetHandler server-status

</Location>

5.

Start the Apache server

6.

Confirm that the monitor is working:

  • Start the browser
  • Type the URL http://<hostname>:<serverPort>/server-status
    (for example, http://localhost:80/server-status)
  • "Apache Server Status for ..." should be displayed in the browser.

Once the module is enabled, restart Apache HTTP server. Your server is now ready to be monitored. While defining the Apache HTTP monitor, provide the IP address and port number which the server is listening to. By default, most Web servers use default port as 80.

Microsoft IIS

Microsoft Internet Information Server is a Web server for the Microsoft Windows 2000/XP/2003 operating system(s).

To connect to a Windows XP machine, you need rights to modify the registry. For more information please see this document from Microsoft's Knowledge Base.