eG Monitoring
 

Measures reported by HAProxyTest

This test monitors each proxy service associated with the target Proxy server and for each proxy service, reports the status, session utilization, session related statistics such as current sessions, maximum sessions, errors that were detected etc. Using this test, administrators can easily figure out processing bottlenecks and rectify the same before the users complain of slow responsiveness of the proxy server.

Outputs of the test : One set of results for every proxy service of the target HA Proxy server being monitored.

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
Queued_req Indicates the number of current connections for which a backend server was not assigned by this proxy service. Number This measure is applicable only for the Backend descriptor.
Max_queued_req Indicates the maximum number of requests that were queued on the proxy server for this proxy service. Number This measure is applicable only for the Backend descriptor.
Curr_sess_conn_rate Indicates the rate at which connections were established for this proxy service during the last measurement period. Connections/sec This measure is applicable only for the Frontend descriptor.

If the backend server is bombarded with connections that exceed the global maximum connection limit, the HA Proxy server will seamlessly queue new connections in the system kernel's socket queue until another backend server is available.

If the connections are constantly queued, then ensure to increase the maximum connection limit on individual backend servers or increase the global maximum connection limit.
Curr_sess_req_rate Indicates the number of HTTP requests sent/received per second through this proxy service during the last measurement period. Requests/sec This measure is applicable only for the Frontend descriptor.
Curr_sess_rate Indicates the number of HTTP requests sent/received per second for the current sessions through this proxy service during the last measurement period. Requests/sec  
Sess_conn_rate_max Indicates the maximum number of connections established per second through this proxy service during the last measurement period. Connections/sec This measure is applicable only for the Frontend descriptor.
Sess_req_rate_max Indicates the maximum number of requests received per second by the proxy server through this proxy service. Requests/sec This measure is applicable only for the Frontend descriptor.
Sess_rate_max Indicates the rate at which new sessions were established through this proxy service. Sessions/sec  
Current_sessions Indicates the number of sessions currently established through the proxy server. Number This measure is applicable only for the Frontend descriptor.
Maximum_sessions Indicates the maximum number of sessions established through this proxy service. Number This measure is applicable only for the Frontend descriptor.
Session_limit Indicates the number of sessions that could be definitely established to the proxy server through this proxy service. Number  
Session_util Indicates the utilization percentage of sessions that were established by this proxy service. Percentage  
Total_connections Indicates the total number of connections established on the proxy server through this proxy service. Number This measure is applicable only for the Frontend descriptor.
Total_http_req Indicates the total number of HTTP requests to the proxy server through this proxy service. Number A high value can indicate an increase in the load on one or more applications, or a change in the characteristics of one or more applications.
Total_stot Indicates the total number of sessions established on the proxy server through this proxy service. Number A high value can indicate an increase in the load on one or more applications, or a change in the characteristics of one or more applications on the server.
Hrsp_1xx Indicates the number of HTTP responses received with 1xx code from the proxy server for the HTTP requests through this proxy service. Number  
Hrsp_2xx Indicates the number of HTTP responses received with 2xx code from the proxy server for the HTTP requests through this proxy service. Number The 200 response is the standard response for successful HTTP requests.
Hrsp_3xx Indicates the number of HTTP responses received with 3xx code from the proxy server for the HTTP requests through this proxy service. Number  
Hrsp_4xx Indicates the number of HTTP responses received with 4xx code from the proxy server for the HTTP requests through this proxy service. Number  
Hrsp_5xx Indicates the number of HTTP responses received with 5xx code from the proxy server for the HTTP requests through this proxy service. Number Response status codes beginning with the digit “5” indicate cases in which the server is aware that it has encountered an error or is otherwise incapable of performing the request.

Normally, the value of the measure should be 0. A non zero value indicates there are some errors in the proxy server.
Hrsp_other Indicates the number of HTTP responses received with other codes for e.g., protocol errors from the proxy server for the HTTP requests through this proxy service. Number  
Intercepted_req Indicates the number of intercepted requests to the proxy server through this proxy service. Number This measure is applicable only for the Frontend descriptor.
Comp_rsp Indicates the number of HTTP responses that were compressed on the proxy server through this proxy service. Number  
Comp_in Indicates the amount of HTTP response bytes fed to the compressor of the proxy server through this proxy service. MB  
Comp_out Indicates the amount of HTTP response bytes emitted by the compressor on the proxy server through this proxy service. MB  
Comp_byp Indicates the amount of HTTP response bytes bypassed by the HTTP compressor on the proxy server through this proxy service. MB  
Queue_time Indicates the average time spent in queue for the last 1024 requests sent through this proxy service. Seconds This measure is applicable only for the Backend descriptor.
Connect_time Indicates the average connection time taken for the last 1024 requests sent through this proxy service. Number This measure is applicable only for the Backend descriptor.
Response_time Indicates the average response time taken for the last 1024 requests sent through this proxy service. Seconds This measure is applicable only for the Backend descriptor.
Total_time Indicates the average total session time taken for the last 1024 requests sent through this proxy service. Seconds This measure is applicable only for the Backend descriptor.
Total_lb Indicates the total number of times a backend server was chosen for new session or for re-despatching the requests through this proxy service. Seconds This measure is applicable only for the Backend descriptor.
Last_session_assign Indicates the time elapsed since a session was assigned to the backend server through this proxy service. Minutes This measure is applicable only for the Backend descriptor.
Bytes_incoming Indicates the amount of data received by the proxy server through this proxy service. MB  
Bytes_outcoming Indicates the amount of data transmitted to the proxy server through this proxy service. MB  
Response_bytes_in Indicates the amount of data sent as response to the proxy server through this proxy service. MB  
Compression_out_pct Indicates the compression bytes outcoming percentage for this proxy service. MB  
Total_bytes_saved Indicates the total amount of data saved on the proxy server when data is transmitted through this proxy service. MB  
Total_bytes_saved_pct Indicates the percentage of data saved on the proxy server when data is transmitted through this proxy service. Percentage  
Denied_request Indicates the number of requests that were denied by the proxy server when received through this proxy service. Number  
Denied_response Indicates the number of responses denied by the proxy server when received through this proxy service. Number  
Denied_connection Indicates the number of connections denied by the proxy server when received through this proxy service. Number This measure is applicable only for the Frontend descriptor.
Denied_session Indicates the number of sessions denied by the proxy server when established through this proxy service. Number This measure is applicable only for the Frontend descriptor.
Error_req Indicates the number of error prone requests received through this proxy service on the proxy server. Number This measure is applicable only for the Frontend descriptor.

The requests may be error- prone due to the following reasons:

  • early termination from the client, before the request has been sent.

  • read error from the client

  • client timeout

  • client closed connection

  • various bad requests from the client.

  • request was tarpitted.

Error_connection Indicates the number of requests that encountered an error while trying to connect to a backend server through this proxy service. Number This measure is applicable only for the Backend descriptor.
Error_response Indicates the total number of response errors detected when responses were received through this proxy service. Number This measure is applicable only for the Backend descriptor.

Ideally, the value of this measure should be zero.
Client_abort Indicates the number of data transfers aborted by the client when data transfer was made through this proxy service. Number This measure is applicable only for the Backend descriptor.
Server_abort Indicates the number of data transfers aborted by the proxy server when data transfer was made through this proxy service. Number This measure is applicable only for the Backend descriptor.
Warn_retries Indicates the number of times a connection to a server was retried through this proxy service. Number This measure is applicable only for the Backend descriptor.
Warn_redispatch Indicates the number of times a request was redispatched to another server through this proxy service. Number This measure is applicable only for the Backend descriptor.
Server_state Indicates the current status of this proxy service.   The values reported by this measure and their numeric equivalents are available in the table below:

Measure Value Numeric Value
Down 0
Up 1
Open 2
No Load Balance 3
Under Maintenance 4

Note:

This measure reports the Measure Values listed in the table above to indicate the current status this proxy service. However, in the graph of this measure is indicated using only the Numeric Values listed in the above table.

Check_status Indicates the status of the last health check for this proxy service.   The values reported by this measure and their numeric equivalents are available in the table below:

Measure Value Numeric Value
Unknown 0
Initializing 1
Socket Error 2
Passed on Layer 4 3
Layer 1-4 timeout 4
Layer 1-4 connection problem 5
Passed on Layer 6 6
Layer 6 (SSL) timeout 7
Layer 6 invalid response 8
Passed on Layer 7 9
Conditionally passes on Layer 7 10
Layer 7 (HTTP/SNMP) timeout 11
Layer 7 invalid response 12
Layer 7 response error 13

Note:

This measure reports the Measure Values listed in the table above to indicate the status of the last health check for this proxy service. However, in the graph of this measure is indicated using only the Numeric Values listed in the above table.

Server_weight Indicates the total weight of this proxy service. Number This measure is applicable only for the Backend descriptor.
Active_servers Indicates the number of servers that were active while connecting through this proxy service. Number This measure is applicable only for the Backend descriptor.
Backup_servers Indicates the number of backup servers connected to the proxy server through this proxy service. Number This measure is applicable only for the Backend descriptor.
Check_fail Indicates the number of failed checks to the proxy server through this proxy service. Number This measure is applicable only for the Backend descriptor.
Checkdown_server Indicates the number of Up to DOWN transitions on the proxy server through this proxy service. Number The backend counter counts transitions to the whole backend being down, rather than the sum of the counters for each server.
Down_time Indicates the total downtime of this proxy service. Number This measure is applicable only for the Backend descriptor.