1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (C) 2003 Shawn Ferry
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
19 Shawn Ferry <sferry at sevenspace dot com > <lalartu at obscure dot org>
21 $Id: collector-periods.xml,v 1.1 2010-12-27 00:04:30 ivan Exp $
22 @(#) 10/18/03 collector-periods.xml 1.8 (10/16/03 23:44:25) sferry
27 Template(s) to override the default periods and RRA definitions.
33 Two mandatory parameters define the collector schedule.
34 The collector runs at moments defined by formula:
35 time + period - (time mod period) + timeoffset
37 Each period requires RRAs to be defined for that period
38 RRAs use the following syntax RRA:CF:xff:steps:rows
39 as the calculation of setps and rows is period dependent
42 <!-- ONE MINUTE PERIOD -->
43 <template name="one-minute-period">
44 <param name="collector-period" value="60"/>
45 <param name="collector-timeoffset" value="10"/>
47 Round-robin arrays to be created, separated by space.
50 1-minute avg details for 1 week,
51 30-minute ave/min/max details for 6 weeks,
52 1-day ave/min/max for 2 years
54 <param name="rrd-create-rra">
57 RRA:AVERAGE:0.17:30:2688 RRA:MIN:0.17:30:2688 RRA:MAX:0.17:30:2688
58 RRA:AVERAGE:0.042:1440:732
59 RRA:MIN:0.042:1440:732 RRA:MAX:0.042:1440:732
61 <param name="rrd-create-heartbeat" value="300"/>
63 <!-- Optional Holt-Winters season length.
64 Default is one-day (1440 1-minute intervals) -->
65 <param name="rrd-create-hw-season" value="1440" />
67 <!-- Mandatory length of the Holt-Winters archives.
68 Same length as main 1-minutes RRA -->
69 <param name="rrd-create-hw-rralen" value="10080" />
74 <!-- FIVE MINUTE PERIOD -->
75 <template name="five-minute-period">
76 <param name="collector-period" value="300"/>
77 <param name="collector-timeoffset" value="20"/>
78 <!-- Round-robin arrays to be created, separated by space.
80 We keep: (step = 300 )
81 5-minute avg for 2 weeks,
82 30-minute ave/min/max details for 6 weeks,
83 1-day ave/min/max for 2 years
85 <param name="rrd-create-rra">
87 RRA:AVERAGE:0.17:6:2016 RRA:MAX:0.17:6:2016 RRA:MIN:0.17:6:2016
88 RRA:AVERAGE:0.042:288:732 RRA:MAX:0.042:288:732 RRA:MIN:0.042:288:732
90 <param name="rrd-create-heartbeat" value="900"/>