Forum Discussion
Custom HTTPS Monitor
I have a VIP that is hosting two separate URL using HTTPS. The VIP for both URL is using the same backend servers. What i need is a monitor that sends a string to both URL to GET a file. If the file is missing or the receive string is different that what the F5 is expecti then the F5 will mark that backend down just for that URL.
virtual server - hosted URL his.example.com & her.example.com
monitoring send string: GET /f5.html HTTP/1.1\r\nHost: his.example.com\r\nConnection: Close\r\n\r\n
GET /f5.html HTTP/1.1\r\nHost: her.example.com\r\nConnection: Close\r\n\r\n
receive string "up"
The F5 sends a GET to each host and depending on the receive string will mark the backend down just for that URL.
Hi,
why not just configuring two pools (pool_his, pool_her) with a pool specific monitor?
Now have an iRule which differentiates between the hostnames:
when HTTP_REQUEST { switch [string tolower [getfield [HTTP::host] : 1]] { his.example.com { pool pool_his } her.example.com { pool pool_her } } }
Hi,
why not just configuring two pools (pool_his, pool_her) with a pool specific monitor?
Now have an iRule which differentiates between the hostnames:
when HTTP_REQUEST { switch [string tolower [getfield [HTTP::host] : 1]] { his.example.com { pool pool_his } her.example.com { pool pool_her } } }
- sgnormoCirrus
did not think of that, let me test that out.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com