F5 Sites
  • F5.com
  • F5 Labs
  • MyF5
  • NGINX
  • Partner Central
  • Education Services Portal (ESP)
Contact
  • Under Attack?
  • F5 Support
  • DevCentral Support
  • F5 Sales
  • NGINX Sales
  • F5 Professional Services
Skip to contentBrand Logo
Forums
CrowdSRC
Articles
GroupsEventsSuggestionsHow Do I...?
RegisterSign In
  1. DevCentral
  2. Articles
  3. Technical Articles

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.0
automation
BIG-IP
dev
management
monitoring
news
tech tip
virtualization
Joe_Pruitt's avatar
Joe_Pruitt
Joined September 22, 2004
View Profile
Brian_69413's avatar
Brian_69413
Icon for Nimbostratus rankNimbostratus
Mar 18, 2010
I am having trouble with your code in that the STATS profile fields do not seem to hold the values set in them or rather are not consistent. I have added two log statements, one for when /disable is called and I dump the STATS fields, and the second when I run /check. You will see that multiple hits to /check show different STATS field values:

 

 

Mar 18 08:13:17 lbprd501dd_v652 info tmm3[2548]: Rule maintenance_window : Stats Reset to 0 - Day: 0, Start_Time: 0, End_Time: 0

 

Mar 18 08:13:30 lbprd501dd_v652 info tmm1[2546]: Rule maintenance_window : Check Stats - Day: 4, Start_Time: 800, End_Time: 805

 

Mar 18 08:13:32 lbprd501dd_v652 info tmm[2545]: Rule maintenance_window : Check Stats - Day: 4, Start_Time: 800, End_Time: 805

 

Mar 18 08:13:33 lbprd501dd_v652 info tmm3[2548]: Rule maintenance_window : Check Stats - Day: 0, Start_Time: 0, End_Time: 0

 

Mar 18 08:13:35 lbprd501dd_v652 info tmm2[2547]: Rule maintenance_window : Check Stats - Day: 0, Start_Time: 0, End_Time: 0

 

Mar 18 08:13:35 lbprd501dd_v652 info tmm[2545]: Rule maintenance_window : Check Stats - Day: 4, Start_Time: 800, End_Time: 805

 

Mar 18 08:13:36 lbprd501dd_v652 info tmm3[2548]: Rule maintenance_window : Check Stats - Day: 0, Start_Time: 0, End_Time: 0

 

Mar 18 08:13:37 lbprd501dd_v652 info tmm2[2547]: Rule maintenance_window : Check Stats - Day: 0, Start_Time: 0, End_Time: 0

 

Mar 18 08:13:38 lbprd501dd_v652 info tmm1[2546]: Rule maintenance_window : Check Stats - Day: 4, Start_Time: 800, End_Time: 805

 

Mar 18 08:13:40 lbprd501dd_v652 info tmm[2545]: Rule maintenance_window : Check Stats - Day: 4, Start_Time: 800, End_Time: 805

 

 

 

Any ideas on this?

Help guide the future of your DevCentral Community!

What tools do you use to collaborate? (1min - anonymous)

ABOUT DEVCENTRAL

DevCentral NewsTechnical ForumTechnical ArticlesTechnical CrowdSRCCommunity GuidelinesDevCentral EULAGet a Developer Lab LicenseBecome a DevCentral MVP

RESOURCES

Product DocumentationWhite PapersGlossaryCustomer StoriesWebinarsFree Online CoursesTraining & Certification

SUPPORT

Manage SubscriptionsProfessional ServicesCreate a Service RequestSoftware DownloadsSupport Portal

PARTNERS

Find a Reseller PartnerTechnology AlliancesBecome an F5 PartnerLogin to Partner Central

©2026 F5, Inc. All rights reserved.
TrademarksPoliciesPrivacyCalifornia PrivacyDo Not Sell My Personal Information