# Backend Server setup for HTTPS monitor

**URL:** <https://community.f5.com/t/backend-server-setup-for-https-monitor/51873>\
**Category:** Technical Forums\
**Tags:** custom-http-monitor, ltm, application-delivery\
**Created:** [August 8, 2017, 1:26pm UTC](https://community.f5.com/t/backend-server-setup-for-https-monitor/51873 "2017-08-08T13:26:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amritkp789](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@amritkp789](https://community.f5.com/u/amritkp789)\
**Post date:** [August 8, 2017, 1:26pm UTC](https://community.f5.com/t/backend-server-setup-for-https-monitor/51873/1 "2017-08-08T13:26:27Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Jad\_Tabbara\_J1](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@Jad\_Tabbara\_J1](https://community.f5.com/u/Jad_Tabbara_J1)\
**Post date:** [August 8, 2017, 1:29pm UTC](https://community.f5.com/t/backend-server-setup-for-https-monitor/51873/2 "2017-08-08T13:29:51Z")

</div>

Hello again 🙂

Could you share the output of the following command :

```tcl
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”

---

<div class="post-metadata">

**Author:** ![Ilian\_Ivanov](https://avatars.discourse-cdn.com/v4/letter/i/edb3f5/32.png) [@Ilian\_Ivanov](https://community.f5.com/u/Ilian_Ivanov)\
**Post date:** [August 8, 2017, 1:46pm UTC](https://community.f5.com/t/backend-server-setup-for-https-monitor/51873/3 "2017-08-08T13:46:45Z")

</div>

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](http://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](https://1.1.1.1/path/monitor.txt) –H “Host: [example.com](http://example.com)”

Regards
