Following is the path to be used in GET field “/monitoring/health.svc” The monitor is expected to turn server offline only when http response code is 501/502/503. Please help me configuring the send and receive string for the monitor in standard format. I am running 10.4 version LTM
Reverse setting
With the Reverse setting set to Yes, the monitor marks the pool, pool member, or node down when the test is successful. For example, if the content on your web site home page is dynamic and changes frequently, you may want to set up a reverse ECV service check that looks for the string "Error". A match for this string means that the web server was down.
Could you please confirm if these are correct. I tried them but pool member is marked down, actually the member is up.
send string : GET /monitoring/health.svc HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n
receive string: ^HTTP\/1.[10]\s50[1-3] with reverse setting.
so if response code has 501 and 502 and 503, the pool member shld be offline. Please let me know if I have made any mistake in the syntax as the above is not working.
Hi Jie and Nitass, So to give you more details: when I do a curl from F5, I see http 200 code. But my monitor gets a http 500 code. Is there anything that i should add to the send string. Please advise? below are the details [admin@LTM1:Active] ~ curl -v http://10.10.53.41/Health/Monitoring.svc * About to connect() to 10.10.53.41 port 80 * Trying 10.10.53.41… connected * Connected to 10.10.53.41 (10.10.53.41) port 80 > GET /Health/Monitoring.svc HTTP/1.1 > User-Agent: curl/7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 > Host: 10.10.53.41 > Accept: */* > < HTTP/1.1 200 OK < Content-Length: 2836 < Content-Type: text/html; charset=UTF-8 < Server: Microsoft-IIS/7.5 < X-Powered-By: ASP.NET < Date: Thu, 06 Feb 2014 17:46:50 GMT Monitor send string which gets response of http 500 send “GET /Health/Monitoring.svc HTTP/1.1\r\nHost: \r\nConnection: close\r\n\r\n” please let me know if i need to make any changes in the above send string to get http 200 coz I get http 200 using curl
Hi Jie and Nitass, So to give you more details: when I do a curl from F5, I see http 200 code. But my monitor gets a http 500 code. Is there anything that i should add to the send string. Please advise? below are the details [admin@LTM1:Active] ~ curl -v http://10.10.53.41/Health/Monitoring.svc * About to connect() to 10.10.53.41 port 80 * Trying 10.10.53.41… connected * Connected to 10.10.53.41 (10.10.53.41) port 80 > GET /Health/Monitoring.svc HTTP/1.1 > User-Agent: curl/7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 > Host: 10.10.53.41 > Accept: */* > < HTTP/1.1 200 OK < Content-Length: 2836 < Content-Type: text/html; charset=UTF-8 < Server: Microsoft-IIS/7.5 < X-Powered-By: ASP.NET < Date: Thu, 06 Feb 2014 17:46:50 GMT Monitor send string which gets response of http 500 send “GET /Health/Monitoring.svc HTTP/1.1\r\nHost: \r\nConnection: close\r\n\r\n” please let me know if i need to make any changes in the above send string to get http 200 coz I get http 200 using curl
Hi Jie and Nitass, So to give you more details: when I do a curl from F5, I see http 200 code. But my monitor gets a http 500 code. Is there anything that i should add to the send string. Please advise? below are the details [admin@LTM1:Active] ~ curl -v http://10.10.53.41/Health/Monitoring.svc * About to connect() to 10.10.53.41 port 80 * Trying 10.10.53.41… connected * Connected to 10.10.53.41 (10.10.53.41) port 80 > GET /Health/Monitoring.svc HTTP/1.1 > User-Agent: curl/7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 > Host: 10.10.53.41 > Accept: */* > < HTTP/1.1 200 OK < Content-Length: 2836 < Content-Type: text/html; charset=UTF-8 < Server: Microsoft-IIS/7.5 < X-Powered-By: ASP.NET < Date: Thu, 06 Feb 2014 17:46:50 GMT Monitor send string which gets response of http 500 send “GET /Health/Monitoring.svc HTTP/1.1\r\nHost: \r\nConnection: close\r\n\r\n” please let me know if i need to make any changes in the above send string to get http 200 coz I get http 200 using curl
Hi Jie and Nitass, So to give you more details: when I do a curl from F5, I see http 200 code. But my monitor gets a http 500 code. Is there anything that i should add to the send string. Please advise? below are the details [admin@LTM1:Active] ~ curl -v http://10.10.53.41/Health/Monitoring.svc * About to connect() to 10.10.53.41 port 80 * Trying 10.10.53.41… connected * Connected to 10.10.53.41 (10.10.53.41) port 80 > GET /Health/Monitoring.svc HTTP/1.1 > User-Agent: curl/7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 > Host: 10.10.53.41 > Accept: */* > < HTTP/1.1 200 OK < Content-Length: 2836 < Content-Type: text/html; charset=UTF-8 < Server: Microsoft-IIS/7.5 < X-Powered-By: ASP.NET < Date: Thu, 06 Feb 2014 17:46:50 GMT Monitor send string which gets response of http 500 send “GET /Health/Monitoring.svc HTTP/1.1\r\nHost: \r\nConnection: close\r\n\r\n” please let me know if i need to make any changes in the above send string to get http 200 coz I get http 200 using curl