Forum Discussion
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.
- Jad_Tabbara__J1Cirrostratus
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"
- Ilian_IvanovNimbostratus
Hi,
Here is what you can do.
Lets say that your server IP is 1.1.1.1 and the https port is 443.
- 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
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com