iRule Maintenance Windows
A fun, but not well known, feature on BIG-IP is the Statistics Profile. This tech tip is the second in a series on how the Statistics Profile and iRules, when working together, can save time, product...
Published Apr 10, 2007
Version 1.0John_Alam_45640
Oct 07, 2008Historic F5 Account
Is there a way to build some security into this?
-Yes, just check the IP::remote_addr against a list of IP address in a Data Group/Class. Use the Matchclass irule function.
Can this somehow be used to takedown a whole datacenter? That would be great!
-You could apply it to every virtual. You might be able to apply it to a GTM virtual server. It might need modifications though since a GTM virtual is not HTTP/HTML based.
Can I display the time format in HH:MM , rather than HHMM ( i.e. without : )
-Just use the regsub command to remove the ':'.
You have only one statistics profile. If you use this rule on multiple sites does that not cause problems (ie. one site zeros out statistics now the other site that is supposed to be "in maintenance" is no longer)
-Use multiple STATS profiles.
HTH.