Forum Discussion
Need iHelp for iRule
Here the example I use:
http://devcentral.f5.com/wiki/irule...epage.ashx
http://devcentral.f5.com/Community/...fault.aspx
When I force the need to be down by creating to monitor bad port which LTM to show to unknown state. LTM suppose to go Maintenance page but is showing blank screen.
I am new to LTM and I have tried to my best I can't figure out where the problem.
I appreciate in advance.
}
class maint_index_html_class {
"filename" { "/var/class/maint.index.html.class" }
}
}
rule Maintenancehtml {
when HTTP_REQUEST {
if {[active_members Pool_192.168.12.110.SN01138] < 1} {
HTTP::respond 200 content [lindex $::maint_index_html_class 0] "Content-Type" "image/png"
HTTP::respond 200 [class element -value 0 maint_index_html_class]
log local0. "Maintenance Page has been issued due to pool members not active"
}
}
}
[username@F5:Active] log more /var/class/maint.index.html.class
"key" :="Maintenance page
Sorry! This site is down for maintenance."
[username@F5:Active] log
Feb 24 07:08:50 local/tmm1 info tmm1[4996]: Rule Maintenancehtml : Maintenance Page has been issued due to pool members not active
- hooleylistCirrostratusHi Sisay,
Recent Discussions
Related Content
* 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