Configure HTTP Monitor in F5

Before we begin configuring the HTTP Monitor, use POSTMAN (or your favorite HTTP sniffer tool) to understand REQUEST (Send String) and RESPONSE (Receive String) pair of the health check page.

SEND STRING

In this example, when client browser browse the health check web page /…/healthcheck.html, the client sends following request to server

GET /dashboard/healthcheck.html HTTP/1.1

Host: 172.20.100.158

You slightly modify the request according to language understand by F5 appliance by adding /r/n (/r is line feed and /n is carriage return), so SEND STRING would be

GET/dashboard/healthcheck.html HTTP/1.1\r\nHost:172.20.100.158\r\nConnection: Close\r\n\r\n

 

RECEIVE STRING

If RECEIVE STRING is matched, F5 marks the node as UP. In this example, the response for the above request made is OK. so RECEIVE STRING would be either simply as

OK

or you can add return code in the receive string

HTTP/1.1 200 OK

 

RECEIVE DISABLE STRING

If RECEIVE DISABLE STRING is matched, F5 marks the node as DISABLE. During DISABLE state, F5 denies new connections and allows existing connection until they are completed or timed out.

MAINTENANCE

So when we combine all together, the configuration would like as

All in One WordPress Hosting
HostGator $2.75 per month
HostGator
24/7/365 Technical Support, Free Site Building Tools, 4500 Website Templates, Free Shopping Cart Software, Ideal for WordPress, 45 Day Money Back Guarantee
Starts at 30$ per month
All in One WordPress Hosting
WordPress
High optimized WordPress hosting, secure firewall, HTTPS, Backup, hack-fix guarantee and many others at 30$ per month