45.3. HTTP diagnostics and statistics

45.3.1. HTTP diagnostics

This command reports the current situation of the HTTP resource:

[15:53:04] ABILIS_CPX:d d http

RES:Http ----------------------------------------------------------------------
       HyperText_Transfer_Protocol                                             
       STATE:READY     MAX-CONN:24
       ------------------------------------------------------------------------
       CH: State       LocAdd-LocPort         RemAdd-RemPort
       ------------------------------------------------------------------------
       0   LISTENING   000.000.000.000-80     
       1   CONNECTED   192.168.029.254-80     192.168.020.254-8109   
       2   LISTENING   000.000.000.000-80     
       3   LISTENING   000.000.000.000-80     
       4   LISTENING   000.000.000.000-80     
       5   LISTENING   000.000.000.000-80     
       6   LISTENING   000.000.000.000-80     
       7   LISTENING   000.000.000.000-80     
       8   LISTENING   000.000.000.000-80     
       9   LISTENING   000.000.000.000-80     
       10  LISTENING   000.000.000.000-80     
       11  LISTENING   000.000.000.000-80     
       12  LISTENING   000.000.000.000-443    
       13  LISTENING   000.000.000.000-443    
       14  LISTENING   000.000.000.000-443    
       15  LISTENING   000.000.000.000-443    
       16  LISTENING   000.000.000.000-443    
       17  LISTENING   000.000.000.000-443    
       18  LISTENING   000.000.000.000-443    
       19  LISTENING   000.000.000.000-443    
       20  LISTENING   000.000.000.000-443    
       21  LISTENING   000.000.000.000-443    
       22  LISTENING   000.000.000.000-443    
       23  LISTENING   000.000.000.000-443    

The meaning:

STATE

The HTTP driver state:

  • INACTIVE - configuration parameter ACT:NO.

  • ACTIVE - The driver is fully ready to work.

MAX-CONN

Maximum configured connections. The sum of HTTP and HTTPS sessions.

CH:

HTTP/HTTPS session identifier.

State

State of the HTTP/HTTPS resource session:

  • LISTENING - session is listening.

  • CONNECTED - session is connected.

LocAdd-LocPort

Local IP Address and Local Port.

RemAdd-RemPort

Remote IP Address and Remote Port.

45.3.2. HTTP statistics

This command can help to understand what is happening, in case of troubles:

[15:53:05] ABILIS_CPX:d s http

RES:Http ----------------------------------------------------------------------
       HyperText_Transfer_Protocol                                             
       --- Cleared 5 days 08:32:17 ago, on 25/10/2017 at 09:01:16 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |    1992746|    4198735|REQ        |       8141|           |
       REQ-GET    |       8116|           |REQ-POST   |         23|           |
       REQ-PUT    |          0|           |REQ-OPTIONS|          0|           |
       RSP-BUF-OVR|          0|           |           |           |           |
       DENIED-IP  |          0|           |BANNED-IP  |          0|           |
       ------------------------------------------------------------------------
[15:59:02] ABILIS_CPX:d se http

RES:Http ----------------------------------------------------------------------
       HyperText_Transfer_Protocol                                             
       --- Cleared 5 days 08:32:20 ago, on 25/10/2017 at 09:01:16 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |    1992746|    4199086|REQ        |       8141|           |
       REQ-GET    |       8116|           |REQ-POST   |         23|           |
       REQ-PUT    |          0|           |REQ-OPTIONS|          0|           |
       RSP-BUF-OVR|          0|           |           |           |           |
       DENIED-IP  |          0|           |BANNED-IP  |          0|           |
       ------------------------------------------------------------------------
       CH:0
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |      22401|   52107264|REQ        |         54|           |
       REQ-GET    |         53|           |REQ-POST   |          1|           |
       REQ-PUT    |          0|           |REQ-OPTIONS|          0|           |
       RSP-BUF-OVR|          0|           |
       ------------------------------------------------------------------------
       CH:1
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |    1761836|  699985664|REQ        |       7627|           |
       REQ-GET    |       7626|           |REQ-POST   |          1|           |
       REQ-PUT    |          0|           |REQ-OPTIONS|          0|           |
       RSP-BUF-OVR|          0|           |
       ------------------------------------------------------------------------
       CH:2
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |      23974|   59100672|REQ        |         53|           |
       REQ-GET    |         50|           |REQ-POST   |          3|           |
       REQ-PUT    |          0|           |REQ-OPTIONS|          0|           |
       RSP-BUF-OVR|          0|           |
       ------------------------------------------------------------------------
       CH:3
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |      12205|   29783296|REQ        |         28|           |
       REQ-GET    |         25|           |REQ-POST   |          2|           |
       REQ-PUT    |          0|           |REQ-OPTIONS|          0|           |
       RSP-BUF-OVR|          0|           |
       ------------------------------------------------------------------------
...

With reference to the shown interval of time («Cleared 5 days 08:32:20 ago») these counters show the number of:

CHRCharacters received/sent by all control sessions from TCP.
REQAll HTTP/HTTPS request messages.
REQ-GETGET requests. The GET method is used to retrieve information from the given server using a given URI. Requests using GET should only retrieve data and should have no other effect on the data.
REQ-POSTPOST requests. A POST request is used to send data to the server, for example, customer information, file upload, etc.
REQ-PUTPUT requests. Uploads a representation of the specified URI.
REQ-OPTIONSOPTIONS requests. Returns the HTTP methods that the server supports.
RSP-BUF-OVRResponse buffer overflow, it occurs when the HTTP request generates a response that has a higher amount than the output buffer used by the session.
DENIED-IPHTTP requests received by the server from not allowed source IP address. The not-allowed is a client whose IP address is not present in IPSRC and IPSRCLIST parameters configuration.
BANNED-IPRequests that was discarded because the source IP was banned by IPBAN service.
[Note]Note

The d se http command shows statistic information in an extended format including shown for each session.