HTTP Keepalive Monitoring - Is ASP Possible?

Answered Question
May 6th, 2009

Guys I am hoping one of you out there have a similar setup to ours, and may have come up with a solution.

We currently test that our web sites are up and running with a configuration similar to this:

service somesite_home_http1

ip address 192.168.1.209

protocol tcp

port 80

string BLAHBLAH

keepalive type http

keepalive uri "http://192.168.1.209/css-ka/css-ka.txt"

keepalive method get

keepalive hash "blahblahblahblah"

redundant-index 200

active

All is fine and good, with one problem.

We have some legacy ASP applications behind our load balancers that have been having some issues. When they crash, the web servers are no longer able to serve ASP pages, but they can serve the text file we are using to test that the site is up.

End result of course is that the site is not functional, but the CSS continues to send traffic to it, since it believes the site is up.

Do any of you know a way that I can change the above configuration to require the CSS to pull an ASP page as the keepalive test, and require a 200 HTTP response code?

I can live without the hash.

Thanks in advance.

I have this problem too.
0 votes
Correct Answer by Gilles Dufour about 7 years 8 months ago

Change the method to head instead of get.

You can then reference a dynamic page.

G.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Gilles Dufour Thu, 05/07/2009 - 07:17

Change the method to head instead of get.

You can then reference a dynamic page.

G.

a.edens Tue, 05/19/2009 - 04:59

Giles,

Thank you so much for the answer. It does in fact work.

Actions

This Discussion