Forum Discussion

thuang_325182's avatar
thuang_325182
Icon for Nimbostratus rankNimbostratus
Nov 06, 2017

HTTP Monitor for a Specific URL

I would like to configure a HTTP monitor that fetches a gif and marks the pool member as UP if it is successful.

 

the URL is http://:8080/mysite/images/test.gif

 

Here is how I've configured my monitor: Send String: HEAD /mysite/images/test.gif HTTP/1.1\r\n Host:\r\n\r\n Receive String: HTTP/1.(0|1) 200 OK

 

Any help is appreciated.

 

3 Replies

  • Is it working for you? So far not tried HEAD method on F5 monitor.

    But i believe you can try like this.

        HEAD /mysite/images/test.gif HTTP/1.0\r\nConnection: Close\r\n\r\n 
        Receive String: 200
    

    Receive String you can customize as per requirement.

    telnet x.x.x.x 8080 and hit enter after paste

    HEAD /mysite/images/test.gif
    . Pick the receive string as per requirement. i don't thing HTTP 200 OK will display. Please try & let other to know.

    • thuang_325182's avatar
      thuang_325182
      Icon for Nimbostratus rankNimbostratus

      I was able to get it working with the following syntax:

       

      Send String: HEAD /mysite/images/test.gif HTTP/1.1\r\nHost: Close\r\n\r\n

       

      Receive String: HTTP/1.(0|1) 200 OK

       

      Thanks for your help!