From 8521a75a05bfcb6e4f5f7ba03b4a155f8c953381 Mon Sep 17 00:00:00 2001 From: fd Date: Wed, 4 Nov 2009 17:48:51 +0100 Subject: [PATCH] fix week rras --- extensions/stats/logparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/stats/logparser.py b/extensions/stats/logparser.py index dd53ffcae..70fdcb5c0 100755 --- a/extensions/stats/logparser.py +++ b/extensions/stats/logparser.py @@ -95,7 +95,7 @@ class LogParser(object): # Set up RRD to archive data rras = [] for cf in ['AVERAGE', 'MAX']: - for step in [day_steps, month_steps, month_steps, year_steps]: + for step in [day_steps, week_steps, month_steps, year_steps]: params += ['RRA:%s:0.5:%s:%s' % (cf, step, realrows)] # With those setup, we can now created the RRD