Forum Discussion
Chris_Phillips
Nimbostratus
Sep 20, 2006check if pool exists
Hi,
any nice way to find if a pool exists? i'm dynamically assigning connections to pools based on the HTTP::host header and want to catch the connection if the pool name doesn't exist. curr...
Chris_Phillips
Nimbostratus
Sep 20, 2006super. i keep forgetting about making use of real tcl. not that i knew about catch in tcl beforehand anyway.
if [ catch { pool "pool_$http_host" } ] {
log local0. "ERROR on assiging pool of pool_$http_host"
HTTP::respond 200 content "error message here"
}thanks muchly so.Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
