Forum Discussion

Dineshsankar_31's avatar
Dineshsankar_31
Icon for Altostratus rankAltostratus
Jun 25, 2017
Solved

Health monitor config

how to configure HTTP health monitor and Https Health monitor, give an example

 

  • Its very easy to create http & https monitor. HTTP and HTTPS application health monitors to verify the health of the server by checking whether the expected response is returned in response to a specific request.

    Go to Monitor--> Service--> HTTP --> create if you need basic http or https monitor then don't edit send or receive string. just save it.

    For advance http or https monitor, add send or receive string.

    ltm monitor http http_200_ok {
    adaptive disabled
    defaults-from http
    destination *:*
    interval 5
    ip-dscp 0
    recv "200 OK"
    send "GET / HTTP/1.0\r\n\r\n"
    time-until-up 0
    timeout 16
    

    }

    Response output will be curl -gv

    HTTP/1.1 200 OK
    Date: Wed, 25 Jun 2017 00:27:48 GMT
    Server: Apache/2.4.7 (Ubuntu)
    Last-Modified: Tue, 25 Jun 2017 02:47:01 GMT
    ETag: "a6d-51ea69081150d"
    Accept-Ranges: bytes
    Content-Length: 2669
    Vary: Accept-Encoding
    Connection: close
    Content-Type: text/html 
    

    Please refer below link.

    https://support.f5.com/csp/article/K2167

2 Replies

  • Its very easy to create http & https monitor. HTTP and HTTPS application health monitors to verify the health of the server by checking whether the expected response is returned in response to a specific request.

    Go to Monitor--> Service--> HTTP --> create if you need basic http or https monitor then don't edit send or receive string. just save it.

    For advance http or https monitor, add send or receive string.

    ltm monitor http http_200_ok {
    adaptive disabled
    defaults-from http
    destination *:*
    interval 5
    ip-dscp 0
    recv "200 OK"
    send "GET / HTTP/1.0\r\n\r\n"
    time-until-up 0
    timeout 16
    

    }

    Response output will be curl -gv

    HTTP/1.1 200 OK
    Date: Wed, 25 Jun 2017 00:27:48 GMT
    Server: Apache/2.4.7 (Ubuntu)
    Last-Modified: Tue, 25 Jun 2017 02:47:01 GMT
    ETag: "a6d-51ea69081150d"
    Accept-Ranges: bytes
    Content-Length: 2669
    Vary: Accept-Encoding
    Connection: close
    Content-Type: text/html 
    

    Please refer below link.

    https://support.f5.com/csp/article/K2167

  • Its very easy to create http & https monitor. HTTP and HTTPS application health monitors to verify the health of the server by checking whether the expected response is returned in response to a specific request.

    Go to Monitor--> Service--> HTTP --> create if you need basic http or https monitor then don't edit send or receive string. just save it.

    For advance http or https monitor, add send or receive string.

    ltm monitor http http_200_ok {
    adaptive disabled
    defaults-from http
    destination *:*
    interval 5
    ip-dscp 0
    recv "200 OK"
    send "GET / HTTP/1.0\r\n\r\n"
    time-until-up 0
    timeout 16
    

    }

    Response output will be curl -gv

    HTTP/1.1 200 OK
    Date: Wed, 25 Jun 2017 00:27:48 GMT
    Server: Apache/2.4.7 (Ubuntu)
    Last-Modified: Tue, 25 Jun 2017 02:47:01 GMT
    ETag: "a6d-51ea69081150d"
    Accept-Ranges: bytes
    Content-Length: 2669
    Vary: Accept-Encoding
    Connection: close
    Content-Type: text/html 
    

    Please refer below link.

    https://support.f5.com/csp/article/K2167