3 Copyright (C) 2007 Stanislav Sinyagin
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 $Id: cdef-collector-defs.xml,v 1.1 2010-12-27 00:04:06 ivan Exp $
20 Stanislav Sinyagin <ssinyagin@yahoo.com>
24 <!-- These are the default parameters for CDef collector
26 WARNING: This file is overwritten by "make install"
34 <template name="cdef-collector-defaults">
36 <param name="ds-type" value="collector" />
37 <param name="collector-type" value="cdef" />
39 <param name="cdef-collector-delay" value="0"/>
40 <param name="cdef-collector-tolerance" value="2"/>
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" />
48 <param name="storage-type" value="rrd" />
50 <param name="system-id" value="cdef-collector" />
52 <!-- RRD Parameters -->
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.
61 <param name="rrd-create-rra">
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
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"/>
71 <param name="rrd-create-min" value="0"/>
72 <param name="rrd-create-max" value="U"/>
74 <param name="leaf-type" value="rrd-def" />
75 <param name="rrd-cf" value="AVERAGE" />
76 <param name="rrd-create-dstype" value="GAUGE" />
78 <!-- Default schedule for the monitor -->
79 <param name="monitor-period" value="300" />
80 <param name="monitor-timeoffset" value="75" />