Forum Discussion

2 Replies

  • Yes that is possible with a L7 HTTPS health monitor. You assign this to monitor to the pool. Do not forget to assign a correct server ssl profile (needed if the webserver does SNI for the TLS handshake).

    https://my.f5.com/manage/s/article/K2167 article explains how to create it.

    Send string could be: GET /health/index.html HTTP/1.1\r\nHost: something.com\r\nConnection: Close\r\n\r\n
    Receive string: HTTP/1.[01] [23]0[0-6]

    • LanceLyons's avatar
      LanceLyons
      Icon for Cirrus rankCirrus

      Hi,   So  i am experimenting with this approach and have the following.

      type: https

      parent: https



      send string:   GET /api/health/ready HTTP/1.1\r\nHost: ci-member.domain.com\r\n

      receive sting:  HTTP/1.[01] [23]0[0-6]
      receive disable string:  Unhealthy

      It shows both nodes in pool using the healthcheck as defined above as unhealthy.

      when I call the healthcheck for the site  I get this

      https://ci-member.domain.com/api/health/ready

      "Unhealthy"


      a couple of questions.

      1.  for sites with ssl termination on the webserver,  I should use type https and parent https correct?

      2. Can I use the receive string of   "Healthy"  and receive disable string of  "Unhealthy"

      3.  Can I pass in the host information that comes into the VIP down to the pool and into the send string so it was more generic like this

      send string:   GET /api/health/ready HTTP/1.1\r\nHost: [HTTP::host] \r\n

      Otherwise I will need a healthcheck monitor for every app.


      thanks in advance.