rjordan
Oct 27, 2009Nimbostratus
Monitoring a HTTP 204 response
We are load balancing a 3rd party close source HTTP app. When we asked for a page that can be used as a health check, we were given a page that returns a 204 response (no content). I tried various methods to monitor this but in every case the member is marked down. Here are some things that I tried:
HTTP monitor - Send string: GET /queryable - Receive string: HTTP/1.x 204 No Content
HTTP monitor - Send string: GET /queryable - Receive string: 204
HTTP monitor - Send string: GET /queryable - Receive string:
I verified externally that requests to this page do in fact return "HTTP/1.x 204 No Content" in the headers. I also ran tcpdump from the load balancer, but I'm not too sure of the output. Here is what I found:
0x0000 00d4 0800 4500 0034 e822 4000 4006 24aa ....E..4."@.@.$.
0x0010 0a0a 0ce7 0a0a 0cfd 1f9a be02 051c 495b ..............I[
0x0020 ca52 e327 8010 05a8 7231 0000 0101 080a .R.'....r1......
0x0030 2f5c a179 97be 8ec9 /\.y....
Is anyone doing something similar? If so, please let me know how to accomplish this.
Thanks.