Forum Discussion
Need help in send and receive string set up for F5 ECV monitor when response is in json format
Hi Team,
I am trying to set up monitoring for F5 load balancer pool. I am using below send and receive string however it does not work. It always shows status as RED even if server is UP.
Send string : GET /actuator/health HTTP/1.1\r\n -H Host:<host>
recv string : \"UP\"
https://<url>/actuator/health is used for health check which returns response in json format as below.
{"status":"UP","groups":["liveness","readiness"]}
Could you please help what should be the correct recv string which we should set up so that monitoring works.
In my case this answer helped me out: https://community.f5.com/t5/technical-forum/https-monitor-receive-string-with-quotation-mark/m-p/265212/highlight/true#M248906
Hi Himadri_Subudhi ,
why do you use \"UP\" .
Test UP string only in the receive string.
Bigip can monitor Json formats , have a look here : https://my.f5.com/manage/s/article/K02961575I believe UP syntax should be enough to match this response.
Can you try to add \r\nConnection: Close\r\n\r\n at the end of your send string and try again?
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