Forum Discussion

jdearing_41891's avatar
jdearing_41891
Icon for Nimbostratus rankNimbostratus
Nov 17, 2009

Need help on configuring for https 500 errors

We have a 3 webserver farm that is load balanced by a pair of F5's in HA configuration. Simply trying to get the F5 to detect an https 500 error and disasble the one server receiving the 500 error out of the load balancing group and then send out an email to the admin. We are just looking for the best method of configuring this type of setup. Right now the F5's just check for an icmp response and keeps the servers up even if the server has a problem and is returning a 500 error.

 

 

 

 

1 Reply

  • Theoretically, you could use a reverse HTTPS monitor which sends a GET request to the pool members and marks the pool member down if it receives an HTTP 500 response. However, it would be effective to positively define a successful response (like receiving an HTTP 200 or a 200 with a specific string in the response content). The latter approach means you don't have to worry about no response, an HTTP 503 or any other failure condition.

     

     

    You can configure email alerts based on the monitor using alertd, the alert daemon. Try searching AskF5.com or the Monitoring forum here for 'monitor email alert' for examples. If you get stuck on either issue, let us know.

     

     

    Aaron