Forum Discussion
nitass_89166
Noctilucent
can you try this?
^HTTP/1.[10]\s50[1-3]
Kiran_Kumar
Nimbostratus
Feb 04, 2014Hi 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