Forum Discussion
nitass
Oct 25, 2011Employee
this is when it is not working. if i add one more char in the response, it starts working.
[root@iris:Active] config b monitor mymon list
monitor mymon {
defaults from http
reverse
recv "up"
send "GET /foo.html HTTP/1.1\r\nHost:\r\n\r\n"
}
[root@iris:Active] config curl -I http://10.10.70.110/foo.html
HTTP/1.1 200 OK
Date: Tue, 25 Oct 2011 06:42:24 GMT
Server: Apache/2.0.59 (rPath)
Last-Modified: Tue, 25 Oct 2011 06:41:35 GMT
ETag: "66a9-57a-d4a385c0"
Accept-Ranges: bytes
Content-Length: 1402
Vary: Accept-Encoding
Set-Cookie: testcookie=helloworld
Content-Type: text/html; charset=UTF-8
[root@iris:Active] config curl -i http://10.10.70.110/foo.html|grep -i up
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1402 100 1402 0 0 292k 0 --:--:-- --:--:-- --:--:-- 250k
up
[root@iris:Active] config b pool foo|grep -i pool\ member
+-> POOL MEMBER foo/10.10.70.110:http inactive,down
[root@iris:Active] config curl -I http://10.10.70.110/foo.html
HTTP/1.1 200 OK
Date: Tue, 25 Oct 2011 06:43:03 GMT
Server: Apache/2.0.59 (rPath)
Last-Modified: Tue, 25 Oct 2011 06:42:57 GMT
ETag: "66ae-57c-d986be40"
Accept-Ranges: bytes
Content-Length: 1404
Vary: Accept-Encoding
Set-Cookie: testcookie=helloworld
Content-Type: text/html; charset=UTF-8
[root@iris:Active] config curl -i http://10.10.70.110/foo.html|grep -i up
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1404 100 1404 0 0 173k 0 --:--:-- --:--:-- --:--:-- 0
[root@iris:Active] config b pool foo|grep -i pool\ member
+-> POOL MEMBER foo/10.10.70.110:http inactive,down