[Orca-users] Re: Dates only for 30 days?
blair at gps.caltech.edu
Thu May 24 22:27:59 PDT 2001
To change the amount of data that is stored in the RRD files, you'll
need to modify the following section of code in lib/Orca/Constants.pm:
# These define the name of the different round robin archives (RRAs)
# to create in each RRD file, how many primary data points go into a
# consolidated data point, and how far back in time they go.
# The first RRA is every 5 minutes for 200 hours, the second is every
# 30 minutes for 31 days, the third is every 2 hours for 100 days, and
# the last is every day for 3 years.
# The first array holds the names of the different RRAs and is also
# used in the list of plots to create. The second array holds the
# number of 300 second intervals are used to create a consolidated
# data point. The third array is the number of consolidated data
# points held in the RRA.
use vars qw(@RRA_PLOT_TYPES @RRA_PDP_COUNTS @RRA_ROW_COUNTS);
push(@EXPORT_OK, qw(@RRA_PLOT_TYPES @RRA_PDP_COUNTS @RRA_ROW_COUNTS));
@RRA_PLOT_TYPES = qw(daily weekly monthly yearly);
@RRA_PDP_COUNTS = ( 1, 6, 24, 288);
@RRA_ROW_COUNTS = ( 2400, 1488, 1200, 1098);
Change the RRA_ROW_COUNTS to decrease the amount of time that the
data is held.
This doesn't change the plots that are created, just how far back
the data is held.
a101i08 at dvg.de wrote:
> Hi, all.
> Have you any ideas how can i collect the Orca dates not for 365 days,
> only for last 30???
More information about the Orca-users