Is this possible/advisable

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Continuity
Posts: 4
Joined: Fri Aug 12, 2011 4:20 am

Is this possible/advisable

Post by Continuity »

Hi all,

Im new to the world of RRD and CACTI, so i have a couple of feasibility questions.

Where i work has 10 or so data centres, and we would be looking to use cacti, to graph our bandwidth.

We have some requirements which im not sure, if its possible to do with catcti/RRD

On our internet facing interfaces, we would want to monitor the following

In/Out @ 5 minute intervals, stored for 3 years with no rollup's.

Then stored for 6 years with 5 minute rollup's.

Is the above possible, or should we be looking at another solution. If this is possible, how usable will the system be. I have done some work with RRD in the past (very fleeting), and seem to remeber someone saying that large RRD files can cause graph's to take an age to build

Thanks in advance.
stefanb89
Cacti User
Posts: 84
Joined: Thu Feb 03, 2011 5:41 am
Location: Germany

Re: Is this possible/advisable

Post by stefanb89 »

what do u mean with rollups?

It is no problem to store the rrd data (the values of the 5 min interval) for 3 years.

U only need to declare it with Cacti under the section off RRA. Or after with bash script do change the size of the rrd files.

There are some other Post her in the forum who handle this theme.

But in my case i do not understand correctly what u want to saywith: rollups.

hope that was helpful
Cacti: 0.8.7g
PIA: 2.8
rrdtool: 1.2.x
Plugins: Realtime, RRDcleaner
Continuity
Posts: 4
Joined: Fri Aug 12, 2011 4:20 am

Re: Is this possible/advisable

Post by Continuity »

Sorry, by rollup i mean, for the three years i dont want any of the data to be averaged, or min/maxed, i just want the data as it is recorded.

Rgds
Conti
Continuity
Posts: 4
Joined: Fri Aug 12, 2011 4:20 am

Re: Is this possible/advisable

Post by Continuity »

Anyone.

Is this possible, if so how would i go about creating the RRD

So im looking for the following

Data collected in 5 min intervals stored for 1 year with no av/min/max applied.
Data collected in 5 min intervals stored for 5 years with av/min/max applied

Is this possible?

and if so, how would the RRD file be setup?

Thanks in advance.
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Is this possible/advisable

Post by noname »

Continuity wrote: Data collected in 5 min intervals stored for 1 year with no av/min/max applied.
Data collected in 5 min intervals stored for 5 years with av/min/max applied
Like this? (But I didn't test at all..)

See also: http://docs.cacti.net/manual:087:8_rrdtool.03_big_rra#no_data_loss

RRA settings for 1 year:
Image
105120 = (1year * 365days * 24hours * 60mins) / 5min

RRA settings for 5 years:
Image
525600 = (5years * 365days * 24hours * 60mins) / 5min

data template which included both RRAs:
Image

Probably "Data Source Debug" looks like this:
Data Source Debug

/usr/local/bin/rrdtool create \
/var/www/cacti/rra/xxxx.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:LAST:0.5:1:105120 \
RRA:AVERAGE:0.5:1:525600 \
RRA:MIN:0.5:1:525600 \
RRA:MAX:0.5:1:525600 \
RRA:LAST:0.5:1:525600
Oops :oops:
Including 1-year and 5-years RRA to one datasource is redundant.. (5-years RRA involves 1-year RRA.)
If you don't have to separate each RRA to 2 data templates, maybe 1-year RRA is not necessary.
Continuity
Posts: 4
Joined: Fri Aug 12, 2011 4:20 am

Re: Is this possible/advisable

Post by Continuity »

Thanks for the informative post, im looking into it now.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests