Forum Discussion

Venkat_Raj_2350's avatar
Venkat_Raj_2350
Icon for Nimbostratus rankNimbostratus
Apr 10, 2016
Solved

HTTP monitor recv String failure

Hi,

 

While trying to setup a HTTP monitor for 2 members listening on port 80, the GET string is set as "GET /testpage.aspx HTTP/1.0\r\nHost:abc.test.com/testpage.aspx\r\nConnection:close\r\n\r\n"

 

If i leave the recv string blank the pool is showing UP. But if i add 200 OK then the pool goes Down. Not sure why!

 

The requirement is to setup recv-disable as 503. If monitor sees 503 then the member will be disabled. Not sure what am i missing. Please help

 

  • 1- I guess the request should be as below, the previous request should give 400 (bad request) GET /testpage.aspx HTTP/1.1\r\nHost: abc.test.com\r\nConnection:Close\r\n

     

    2- also you can use "CURL" to check the returned code, as below:

     

    curl -v http://abc.test.com/testpage.aspx -X HEAD

     

3 Replies