Forum Discussion
Jim_Moore
Nimbostratus
Mar 27, 2014Pool Member status page iRule Version 11
I'm trying to get the pool member status page iRule to work using tmsh commands. Everything seems to be working fine but the status for all the members is showing INVALID.
I'm using the Joel Moses...
Jim_Moore
Nimbostratus
Mar 28, 2014Jason thanks for looking at this. I am using the LB::status but I'm thinking there is a parsing difference with the way the b command and the tmsh command is presenting the data.
Below is the iRule snip referencing the LB:status.
Generate the status page with either all content or content from a single pool. if { ([HTTP::uri] eq "/status") || (([HTTP::uri] starts_with "/status?") && ($query) && [info exists manualpool]) } {
set timestamp "[clock format [clock seconds]]"
set response "StatusPool NameMemberPort"
set count 0
foreach { selectedpool } [class get pool_member_status_list] {
set display 1
if { [catch {
scan $selectedpool {%[^/]/%[^:]:%s} poolname addr port
switch -glob [LB::status pool $poolname member $addr $port] {
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