Free tool · F5 BIG-IP & XC

F5 Health Monitor Builder

Build HTTP/HTTPS monitor send strings and tmsh in seconds.

tmsh
create ltm monitor http mon_app_http {
    defaults-from http
    send "GET /health HTTP/1.1\r\nHost: app.example.com\r\nConnection: Close\r\n\r\n"
    recv "200 OK"
    interval 5
    timeout 16
}
Test it first from the BIG-IP bash prompt
curl -sk -o /dev/null -w "%{http_code}\n" -H "Host: app.example.com" -H "Connection: close" http://<member-ip>:80/health
✓Timeout 16s = 3 × interval + 1, so a member must fail three checks before it is marked down.
iUse "Connection: Close" so the server closes the connection and the monitor is not left waiting.
iThe receive string is a regular expression matched against the start of the response (headers and body). Match on something specific in the body for an application-level check.
Attach it: modify ltm pool <pool> monitor mon_app_http

About this tool

Free F5 BIG-IP health monitor builder. Fill in path, Host header and expected response and get a correctly escaped HTTP or HTTPS monitor send string, receive and receive-disable strings, interval/timeout (3 × interval + 1), the tmsh create command and a curl command to test it from the BIG-IP first. Runs entirely in your browser. Everything runs entirely in your browser — nothing you type is sent to a server.

F5, BIG-IP, BIG-IP DNS and F5 Distributed Cloud are trademarks of F5, Inc. Elematron is an independent tool and is not affiliated with or endorsed by F5.

Related tools