Forum Discussion
Shamsul_Alam_34
Nimbostratus
Oct 02, 2018irule to get the F5 server time and display it on maintence page
Hi,
I have following iRules which display maintenance page. I would like to get F5 LTM time stamp and display on the maintenance page. Can anyone help me on this? Thanks
when HTTP_REQUEST {
if {...
ka1021
Altostratus
Oct 02, 2018Try this:
when HTTP_REQUEST { if { [active_members [LB::server pool]] == 0 } { set http_reply "You have reached [HTTP::host],
This site is currently under maintenance [clock format [clock seconds] -format "%a, %d %h %Y %T GMT" -gmt 1]
Please contact Help Desk at if you continue to experience issues after this maintenance window. window." HTTP::respond 200 content $http_reply
} }
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
