Forum Discussion
27 Replies
- PeteWhiteEmployee
This can be a number of things - what type of health monitor have you used? ie tcp/http A tcp monitor will fail if it receives a rst from the endpoint ( or no route to host ) An http monitor will send the request and expect a response ( any response by default )
A good way to troubleshoot this is to do a tcpdump to see what is actually happening. Feel free to post the relevant config so I can understand the issue better.
- Charles_LambNimbostratus
I like curl for this type of testing. I don't know how it is supposed to respond if you don't specify the receive string. Typically I use "200" or "200 OK" for the receive string.
Do "curl -kI x.x.x.x:9080" and see what response you get.
- Anuj_Chaudhary_Nimbostratusi also used 200 Ok send string as well,but no luck but same monitor config is working fine for other URL Do not where we are lacking..
- PeteWhiteEmployeeThe problem you have there is that your request is HTTP 0.9, curl does 1.0. Worth trying though to see what response you get.
- Anuj_Chaudhary_Nimbostratusyes lets c..will let u knw
- Charles_123521Nimbostratus
I like curl for this type of testing. I don't know how it is supposed to respond if you don't specify the receive string. Typically I use "200" or "200 OK" for the receive string.
Do "curl -kI x.x.x.x:9080" and see what response you get.
- Anuj_Chaudhary_Nimbostratusi also used 200 Ok send string as well,but no luck but same monitor config is working fine for other URL Do not where we are lacking..
- PeteWhiteEmployeeThe problem you have there is that your request is HTTP 0.9, curl does 1.0. Worth trying though to see what response you get.
- Anuj_Chaudhary_Nimbostratusyes lets c..will let u knw
- Charles_123521Nimbostratus
Oh. I was not aware of that. How did you determine that this is HTTP 0.9?
- Anuj_Chaudhary_Nimbostratusstill did not determine..checking for the same ..
- Anuj_Chaudhary_Nimbostratusits http 1.1 send string>>GET / HTTP/1.1\r\nHost: myitsupport.interglobe.com\r\nConnection: Close\r\n\r\n receive string >> HTTP/1.1 200 OK
- PeteWhiteEmployeeOK, I would recommend you using the response as just 200 OK. Perform a tcpdump to capture what is happening with the monitor.
- Charles_LambNimbostratus
Oh. I was not aware of that. How did you determine that this is HTTP 0.9?
- Anuj_Chaudhary_Nimbostratusstill did not determine..checking for the same ..
- Anuj_Chaudhary_Nimbostratusits http 1.1 send string>>GET / HTTP/1.1\r\nHost: myitsupport.interglobe.com\r\nConnection: Close\r\n\r\n receive string >> HTTP/1.1 200 OK
- PeteWhiteEmployeeOK, I would recommend you using the response as just 200 OK. Perform a tcpdump to capture what is happening with the monitor.