Page 1 of 1

question concerning RRD configuration

Posted: Mon Jan 30, 2012 6:56 am
by CBoekhuis
I've been looking around to answer a few questions concerning RRD configuration, but I haven't been able to find a suitable answer.
I hope someone can give me a clear answer.

- I read that the default rrd will contain 1 year of data. Is this true? If not, how long will data be kept in a default rrd file?
- We need to keep 4 years of historical data in the rrd files (company policy), which configuration(s) will I need to change to accomplish this? And can existing rrd files be adjusted so that the current data isn't lost?

Any help is appreciated ;)

Re: question concerning RRD configuration

Posted: Mon Jan 30, 2012 10:38 am
by mguthrie
It already does : )

/usr/local/nagios/etc/pnp/rra.cfg

Code: Select all

# PNP default RRA config
#
# you will get 400kb of data per datasource
#
# 2880 entries with 1 minute step = 48 hours
#
RRA:AVERAGE:0.5:1:2880
#
# 2880 entries with 5 minute step = 10 days
#
RRA:AVERAGE:0.5:5:2880
#
# 4320 entries with 30 minute step = 90 days
#
RRA:AVERAGE:0.5:30:4320
#
# 5840 entries with 360 minute step = 4 years
#
RRA:AVERAGE:0.5:360:5840

Re: question concerning RRD configuration

Posted: Mon Jan 30, 2012 10:49 am
by CBoekhuis
Thanks Mike! I just needed to be sure :)

Greetings, Hans Blom