Forum Discussion
tomcat health monitor problem
Problem:
health monitor can't work.
1. configuration:
pool test.pool {
monitor all test.http
members 16.186.74.126:http {}
}
monitor test.http {
defaults from http
interval 10
timeout 31
send "GET /mbeanclient-9.30/Action?getattribute=AcceptNewConnection HTTP/1.0"
}
==============
2: telnet test
[admin@selbigip1:Active] ~ telnet 16.186.74.126 80
Trying 16.186.74.126...
Connected to rain-sh.asiapacific.cpqcorp.net (16.186.74.126).
Escape character is '^]'.
GET /mbeanclient-9.30/Action?getattribute=AcceptNewConnection HTTP/1.0
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Length: 30
Date: Fri, 16 Mar 2012 03:15:06 GMT
Connection: close
trueConnection closed by foreign host.
===============
3. tcmdump
3.1 when f5 send monitor script to server, server just get below info ( GET /)
HTTP - Hyper Text
Transfer Protocol
HTTP Command: GET
URI: /
HTTP Version:
3.2 telnet and manual input script is ok.
HTTP - Hyper Text
Transfer Protocol
HTTP Command: GET
URI: /mbeanclient-9.30/Action?getattribute=AcceptNewConnection
HTTP Version: HTTP/1.0
====
I don't know why server can't recognise F5's GET message.
2 Replies
- mininer_62033
Nimbostratus
change configuration to below, then ok.
monitor test.http {
defaults from http
interval 10
timeout 31
recv "suc"
send "GET /mbeanclient-9.30/Action?getattribute=AcceptNewConnection\r\n"
} - nitass
Employee
just in case you have not seen this.
sol2167: Constructing HTTP requests for use with the HTTP or HTTPS application health monitor
http://support.f5.com/kb/en-us/solutions/public/2000/100/sol2167.html
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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