Forum Discussion
How to monitor web service with html link ?
Dear all
I had 2 server 172.16.36.21 and 172.16.36.22 with 2 link check service is: http://172.16.36.21:7003/ServerStatusApp/serveronline.html http://172.16.36.22:7003/ServerStatusApp/serveronline.html
How to create HTTP monitor for links above ? Please guide me config detail of Http monitor .
Best reagards
4 Replies
- amolari
Cirrostratus
you create a new HTTP monitor (parent is http monitor) and provide the GET string "/ServerStatusApp/serveronline.html" and the response you expect (200 OK or any expected string). Are your pool members 172.16.36.21:7003 and 172.16.36.22:7003 ? If so, simply apply this new monitor to the pool.
- vhv84_96225
Nimbostratus
Dear Amolari
Thank you for good answer. I had check with String "GET /ServerStatusApp/serveronline.html\r\n\r\n" and it had done. But I want check with 200 OK and Body " Server Online". You can see information below: [root@F5_3900_01:Active:Changes Pending] config telnet 172.16.36.21 7003 Trying 172.16.36.21... Connected to 172.16.36.21. Escape character is '^]'. GET /ServerStatusApp/serveronline.html
HTTP/1.1 200 OK Connection: close Date: Tue, 14 Apr 2015 03:39:38 GMT Content-Length: 284 Content-Type: text/html Last-Modified: Tue, 14 Apr 2015 02:57:42 GMT X-ORACLE-DMS-ECID: c0186227297c5397:-34d9d6a3:14cb5c53e77:-8000-0000000000002511 X-Powered-By: Servlet/2.5 JSP/2.1
http://www.w3.or g/TR/html4/loose.dtd">
Server OnlineConnection closed by foreign host. [root@F5_3900_01:Active:Changes Pending] config How do check HTTP with body information "Server Online"?
Best regards
- Samir_Jha_52506
Noctilucent
Hi, you can achieve this by creating custom page where you can hard code value "Server Online" on page & LB will compare value in receive String section.
- vhv84_96225
Nimbostratus
Dear Amolari and Samir I had successed monitor HTTP services via Link check. Thank you very much for your support.
Best Regards
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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