Forum Discussion
Luke_55733
Nimbostratus
Oct 22, 2012Node selection via URL parameters
Hello everyone! I'm trying to do the following...
I would like to monitor individual parts of one of our applications by hitting each member within the F5 pool on a regular basis, and always wit...
What_Lies_Bene1
Cirrostratus
Oct 22, 2012If you've not too many nodes this should do the trick (although I'm sure it can be improved);
when HTTP_REQUEST {
if { [HTTP::uri] ! contains "MSN" } {
pool x.x.x.x
LB normally if URI doesn't contain MSN
elseif { [HTTP::uri] ends_with "MSN1" } {
node x.x.x.x port }
elseif { [HTTP::uri] ends_with "MSN2" } {
node x.x.x.x port }...and so on...
else { return }
}
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects