Forum Discussion

Allwyn_Mascaren's avatar
Mar 11, 2019

Codeshare - Pool Member Status HTML5 Page - How to add pool in a dg?

I am trying to do this config to get the status page for pools but the codeshare guide is not clear on what changes to make.

https://community.f5.com/t5/codeshare/pool-member-status-html5-page/ta-p/290470

To being with how to add a pool in the data group, this is an example in the comments, how to get this string?

And it says I must comment the errmsg code if i have only 1 pool, but the errmsg is in brackets with other code, so how exactly do I comment it?

 

append response "\r\n"

                }
            } errmsg ] } {
                append response "$thispool ERROR: Invalid pool name\r\n"
                log local0.info "$response"
            }
        }
         End Tables containing Pools with at least one available pool member.
        append response "\r\n"
        append response "\r\n"
        HTTP::respond 200 content $response "Content-Type" "text/html"

 

Thanks.

 

No RepliesBe the first to reply