Forum Discussion

joesnyder_13328's avatar
joesnyder_13328
Icon for Nimbostratus rankNimbostratus
Aug 02, 2014

Health monitor not working correctly

I have a health monitor setup to check web application that we have load balanced. Right now I am using this as my health monitor:

Interval: 5 seconds
Timeout: 16 seconds
Send String: HEAD / HTTP/1.1\r\nHost: www.mywebsite.com\r\nConnection: close\r\n\r\n
Receive String: HTTP/1.[01] [23]0[0-8]

The problem I am having is that it doesnt seem to be working properly when the application timed out the other day. This doesnt happen very often but since it didnt work, I need to get it fixed in case it ever happens again. The application is a website that is hosted on a IIS 7 webs server. When I pulled up the website it just was stuck on loading the page, we corrected the issue on the app but now need to make sure we have the health monitor working correctly. Any idea on what I am doing wrong?

2 Replies

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    Well I would've thought in this situation the f5 monitor was still receiving a matched receive string e.g. 200, even if the web server had an issue delivering the content.

     

    Could you not configure a GET request monitor instead and set the receive string as some received data from the webpage?

     

    Might be better that way.

     

  • Can you please try this. Hope it will work.

    Interval: 5 seconds
    Timeout: 16 seconds
    GET /index.html HTTP/1.1\r\nHost: www.mywebsite.com\r\nConnection: close\r\n
    Receive String: HTTP/1.[01] [23]0[0-8]