For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

rajesh1's avatar
rajesh1
Icon for Nimbostratus rankNimbostratus
Jun 11, 2009

LTM - HTTP monitor configuration

Hi,

 

 

How to configure Http/Https monitor to look in to the content of a redirect string.

 

 

example - I am doing Http GET /app/id1 - On the webserver /app/idi is redirected to a different location.

 

 

From the F5 - if i use curl -L i am getting a correct response.

 

 

If anybody expereince this and having a solution please provide the HTTP monitor setting.

 

 

Regards,

 

Rajesh

4 Replies

  • Have you looked at the following

     

     

    http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/HTTPMonitor_cURL_BasicGET.html

     

     

    CB
  • Thanks for the reply .

     

     

    Could you please let me know what changes are required in the script to mark the node as down if i recieve the expected response (i.e Reverse option in the monitor)

     

     

    Regards,

     

    Rajesh
  • I believe in the script where it says "UP" you just use "DOWN"

     

     

    Give that a shot

     

     

    Hope this helps,

     

    CB

     

  • It worked by changing the if statement

     

     

    if[$? -ne 0] instead of if[$? -eq 0].

     

     

    Thanks for your response..it helped