buried more whitesapce
[torrus-plus.git] / plugins / overview / ovDefaults.xml
blob2b6dfe7f32b78def4c6d49050bde202a5f2526fb
1 <?xml version="1.0"?>
2 <!--
3         Copyright (C) 2002  Stanislav Sinyagin
4         Copyright (C) 2003 Christian Schnidrig
6         This program is free software; you can redistribute it and/or modify
7         it under the terms of the GNU General Public License as published by
8         the Free Software Foundation; either version 2 of the License, or
9         (at your option) any later version.
11         This program is distributed in the hope that it will be useful,
12         but WITHOUT ANY WARRANTY; without even the implied warranty of
13         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14         GNU General Public License for more details.
16         You should have received a copy of the GNU General Public License
17         along with this program; if not, write to the Free Software
18         Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20         $Id$
21         Christian Schnidrig <christian.schnidrig@bluewin.ch>
23 -->
25 <!--
26         WARNING: This file is overwritten by "make install"
27 -->
29 <configuration>
31 <datasources>
33         <!-- Default views must be defined -->
34         <param name="default-subtree-view"                      value="ov-dir-html" />
35         <param name="default-leaf-view"                         value="tab-rrd-html" />
37         <param name="tab-views">
38         overview,hour,day,week,month,year,2years
39         </param>
41 </datasources>
43 <token-sets>
44         <param name="default-tset-view"                         value="ov-tset-html" />
45         <param name="default-tsetlist-view"                     value="ov-tset-list-html" />
46 </token-sets>
48 <views>
50         <!-- Defaults being used by other graphs -->
51         <view name="default-rrgraph">
52                 <param name="ignore-limits"                             value="no" />
53                 <param name="view-type"                                 value="rrgraph" />
54                 <param name="start"                                             value="-36h" />
55                 <param name="height"                                    value="305" />
56                 <param name="width"                                         value="458" />
57                 <!--param name="width"                                  value="576" /-->
58                 <param name="height-hint"                               value="0" />
59                 <param name="width-hint"                                value="0" />
61                 <view name="hour">
62             <!-- 1 sample per 6 pixel -->
63                         <param name="start"                                     value="-8h" />
64                         <view name="hourAuto">
65                                 <param name="ignore-limits"             value="yes" />
66                         </view>
67                 </view>
68                 <view name="day">
69             <!-- 1 sample per 2 pixel -->
70                         <param name="start"                                     value="-24h" />
71                         <view name="dayAuto">
72                                 <param name="ignore-limits"             value="yes" />
73                         </view>
74                 </view>
75                 <view name="week">
76             <!-- 7 samples per 2 pixel -->
77                         <param name="start"                                     value="-168h" />
78                         <view name="weekAuto">
79                                 <param name="ignore-limits"             value="yes" />
80                         </view>
81                 </view>
82                 <view name="month">
83             <!-- 30 samples per 2 pixel -->
84                         <param name="start"                                     value="-720h" />
85                         <param name="rrd-hwpredict"                     value="disabled" />
86                         <view name="monthAuto">
87                                 <param name="ignore-limits"             value="yes" />
88                         </view>
89                 </view>
90                 <view name="year">
91             <!-- 2 days per 3 pixel -->
92                         <param name="start"                                     value="-8784h" />
93             <!--param name="width"                                      value="549" /-->
94                         <param name="rrd-hwpredict"                     value="disabled" />
95                         <view name="yearAuto">
96                                 <param name="ignore-limits"             value="yes" />
97                         </view>
98                 </view>
100         <view name="2years">
101             <!-- 4 days per 3 pixel -->
102             <param name="start"                 value="-17568h" />
103             <!--param name="width"                                      value="549" /-->
104                         <param name="rrd-hwpredict"         value="disabled" />
105                         <view name="yearAuto">
106                 <param name="ignore-limits"             value="yes" />
107                         </view>
108             </view>
110                 <view name="expand-views"> <!--used in expand leaves...-->
111                         <!--param name="width"                                  value="576" /-->
112                         <param name="width"                                     value="458" />
113                         <param name="height"                            value="100" />
114                         <param name="ignore-limits"                     value="no" />
115                         <view name="expHour">
116                                 <param name="start"                             value="-8h" />
117                                 <view name="expHourAuto">
118                                         <param name="ignore-limits"     value="yes" />
119                                 </view>
120                         </view>
121                         <view name="expDay">
122                                 <param name="start"                             value="-24h" />
123                                 <view name="expDayAuto">
124                                         <param name="ignore-limits"     value="yes" />
125                                 </view>
126                         </view>
127                         <view name="expWeek">
128                                 <param name="start"                             value="-168h" />
129                                 <view name="expWeekAuto">
130                                         <param name="ignore-limits"     value="yes" />
131                                 </view>
132                         </view>
133                         <view name="expMonth">
134                                 <param name="start"                             value="-720h" />
135                                 <param name="rrd-hwpredict"             value="disabled" />
136                                 <view name="expMonthAuto">
137                                         <param name="ignore-limits"     value="yes" />
138                                 </view>
139                         </view>
140                         <view name="expYear">
141                                 <param name="start"                             value="-8784h" />
142                 <!--param name="width"                          value="549" /-->
143                                 <param name="rrd-hwpredict"             value="disabled" />
144                                 <view name="expYearAuto">
145                                         <param name="ignore-limits"     value="yes" />
146                                 </view>
147                         </view>
148                 </view>
149                 <view name="token-set-views"> <!--used in tokensets-->
150                         # GPRINT stuff
151                         <param name="gprint-values"         value="max,last"/>
152                         <param name="gprint-header"         value=""/>
153                         <param name="gprint-format-last"    value="LAST:LAST\: %8.2lf%s"/>
154                         <param name="gprint-format-max"     value="MAX:MAX\: %8.2lf%s"/>
156                         <!--param name="width"                                  value="288" /-->
157                         <param name="width"                                     value="190" />
158                         <param name="height"                            value="30" />
159                         <param name="width-hint"                        value="400" />
160                         <param name="ignore-limits"                     value="no" />
161                         <view name="tsHour">
162                                 <param name="start"                             value="-8h" />
163                                 <view name="tsHourAuto">
164                                         <param name="ignore-limits"     value="yes" />
165                                 </view>
166                         </view>
167                         <view name="tsDay">
168                                 <param name="start"                             value="-24" />
169                                 <view name="tsDayAuto">
170                                         <param name="ignore-limits"     value="yes" />
171                                 </view>
172                         </view>
173                         <view name="tsWeek">
174                                 <param name="start"                             value="-168h" />
175                                 <view name="tsWeekAuto">
176                                         <param name="ignore-limits"     value="yes" />
177                                 </view>
178                         </view>
179                         <view name="tsMonth">
180                         <param name="start"                                     value="-720h" />
181                                 <param name="rrd-hwpredict"             value="disabled" />
182                                 <view name="tsMonthAuto">
183                                         <param name="ignore-limits"     value="yes" />
184                                 </view>
185                         </view>
186                         <view name="tsYear">
187                                 <param name="start"                             value="-8784h" />
188                             <!--param name="width"                              value="244" /-->
189                                 <param name="rrd-hwpredict"             value="disabled" />
190                                 <view name="tsYearAuto">
191                                         <param name="ignore-limits"     value="yes" />
192                                 </view>
193                         </view>
194                 </view>
195                 <view name="ov-views"> <!--used in overviews-->
196                         # GPRINT stuff
197                         <param name="gprint-values"         value="max,last"/>
198                         <param name="gprint-header"         value=""/>
199                         <param name="gprint-format-last"    value="LAST:LAST\: %8.2lf%s"/>
200                         <param name="gprint-format-max"     value="MAX:MAX\: %8.2lf%s"/>
202                         <!--param name="width"                                  value="288" /-->
203                         <param name="width"                                     value="190" />
204                         <param name="height"                            value="70" />
205                         <param name="ignore-limits"                     value="no" />
206                         <param name="rrd-hwpredict"                     value="disabled" />
207                         <view name="ovHour">
208                                 <param name="start"                             value="-8h" />
209                                 <view name="ovHourAuto">
210                                         <param name="ignore-limits"     value="yes" />
211                                 </view>
212                         </view>
213                         <view name="ovDay">
214                                 <param name="start"                             value="-24h" />
215                                 <view name="ovDayAuto">
216                                         <param name="ignore-limits"     value="yes" />
217                                 </view>
218                         </view>
219                         <view name="ovWeek">
220                                 <param name="start"                             value="-168h" />
221                                 <view name="ovWeekAuto">
222                                         <param name="ignore-limits"     value="yes" />
223                                 </view>
224                         </view>
225                         <view name="ovMonth">
226                                 <param name="start"                             value="-720h" />
227                                 <view name="ovMonthAuto">
228                                         <param name="ignore-limits"     value="yes" />
229                                 </view>
230                         </view>
231                         <view name="ovYear">
232                                 <param name="start"                             value="-8784h" />
233                             <!--param name="width"                              value="244" /-->
234                                 <view name="ovYearAuto">
235                                         <param name="ignore-limits"     value="yes" />
236                                 </view>
237                         </view>
238                 </view>
239         </view>
241         <!-- This is the HTML page with RRD graphs on it.
242                 Use the specified HTML file as a template with special tags in it -->
243         <view name="tab-rrd-html">
244                 <param name="view-type"         value="html" />
245                 <param name="expires"           value="300" />
246                 <param name="html-template"     value="ov/tab-rrd.html" />
247         </view>
249         <view name="item"> <!-- restricted view without navigational features -->
250                 <param name="view-type"         value="html" />
251                 <param name="expires"           value="300" />
252                 <param name="html-template"     value="ov/item-rrd.html" />
253         </view>
255         <!-- This is the HTML page for tree browsing -->
256         <view name="ov-dir-html">
257                 <param name="view-type"         value="html" />
258                 <param name="expires"           value="3600" />
259                 <param name="html-template"     value="ov/default-dir.html" />
260         </view>
262         <!-- This shows the leaves of the subtree -->
263         <view name="expanded-dir-html">
264                 <param name="view-type"         value="html" />
265                 <param name="expires"           value="300" />
266                 <param name="html-template"     value="ov/expanded-dir.html" />
267         </view>
269         <!-- This shows all leaves of the subtree and it's subtrees -->
270         <view name="sub-nodes-dir-html">
271                 <param name="view-type"         value="html" />
272                 <param name="expires"           value="300" />
273                 <param name="html-template"     value="ov/sub-nodes-dir.html" />
274         </view>
276         <!-- This shows overview subleaves (previousely InOutBps) -->
277         <view name="overview-subleaves-html">
278                 <param name="view-type"         value="html" />
279                 <param name="expires"           value="300" />
280                 <param name="html-template"     value="ov/overview-subleaves.html" />
281         </view>
283         <view name="rrd-print-daily">
284                 <param name="view-type"         value="rrprint" />
285                 <param name="expires"           value="300" />
286                 <param name="start"                     value="-24h" />
287         </view>
289         <view name="rrd-print-last">
290                 <param name="view-type"         value="rrprint" />
291                 <param name="expires"           value="300" />
292                 <param name="start"                     value="-1h" />
293         </view>
295         <!-- This is the HTML page for tokenset browsing -->
296         <view name="ov-tset-html">
297                 <param name="view-type"         value="html" />
298                 <param name="expires"           value="300" />
299                 <param name="html-template"     value="ov/default-tset.html" />
300         </view>
302         <view name="ov-tset-list-html">
303                 <param name="view-type"         value="html" />
304                 <param name="expires"           value="300" />
305                 <param name="html-template"     value="ov/tset-list.html" />
306         </view>
308         <view name="recursive-dir-html">
309                 <param name="html-template"     value="ov/default-recursivedir.html" />
310         </view>
312 </views>
314 </configuration>