Forum Discussion
Livius
Cirrus
Nov 06, 2017Check number of active pool members when HTTP request incoming to a VS contains a specific string
Hi, I need to create an iRule which checks the number of active pool members if an incoming HTTP request contains "test" string and report either 200 or 400 error message based on pool availabili...
Gonzalex_330537
Cirrostratus
Nov 06, 2017You could potentially make it very generic ... :) but that would make the code complex. For example, you could "query" for the actual names of the pools attached to a VS, put them in a variable and then use the pool command accordingly. Or maybe an array ...
I haven't tried this ... just giving some ideas. Assuming this would be even possibily, it would defenitely make the code more complex that need be. Nothing wrong with copy&paste and just changing the pool name....
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
