03-17-2015 12:05 AM
Configured a Probe to check the heath of server webpage .But getting a status code of 400.
probe http PROBE_80
interval 10
faildetect 2
passdetect interval 10
passdetect count 2
receive 5
request method get url http://<host>:<port>/eml/HealthCheckServlet
expect status 200 202
open 10
getting below status code .would like to know the correct format for the requesr method of the above url
real : app02p[0]
192.168.10.6 80 VIP 161 161 0 FAILED
Socket state : CLOSED
No. Passed states : 0 No. Failed states : 1
No. Probes skipped : 0 Last status code : 400
No. Out of Sockets : 0 No. Internal error: 0
Last disconnect err : Received invalid status code
Last probe time : Tue Mar 17 02:53:58 2015
Last fail time : Tue Mar 17 02:27:15 2015
Last active time : Never
03-17-2015 09:01 AM
Hi Hari,
Does this URL return status 200 when you send the request directly from your browser?
You should use the exact URL here. If the URL is fine, then check with your server team why server is responding with 400. The syntax looks fine. You can also take a pcap on server and see what is ACE sending for probe.
Regards,
Kanwal
Note: Please mark answers if they are helpful.
03-17-2015 09:37 AM
instead of the entire url can i try something like this
request method get url /eml/HealthCheckServlet
03-17-2015 06:11 PM
Hi Hari,
Yes you can use like that.
Regards,
Kanwal
Note: Please mark answers if they are helpful.
03-18-2015 06:22 AM
Hi Kanwal,
When you configure like this 'request method get url /eml/HealthCheckServlet' where do we mention the destination port?
03-18-2015 07:17 AM
Hi,
You define the port in probe. If you don't define the probe then probe inherits the port from the servers in serverfarm to which it is associated. Otherwise by default it is port 80.
Regards,
Kanwal
Note: Please mark answers if they are helpful.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide