Lower precision archives must cover larger time intervals than higher precision archives
From what I have read the 'retentions' is setup via:
seconds_
I want to store 3 months of 5 minute polls (3*30*24*60)/5 = 25920
but beyond that I need much less precise data, say your typical mrtg settings of:
1 week of 30 minute polls (1800:300)
1 month of 2 hour polls (7200:360)
1 year of 24 hour polls (86400:365)
So the retentions I want would be:
retentions = 300:25920,
Upon doing so I get the following error:
[console] Unhandled Error
Traceback (most recent call last):
File "/usr/lib64/
self.
File "/usr/lib64/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib64/
return self.currentCon
File "/usr/lib64/
return func(*args,**kw)
--- <exception caught here> ---
File "/opt/graphite/
writeCached
File "/opt/graphite/
whisper.
File "/usr/lib/
assert nextRetention > retention,\
exceptions.
Am I doing it wrong, or is this intended? I can make it work with a
retentions = 300:25920,
but that is a whole lot of data (and storage) I don't want.
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask fp for more information if necessary.