F5 Http monitor

The BIG-IP HTTP health monitor attempts to mabtch the configured Receive String against the HTTP response data encapsulated within the TCP payload. The HTTP response data includes the status line, the response headers, and the HTTP payload. As a result, you can configure the Receive String to match cookie names, cookie values, response codes, and other HTTP response information not contained within the HTTP payload itself.

   

If a URL other than the one you entered appears in the address field of the browser, verify the server response by performing the following procedure:

Log in to the BIG-IP command line.

Telnet to the pool member by using the following command syntax:

   

telnet <ServerIP> <ServerPort>

   

NoteServerIP is the IP address of the server being monitored, and ServerPort is the port upon which the HTTP service is listening.

   

If the connection is successful, output similar to the following is displayed

   

Trying 192.168.10.10...

Connected to 192.168.10.10.

Escape character is '^]'.

   

   

Enter the following request, hitting Enter once after each line:

   

GET / HTTP/1.1

Host: www.yoursite.com

Connection: close

   

or

GET /index.jsp HTTP/1.1

Host:

Connection: close

   

Hit Enter once more to send the request to the server. 

   

  • To send an HTTP 1.1 compliant request, modify the existing Send String to appear similar to one of the following examples, depending on your version:
  • Versions 9.4.0 and later
  • GET / index.jsp HTTP/1.1\r\nHost: host.domain.com\r\nConnection: Close\r\n\r\n
  • or
  • GET /index.jsp HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n
  • Versions 9.2.x and 9.3.x
  • GET / HTTP/1.1\r\nHost: host.domain.com\r\nConnection: Close\r\n
  • or
  • GET / HTTP/1.1\r\nHost: \r\nConnection: Close\r\n
  • Versions 9.0.x and 9.1.x
  • GET / HTTP/1.1\nHost: host.domain.com\nConnection: Close\n
  • or
  • GET / HTTP/1.1\nHost: \nConnection: Close\n
  • Version 4.x
  • GET / HTTP/1.1\nHost: host.domain.com\nConnection: Close\n
  • or
  • GET / HTTP/1.1\nHost: \nConnection: Close\n

       

posted @ 2020-09-30 11:57  豆腐IT  阅读(371)  评论(0编辑  收藏  举报