Forum Discussion

Thales_92506's avatar
Thales_92506
Icon for Nimbostratus rankNimbostratus
Sep 28, 2011

Monitor Receive String question

I have a regular http monitor that sends a GET request to the server, and returns the following response:

 

HTTP/1.1 200 OK

 

Cache-Control: private

 

Content-Type: text/html; charset=UTF-8

 

Content-Encoding: gzip

 

Content-Length: 11695

 

Connection: Keep-Alive

 

Keep-Alive: timeout=5, max=999

 

Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server OracleAS-Web-Cache-10g/10.1.2.0.2 (N;ecid=360991800642,0)

 

Date: Wed, 28 Sep 2011 14:42:55 GMT

 

Content-Location: /servlet/page

 

 

 

 

 

Can i put any of those strings in the Receive String field?

 

 

 

I tried to put "gzip", "oracle-application-server", "servlet" and the monitor marks the pool down.

 

The ones that worked were: "oracle" and "server"

 

 

 

All of them without quotes.

 

 

 

Any ideias?

 

 

 

Thanks.

 

  • Hi Thales,

     

     

    Your monitor send string probably isn't setting an accept-encoding header so the server won't respond with gzip compressed content. So the monitor marks the server down. The servlet string is probably only found when the server is redirecting the client using the Content-Location header.

     

     

    Is there a reason you don't want to look for an HTTP 200 response to mark the the pool members up? You could use this to support HTTP 1.0 or 1.1 responses with a 2xx status:

     

     

    HTTP/1\.(0|1) 2

     

     

    Aaron
  • Aaron, i tried to put 200 OK, but the monitor marked an ok pool member down.

     

     

    the rest of the response from the server is like this:

     

    .............r.H..U..^.&..1 c...S2`[^n.Jf.SST..P"$...{..1[.0U.....s.%...q......@K.t......7f.E,;....W.C...........7M..?.a.....p...f`.....lj{8./..:3.X......}..W........3.7[..?8,.1.........yn..

     

    ..7.4e......bC5...f./..(8/.'.;a....}Soe...a.8..i6`...!...?D....gZ.{i4.W.0\..1p....T|....D==+..........k.$.Y.\:]....

     

     

    What would you suggest for the receive string?

     

     

    Thanks!

     

  • OM's avatar
    OM
    Icon for Nimbostratus rankNimbostratus
    Hello,

     

    sorry for posting this here, cause I'm unable to create a new post...

     

     

    I have 2 Big-IP 3600 (LTM/ASM) modules configured in Active/Standby mode. The standby device is sending Keepalive monitoring health-check to my pools, is this a normal behavior? Is there any way to force only active device monitoring the pools?

     

    I have the 10.2 software installed.

     

     

     

    thank you.
  • is this a normal behavior?it is normal. unit still does health check even it is on standby.

     

     

    for keep-alive, i understand if we use connection: close in health monitor send string, connection won't be keep-alive.

     

     

    sol3224: HTTP health checks may fail even though the node is responding correctly

     

    http://support.f5.com/kb/en-us/solutions/public/3000/200/sol3224.html