# Health Monitor and Expect Text

**URL:** <https://community.a10networks.com/t/health-monitor-and-expect-text/652>\
**Category:** ADC - Application Delivery\
**Tags:** health-monitor\
**Created:** [April 20, 2021, 6:50pm UTC](https://community.a10networks.com/t/health-monitor-and-expect-text/652 "2021-04-20T18:50:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomccomb](https://avatars.discourse-cdn.com/v4/letter/t/7ba0ec/32.png) [@tomccomb](https://community.a10networks.com/u/tomccomb)\
**Post date:** [April 20, 2021, 6:50pm UTC](https://community.a10networks.com/t/health-monitor-and-expect-text/652/1 "2021-04-20T18:50:03Z")

</div>

Good afternoon everyone,  
I am attempting to perform a health check on an application server that returns a long nested string. This is more than a 200 or even a Success! on a health monitor page but something more along the lines of the below.

```yaml
{"node_type":["WebUser"],"health":[{"last_reported_time":"2021-04-20T14:27:01.636Z","test_name":"HTML-Stream-Check","status":"success"},{"last_reported_time":"2021-04-20T14:27:01.636Z","test_name":"ServiceRegistry-Check","status":"success"}],"state":"healthy","node_id":"a1712d7d0758e00c21b4355e52722e68"}

```

Is there a way to perform some variables or even something along the way of an aflex to focus on the: ““state”:“healthy””

---

<div class="post-metadata">

**Author:** ![dquinn](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@dquinn](https://community.a10networks.com/u/dquinn)\
**Post date:** [April 20, 2021, 9:26pm UTC](https://community.a10networks.com/t/health-monitor-and-expect-text/652/2 "2021-04-20T21:26:44Z")

</div>

try the following health check  
health monitor healthy&nbsp;  
&nbsp;method http port 80 expect “"state":"healthy"” url GET /healthy.html

---

<div class="post-metadata">

**Author:** ![tomccomb](https://avatars.discourse-cdn.com/v4/letter/t/7ba0ec/32.png) [@tomccomb](https://community.a10networks.com/u/tomccomb)\
**Post date:** [April 20, 2021, 9:28pm UTC](https://community.a10networks.com/t/health-monitor-and-expect-text/652/3 "2021-04-20T21:28:29Z")

</div>

Thank you I’ll apply this into our UAT environment tomorrow and give it a go!
