This commit was generated by cvs2svn to compensate for changes in r12472,
[freeside.git] / torrus / xmlconfig / cdef-collector-defs.xml
1 <?xml version="1.0"?>
2 <!--
3    Copyright (C) 2007 Stanislav Sinyagin
4
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.
9
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.
14
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.
18
19   $Id: cdef-collector-defs.xml,v 1.1 2010-12-27 00:04:06 ivan Exp $
20   Stanislav Sinyagin <ssinyagin@yahoo.com>
21
22 -->
23
24 <!-- These are the default parameters for CDef collector
25
26   WARNING: This file is overwritten by "make install"
27 -->
28
29 <configuration>
30
31
32 <datasources>
33
34   <template name="cdef-collector-defaults">
35   
36     <param name="ds-type" value="collector" />
37     <param name="collector-type" value="cdef" />
38
39     <param name="cdef-collector-delay" value="0"/>
40     <param name="cdef-collector-tolerance" value="2"/>
41     
42     <!-- Two mandatory parameters define the collector schedule.
43          The collector runs at moments defined by formula:
44            time + period - (time mod period) + timeoffset -->
45     <param name="collector-period" value="300" />
46     <param name="collector-timeoffset" value="10" />
47
48     <param name="storage-type" value="rrd" />
49
50     <param name="system-id" value="cdef-collector" />
51     
52     <!-- RRD Parameters -->
53
54     <!-- Round-robin arrays to be created, separated by space.
55      We keep 5-minute details for 1 month,
56      30-minute average and maximum details for 6 months,
57      and 1-day aggregated stats for 2 years.
58      In 30-minute average one missing sample is allowed.
59      In daily average one hour of missing samples are allowed.
60       -->
61     <param name="rrd-create-rra">
62       RRA:AVERAGE:0:1:10080
63       RRA:AVERAGE:0.17:6:9120      RRA:MAX:0.17:6:9120
64       RRA:AVERAGE:0.042:288:732    RRA:MAX:0.042:288:732
65     </param>
66
67     <!-- if no updates are received for 8 minutes, consider the datasource
68          unknown, i.e. dead -->
69     <param name="rrd-create-heartbeat" value="500"/>
70
71     <param name="rrd-create-min" value="0"/>
72     <param name="rrd-create-max" value="U"/>
73
74     <param name="leaf-type" value="rrd-def" />
75     <param name="rrd-cf"    value="AVERAGE" />
76     <param name="rrd-create-dstype" value="GAUGE" />
77     
78     <!-- Default schedule for the monitor -->
79     <param name="monitor-period"     value="300" />
80     <param name="monitor-timeoffset" value="75" />
81     
82   </template>
83
84 </datasources>
85
86 </configuration>