Forum Discussion
Daniel_55334
Jun 16, 2011Altostratus
URL monitoring problem
2 different web servers have to be monitored by LTM with version 10.2.0.
1 is 10.10.1.32 with monitoring URL http://10.10.1.32/Web/status.htm. It returns "Running" and I turn on debug with follo...
nitass
Jun 18, 2011Employee
i think i know what is wrong. ok is also in http header i.e. http status code
curl -i http://10.10.70.110/monitor1.html
HTTP/1.1 200 OK
Date: Fri, 17 Jun 2011 19:29:21 GMT
Server: Apache/2.0.59 (rPath)
Last-Modified: Fri, 17 Jun 2011 19:21:47 GMT
ETag: "6696-4-4bf4a8c0"
Accept-Ranges: bytes
Content-Length: 4
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
ABC
curl -i http://10.10.70.110/monitor2.html
HTTP/1.1 200 OK
Date: Fri, 17 Jun 2011 19:29:32 GMT
Server: Apache/2.0.59 (rPath)
Last-Modified: Fri, 17 Jun 2011 19:22:41 GMT
ETag: "6693-7-4f2ca240"
Accept-Ranges: bytes
Content-Length: 7
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
NOTABC
curl -i http://10.10.70.110/monitor3.html
HTTP/1.1 200 OK
Date: Fri, 17 Jun 2011 19:29:47 GMT
Server: Apache/2.0.59 (rPath)
Last-Modified: Fri, 17 Jun 2011 19:22:51 GMT
ETag: "65bb-7-4fc538c0"
Accept-Ranges: bytes
Content-Length: 7
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
ABCABC
[root@tulip:Active] config b monitor myhttp list
monitor myhttp {
defaults from http
interval 2
timeout 7
recv "(.*)^abc\n"
send "GET /monitor1.html HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n"
}
[root@tulip:Active] config b pool pooh list
pool pooh {
monitor all myhttp
members 10.10.70.110:http {}
}
[root@tulip:Active] config b pool pooh
POOL pooh LB METHOD round robin MIN/CUR ACTIVE MEMBERS 0/1
| (cur, max, limit, tot) = (0, 0, 0, 0)
| (pkts,bits) in = (0, 0), out = (0, 0)
+-> POOL MEMBER pooh/10.10.70.110:http active,up
| session enabled priority 0 ratio 1
| (cur, max, limit, tot) = (0, 0, 0, 0)
| (pkts,bits) in = (0, 0), out = (0, 0)
| requests (total) = 0
[root@tulip:Active] config b monitor myhttp list
monitor myhttp {
defaults from http
interval 2
timeout 7
recv "(.*)^abc\n"
send "GET /monitor2.html HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n"
}
[root@tulip:Active] config b pool pooh
POOL pooh LB METHOD round robin MIN/CUR ACTIVE MEMBERS 0/0
| (cur, max, limit, tot) = (0, 0, 0, 0)
| (pkts,bits) in = (0, 0), out = (0, 0)
+-> POOL MEMBER pooh/10.10.70.110:http inactive,down
| session enabled priority 0 ratio 1
| (cur, max, limit, tot) = (0, 0, 0, 0)
| (pkts,bits) in = (0, 0), out = (0, 0)
| requests (total) = 0
[root@tulip:Active] config b monitor myhttp list
monitor myhttp {
defaults from http
interval 2
timeout 7
recv "(.*)^abc\n"
send "GET /monitor3.html HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n"
}
[root@tulip:Active] config b pool pooh
POOL pooh LB METHOD round robin MIN/CUR ACTIVE MEMBERS 0/0
| (cur, max, limit, tot) = (0, 0, 0, 0)
| (pkts,bits) in = (0, 0), out = (0, 0)
+-> POOL MEMBER pooh/10.10.70.110:http inactive,down
| session enabled priority 0 ratio 1
| (cur, max, limit, tot) = (0, 0, 0, 0)
| (pkts,bits) in = (0, 0), out = (0, 0)
| requests (total) = 0
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