Forum Discussion
Chris_Phillips
Sep 20, 2006Nimbostratus
check 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
Sep 20, 2006Nimbostratus
super. 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.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