Forum Discussion

jaddie_85451's avatar
jaddie_85451
Icon for Nimbostratus rankNimbostratus
Aug 13, 2014

External Website Monitor

I would like to create an HTTP monitor to attach to a pool that goes that looks at an external website and marks the pool members down based on the status of the webpage.

 

We have an internal page that redirect to externally 0365 hosted SP page, if for some reason that external page is not available a maintenance page with links is displayed.

 

This is the HTTP monitor syntax I have been using but can't seem to get it work as expected.

 

Send String = GET / HTTP/1.1\r\nHost: acme.sharepoint.com\r\nConnection: close\r\n\

 

Receive String(s) tried =

 

HTTP.1.1\s([2|3]0[0-9])

 

HTTP/1.(0|1) (200|301|302)

 

HTTP/1.(0|1) (2|3)

 

HTTP/1.1 200 OK

 

Thanks in advance for your assitance

 

2 Replies

  • Hi Jaddie,

     

    If you're on 10.2 or higher, make sure to terminate your send string with \r\n\r\n not just one set of carriage return/line feeds.

     

    Here are a couple of related SOLs:

     

    SOL12531 - Troubleshooting health monitors https://support.f5.com/kb/en-us/solutions/public/12000/500/sol12531.html

     

    SOL10655: Change in Behavior: CR/LF characters appended to the HTTP monitor Send string https://support.f5.com/kb/en-us/solutions/public/10000/600/sol10655.html

     

    Aaron

     

  • Thanks Hoolio

     

    I have not yet got this to work as desired, for some reason it does not appear to be recognizing the HTTP Status Code.

     

    I will continue to do captures and troubleshoot.

     

    Thanks again for you assistance.