Apache Server Status Test

This test reveals critical performance and uptime statistics pertaining to an Apache web server. This test, upon execution, accesses a specific URL on the Apache server, which contains the required metrics. Using this test, administrators can figure out how well the processes are being procesed in the server, how many processes are currently idle, the processes that are in KEEPALIVE and Logging state etc. This way, this test helps administrators to identify processing bottlenecks, if any.

Target of the test : An Apache web server

Agent deploying this test : An internal agent

Outputs of the test : One set of results for the Apache web server being monitored

Configurable parameters for the test
Parameters Description

Test period

This indicates how often should the test be executed.

Host

The host for which the test is to be configured.

Port

The port to which the specified host listens

URL

In the this text box, the URL to be accessed by this test for extracting the Apache web server's performance statistics, will be displayed by default. The URL is: http://{Apache web server host}:{Apache web server port}/server-status.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise suite embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Total uptime of Apache server

Indicates the total number of days that the server has been up since its last reboot.

Days

Administrators may wish to be alerted if a server has been running without a reboot for a very long period. Setting a threshold for this measure allows administrators to determine such conditions.

Uptime during the last measure period

Indicates the time period that the server has been up since the last time this test ran.

Secs

If the server has not been rebooted during the last measurement period and the agent has been running continuously, this value will be equal to the measurement period. If the server was rebooted during the last measurement period, this value will be less than the measurement period of the test. For example, if the measurement period is 300 secs, and if the server was rebooted 120 secs back, this metric will report a value of 120 seconds. The accuracy of this metric is dependent on the measurement period - the smaller the measurement period, greater the accuracy.

Has the server been restarted?

Indicates whether the server has been rebooted during the last measurement period or not

 

The values reported by this measure and its corresponding numeric values are mentioned in the table below:

Measure Value Numeric value
No 0
Yes 1

Note:

By default, this measure reports the above-mentioned Measure Values to indicate whether the server has been rebooted or not. In the graph of this measure however, the Measure Values are represented using the numeric equivalents only.

By checking the time periods when this metric changes from No to Yes, an administrator can determine the times when this server was rebooted. The Detailed Diagnosis of this measure, if enabled, lists the time, shutdown date, reboot date, shutdown duration, and reveals whether the server is in maintenance mode or not.

Total hits

Indicates the number of times the server was accessed by users during the last measurement period.

Number

 

Data traffic

Indicates the rate at which data is transmitted by the web server during the last measurement period.

KB/Sec

 

CPU usage

Indicates the prcentage of CPU utilized by the web server during the last measurement period.

Percent

If the value of this measure increases with time, it could be a cause for concern.

Requests rate

Indicates the rate at which HTTP requests were processed by the web server during the last measurement period.

Requests/sec

 

Processing rate of requests

Indicates the amount of data transferred by the web server per second during the last measurement period.

KB/sec

 

Average bytes per request

Indicates the amount of data transferred by the web server per HTTP request during the last measurement period.

KB/request

 

Current requests

Indicates the number of HTTP requests that are currently being processed by the web server during the last measurement period.

Number

 

Idle workers

Indicates the number of idle Apache processes waiting for an HTTP request during the last measurement period.

Number

 

Total server instances

Indicates the total number of server instances i.e., threads on the web server during the last measurement period.

Number

A very high value of this measure could indicate a processing bottleneck.

Instances waiting for connection

Indicates the total number of threads that were waiting for a connection during the last measurement period.

Number

 

Currently starting instances

Indicates the number of HTTP requests that were currently processed by the web server during the last measurement period.

Number

 

Instances reading requests

Indicates the number of HTTP requests that were reading the processes of the web server during the last measurement period.

Number

 

Instances sending reply

Indicates the number of HTTP requests that received response from the web server during the last measurement period.

Number

 

Instances in keepalive state

Indicates the number of processes in KEEPALIVE state in the web server during the last measurement period.

Number

 

Instances in DNS lookup state

Indicates the number of requests for which DNS lookup state was enabled during the last measurement period.

Number

 

Instances in logging state

Indicates the number of processes that were in Logging state during the last measurement period.

Number

 

Gracefully finishing instances

Indicates the number of processes that were in gracefully finishing state during the last measurement period.

Number

Sometimes after a graceful restart of the Apache server, certain extra processes i.e., the child processes are left running on the server and these processes are deemed to be in gracefully finishing state. These processes remain in this state indefinitely and will not go away until a stop-and-start or a restart is issued on the server.

A low value is desired for this measure as frequent restarts to the server may gradually degrade the performance of the server.