Forum Discussion

amritkp789's avatar
amritkp789
Icon for Nimbostratus rankNimbostratus
Aug 08, 2017

Backend Server setup for HTTPS monitor

What should I configure in the Backend server to get the HTTP/HTTPS monitor in the LTM mark it UP. The HTTP monitor has got "HTTP/1.1 200 OK" as the RECV string.

 

2 Replies

  • Hello again 🙂

    Could you share the output of the following command :

    curl http://serverIP/urltomonitor -H "Host: hostname.domain.com" -v

    Based on the result, if it contains "200 OK" you can set the receive string to "200 OK"

  • Hi,

     

    Here is what you can do.

     

    Lets say that your server IP is 1.1.1.1 and the https port is 443.

     

    1. Try a ping to ensure that you have L3 connectivity:

    ping 1.1.1.1

     

    2.Check if the port is open:

     

    telnet 1.1.1.1 443

     

    3.Check the send string syntax:

     

    Commonly should look like : GET /path/monitor.txt HTTP/1.1\r\nHost: example.com\r\nConnection: close\r\n\r\n

     

    4.Try a curl using your monitor send string and compare the server response with your recv string.

     

    Example: curl –kv https://1.1.1.1/path/monitor.txt –H “Host: example.com”

     

    Regards