# Adding healthchecks to uris with /health or /ready

**URL:** <https://community.f5.com/t/adding-healthchecks-to-uris-with-health-or-ready/74043>\
**Category:** Technical Forums\
**Tags:** application-delivery\
**Created:** [February 22, 2024, 3:46pm UTC](https://community.f5.com/t/adding-healthchecks-to-uris-with-health-or-ready/74043 "2024-02-22T15:46:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LanceLyons](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@LanceLyons](https://community.f5.com/u/LanceLyons)\
**Post date:** [February 22, 2024, 3:46pm UTC](https://community.f5.com/t/adding-healthchecks-to-uris-with-health-or-ready/74043/1 "2024-02-22T15:46:45Z")

</div>

We are looking to put in some healthchecks for our websites other than straight&nbsp; tcp or http or https.

we would like to look at the url &nbsp;[https://something.com/health](https://something.com/health)&nbsp; or [https://something.com/health](https://something.com/health)

Can this be done?&nbsp; &nbsp;Is this done in the pool management of the F5?

is there any documentation on how to set these up?

---

<div class="post-metadata">

**Author:** ![KeesvandenBos](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@KeesvandenBos](https://community.f5.com/u/KeesvandenBos)\
**Post date:** [February 22, 2024, 5:04pm UTC](https://community.f5.com/t/adding-healthchecks-to-uris-with-health-or-ready/74043/2 "2024-02-22T17:04:51Z")

</div>

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).

[myF5](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](http://something.com)\r\nConnection: Close\r\n\r\n  
Receive string: HTTP/1.[01] [23]0[0-6]

---

<div class="post-metadata">

**Author:** ![LanceLyons](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@LanceLyons](https://community.f5.com/u/LanceLyons)\
**Post date:** [February 26, 2024, 9:24pm UTC](https://community.f5.com/t/adding-healthchecks-to-uris-with-health-or-ready/74043/3 "2024-02-26T21:24:15Z")

</div>

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

type: https

parent: https

send string:&nbsp; &nbsp;GET /api/health/ready HTTP/1.1\r\nHost: [ci-member.domain.com](http://ci-member.domain.com)\r\n

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

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

when I call the healthcheck for the site&nbsp; I get this

[https://ci-member.domain.com/api/health/ready](https://ci-member.domain.com/api/health/ready)

“Unhealthy”

a couple of questions.

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

2. Can I use the receive string of&nbsp; &nbsp;“Healthy”&nbsp; and receive disable string of&nbsp; “Unhealthy”

3.&nbsp; 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:&nbsp; &nbsp;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.
