Heiko_Engemann_
Sep 22, 2008Nimbostratus
message when all poolmembers are offline, dynamically
Hello,
i have an irule that is displayed when all the poolmembers are offline,
Is there a variable that inserts the poolname when it is assigned to an vserver?
In this example I would like to replace test_www whith an variable for the pool:
if {[active_members test_www] == 0} {
when RULE_INIT {
set sorry ">test
This website is currently offline. Please try again later."
}
when HTTP_REQUEST {
if {[active_members test_www] == 0} {
HTTP::respond 200 content $::sorry
}
}
hope you know what I mean.
greetings