Forum Discussion
smp_86112
Oct 21, 2011Cirrostratus
Reverse Monitor and Pool Member Recovery
I have constructed a monitor to check a simple page and look for the string "up" in the response. Here's the sanitized definition:
ltm monitor http reverse {
defaults-from http
destination...
nitass
Oct 25, 2011Employee
mine seems working fine.
[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|grep -i up
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1418 100 1418 0 0 328k 0 --:--:-- --:--:-- --:--:-- 0
up
[root@iris:Active] config curl -I http://10.10.70.110/foo.html
HTTP/1.1 200 OK
Date: Tue, 25 Oct 2011 05:19:31 GMT
Server: Apache/2.0.59 (rPath)
Last-Modified: Tue, 25 Oct 2011 05:18:59 GMT
ETag: "66a9-58a-ad3cf6c0"
Accept-Ranges: bytes
Content-Length: 1418
Vary: Accept-Encoding
Set-Cookie: testcookie=helloworld
Content-Type: text/html; charset=UTF-8
[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 05:21:00 GMT
Server: Apache/2.0.59 (rPath)
Last-Modified: Tue, 25 Oct 2011 05:20:45 GMT
ETag: "66ae-58c-b38e6540"
Accept-Ranges: bytes
Content-Length: 1420
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
0 1420 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
[root@iris:Active] config b pool foo|grep -i pool\ member
+-> POOL MEMBER foo/10.10.70.110:http active,up
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects