cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
769
Views
0
Helpful
5
Replies

cisco ACE probe setup

hari gadula
Level 1
Level 1

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

5 Replies 5

Kanwaljeet Singh
Cisco Employee
Cisco Employee

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.

instead of the entire url can i try something like this

 

request method get url /eml/HealthCheckServlet

Hi Hari,

Yes you can use like  that.

Regards,

Kanwal

Note: Please mark answers if they are helpful.

Hi Kanwal,

When you configure like this 'request method get url /eml/HealthCheckServlet' where do we mention the destination port?

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.

Review Cisco Networking for a $25 gift card