Forum Discussion
FizzyBoy_29767
Nimbostratus
Sep 12, 2011Get Image File
Hi All
I have had quite a basic requirement. I want BIGIP to look for an image GIF file to monitor our web instances. I have setup this monitor to do the job which simply sends the GET request.
monitor http_get_logo {
defaults from http
send "GET /i/logo.gif\r\n"
}
This configuration worked happily on v9.x. We have recently upgraded the Infrastructure to v10.2. This weekend, one of our web site instances went down. BIGIP should realize it cannot pull this GIF file anymore and should mark the pool member down, but it did not happened. So, BIGIP keep sending the traffic to an unhealthy instance result it confusion to our web users.
I am trying to answer few questions, please help. Is there any change in behaviour in monitors in V10? I never configured “Receive String” in v9.X, do I must need to configure on v10.2? Do I still need \r\n in v10, is it causing the issue?
Any help will be greatly appreciated. Thanks.
FizzyBoy
V
7 Replies
- nitass
Employee
you have to set recv string. - FizzyBoy_29767
Nimbostratus
Thanks.
It use to work in v9.4.5 without the receieve string. Is it v10's requirement?
Suggest what should be the receive string, 200 OK or something else? Cheers. - nitass
Employee
It use to work in v9.4.5 without the receieve string. Is it v10's requirement?
it is requirement in both v9 and v10. wondering why it worked in v9.
Suggest what should be the receive string, 200 OK or something else?
200 OK is fine.
cheer! - hoolio
Cirrostratus
This is due to:
sol10655: Change in Behavior: CR/LF characters appended to the HTTP monitor Send string
http://support.f5.com/kb/en-us/solutions/public/10000/600/sol10655.html
You can set the send string to:
send "GET /i/logo.gif HTTP/1.0\r\n\r\n"
A receive string isn't required. If you don't set one, any data will be considered a success. At a minimum, it's good to verify the pool member sent a 2xx or 3xx:
recv "HTTP\.1(0|1) (2|3)"
Aaron - FizzyBoy_29767
Nimbostratus
Defined the receive string and it worked like a charm.
Thanks nitass and hoolio for your kind help. Cheers. - FizzyBoy_29767
Nimbostratus
Defined the receive string and it worked like a charm.
Thanks nitass and hoolio for your kind help. Cheers. - FizzyBoy_29767
Nimbostratus
Defined the receive string and it worked like a charm.
Thanks nitass and hoolio for your kind help. Cheers.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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