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