3 Copyright (C) 2002-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.
20 Stanislav Sinyagin <ssinyagin@yahoo.com>
25 These are the default settings for the datasources and tokensets,
26 and default view definitions.
28 WARNING: This file is overwritten by "make install"
30 It is recommended to place all site customizations in site-global.xml,
31 as it would not be overwritten by the installer.
37 <!-- Parameters where space is removed from values -->
38 <prop param="action" prop="remspace" value="1"/>
39 <prop param="display-rpn-expr" prop="remspace" value="1"/>
40 <prop param="ds-names" prop="remspace" value="1"/>
41 <prop param="hrules" prop="remspace" value="1"/>
42 <prop param="launch-when" prop="remspace" value="1"/>
43 <prop param="monitor" prop="remspace" value="1"/>
44 <prop param="nodeid" prop="remspace" value="1"/>
45 <prop param="print-cf" prop="remspace" value="1"/>
46 <prop param="rpn-expr" prop="remspace" value="1"/>
47 <prop param="rrgraph-views" prop="remspace" value="1"/>
48 <prop param="setenv-dataexpr" prop="remspace" value="1"/>
49 <prop param="setenv-params" prop="remspace" value="1"/>
50 <prop param="storage-type" prop="remspace" value="1"/>
51 <prop param="tokenset-member" prop="remspace" value="1"/>
52 <prop param="value-map" prop="remspace" value="1"/>
54 <!-- Parameters which need to be expanded accorrding
55 to $defs and %paramrefs% -->
57 <prop param="collector-scale" prop="expand" value="1"/>
58 <prop param="collector-timeoffset-hashstring"
59 prop="expand" value="1"/>
60 <prop param="collector-instance-hashstring"
61 prop="expand" value="1"/>
62 <prop param="comment" prop="expand" value="1"/>
63 <prop param="data-dir" prop="expand" value="1"/>
64 <prop param="data-file" prop="expand" value="1"/>
65 <prop param="descriptive-nickname" prop="expand" value="1"/>
66 <prop param="graph-legend" prop="expand" value="1"/>
67 <prop param="graph-title" prop="expand" value="1"/>
68 <prop param="lower-limit" prop="expand" value="1"/>
69 <prop param="monitor-vars" prop="expand" value="1"/>
70 <prop param="nodeid" prop="expand" value="1"/>
71 <prop param="normal-level" prop="expand" value="1"/>
72 <prop param="rpn-expr" prop="expand" value="1"/>
73 <prop param="rrd-create-rra" prop="expand" value="1"/>
74 <prop param="rrd-create-max" prop="expand" value="1"/>
75 <prop param="rrd-create-min" prop="expand" value="1"/>
76 <prop param="rrd-ds" prop="expand" value="1"/>
77 <prop param="transform-value" prop="expand" value="1"/>
78 <prop param="upper-limit" prop="expand" value="1"/>
80 <!-- Parameters which are included in search DB -->
81 <prop param="comment" prop="search" value="1"/>
82 <prop param="legend" prop="search" value="1"/>
89 <!-- Default views must be defined -->
90 <param name="default-subtree-view" value="default-dir-html" />
91 <param name="default-leaf-view" value="default-rrd-html" />
92 <param name="rrgraph-views">
93 short,last24h,lastweek,lastmonth,lastyear
96 <!-- Minimum set of parameters if we use
97 collector-dispersed-timeoffset=yes -->
98 <param name="collector-timeoffset-hashstring" value="%system-id%" />
99 <param name="collector-timeoffset-min" value="0" />
100 <param name="collector-timeoffset-max" value="300" />
101 <param name="collector-timeoffset-step" value="60" />
103 <param name="collector-instance-hashstring" value="%system-id%" />
109 <param name="default-tset-view" value="default-tset-html" />
110 <param name="default-tsetlist-view" value="tset-list-html" />
116 <!-- Defaults being used by other graphs -->
117 <view name="default-rrgraph">
118 <param name="view-type" value="rrgraph" />
119 <param name="expires" value="300" />
120 <param name="start" value="-24h" />
121 <param name="end" value="now" />
122 <param name="width" value="500" />
123 <param name="height" value="250" />
124 <param name="imgformat" value="PNG" />
125 <param name="line-style" value="##SingleGraph" />
126 <param name="line-color" value="##SingleGraph" />
127 <param name="maxline-style" value="##SingleGraphMax" />
128 <param name="maxline-color" value="##SingleGraphMax" />
129 <param name="hw-bndr-style" value="##HWBoundary" />
130 <param name="hw-bndr-color" value="##HWBoundary" />
131 <param name="hw-fail-color" value="##HWFailure" />
133 <param name="hrules" value="min,norm,max"/>
134 <param name="hrule-color-min" value="##HruleMin"/>
135 <param name="hrule-value-min" value="lower-limit"/>
136 <param name="hrule-color-norm" value="##HruleNormal"/>
137 <param name="hrule-value-norm" value="normal-level"/>
138 <param name="hrule-color-max" value="##HruleMax"/>
139 <param name="hrule-value-max" value="upper-limit"/>
141 <param name="decorations" value="busday,evening,night"/>
143 # Business day: 8:00 to 17:00
144 <param name="dec-order-busday" value="-10"/>
145 <param name="dec-expr-busday">
146 LTIME,86400,%,DUP,28800,GE,EXC,61200,LE,*,INF,UNKN,IF
148 <param name="dec-style-busday" value="##BusinessDay"/>
149 <param name="dec-color-busday" value="##BusinessDay"/>
151 # Evening: 17:00 to 22:00
152 <param name="dec-order-evening" value="-20"/>
153 <param name="dec-expr-evening">
154 LTIME,86400,%,DUP,61200,GE,EXC,79200,LE,*,INF,UNKN,IF
156 <param name="dec-style-evening" value="##Evening"/>
157 <param name="dec-color-evening" value="##Evening"/>
159 # Night: 22:00 to 6:00
160 <param name="dec-order-night" value="-30"/>
161 <param name="dec-expr-night">
162 LTIME,86400,%,DUP,79200,GE,EXC,21600,LE,+,INF,UNKN,IF
164 <param name="dec-style-night" value="##Night"/>
165 <param name="dec-color-night" value="##Night"/>
168 <param name="gprint-values" value="current,average,max,min"/>
169 <param name="gprint-header"
170 value="Current Average Maximum Minimum"/>
172 <param name="gprint-format-current" value="LAST:%8.2lf%s"/>
173 <param name="gprint-format-average" value="AVERAGE:%8.2lf%s"/>
174 <param name="gprint-format-max" value="MAX:%8.2lf%s"/>
175 <param name="gprint-format-min" value="MIN:%8.2lf%s"/>
177 <!-- Last day graph, inherits parameters from the above -->
178 <view name="last24h">
179 <param name="start" value="-24hours" />
180 <param name="description" value="Last 24 hours graph" />
182 <!-- graph for embedding into other GUI systems -->
183 <view name="embedded">
184 <param name="description" value="" />
185 <param name="rrd-params" value="--full-size-mode" />
189 <!-- Last week graph -->
190 <view name="lastweek">
191 <param name="start" value="-7days" />
192 <param name="description" value="Last week graph" />
195 <!-- Last month graph -->
196 <view name="lastmonth">
197 <param name="start" value="-1month" />
198 <param name="rrd-hwpredict" value="disabled" />
199 <param name="decorations" value=""/>
200 <param name="description" value="Last month graph" />
203 <!-- Last year graph -->
204 <view name="lastyear">
205 <param name="start" value="-1year" />
206 <param name="rrd-hwpredict" value="disabled" />
207 <param name="decorations" value=""/>
208 <param name="description" value="Last year graph" />
211 <!-- Short overview for multigraph listings -->
213 <param name="width" value="350" />
214 <param name="height" value="100" />
215 <param name="start" value="-6h" />
216 <param name="gprint-values" value="current"/>
217 <param name="gprint-header" value=""/>
218 <param name="gprint-format-current" value="LAST:Current\: %7.2lf%s"/>
219 <param name="description" value="Last 6 hours graph" />
221 <view name="last24h-small">
222 <param name="start" value="-24hours" />
223 <param name="description" value="Last 24 hours graph" />
225 <view name="lastweek-small">
226 <param name="start" value="-7days" />
227 <param name="description" value="Last week graph" />
229 <view name="lastmonth-small">
230 <param name="start" value="-1month" />
231 <param name="description" value="Last month graph" />
236 <!-- This is the HTML page with RRD graphs on it.
237 Use the specified HTML file as a template with special tags in it -->
238 <view name="default-rrd-html">
239 <param name="view-type" value="html" />
240 <param name="expires" value="300" />
241 <param name="html-template" value="default-rrd.html" />
242 <view name="longterm-rrd-html">
243 <param name="longterm" value="1" />
248 <!-- This is the HTML page for tree browsing -->
249 <view name="default-dir-html">
250 <param name="view-type" value="html" />
251 <param name="expires" value="3600" />
252 <param name="html-template" value="default-dir.html" />
255 <!-- This shows the leaves of the subtree -->
256 <view name="expanded-dir-html">
257 <param name="view-type" value="html" />
258 <param name="expires" value="300" />
259 <param name="html-template" value="expanded-dir.html" />
262 <!-- This shows overview subleaves (previousely InOutBps) -->
263 <view name="overview-subleaves-html">
264 <param name="view-type" value="html" />
265 <param name="expires" value="300" />
266 <param name="html-template" value="overview-subleaves.html" />
269 <!-- This all subtrees and leaves recureively -->
270 <view name="recursive-dir-html">
271 <param name="view-type" value="html" />
272 <param name="expires" value="3600" />
273 <param name="html-template" value="default-recursivedir.html" />
276 <view name="rrd-print-daily">
277 <param name="view-type" value="rrprint" />
278 <param name="expires" value="300" />
279 <param name="start" value="-24h" />
280 <param name="end" value="now" />
281 <param name="print-cf" value="MIN,AVERAGE,MAX" />
284 <view name="rrd-print-last">
285 <param name="view-type" value="rrprint" />
286 <param name="expires" value="300" />
287 <param name="start" value="-1h" />
288 <param name="end" value="now" />
289 <param name="print-cf" value="LAST" />
292 <!-- This is the HTML page for tokenset browsing -->
293 <view name="default-tset-html">
294 <param name="view-type" value="html" />
295 <param name="expires" value="60" />
296 <param name="html-template" value="default-tset.html" />
299 <view name="tset-list-html">
300 <param name="view-type" value="html" />
301 <param name="expires" value="60" />
302 <param name="html-template" value="tset-list.html" />
305 <!-- This is the HTML page for displaying the help message -->
306 <view name="helptext-html">
307 <param name="view-type" value="html" />
308 <param name="expires" value="3600" />
309 <param name="html-template" value="default-helptext.html" />
312 <view name="adminfo">
313 <param name="view-type" value="adminfo" />
314 <param name="expires" value="3600" />
315 <param name="html-template" value="adminfo.html" />
319 <param name="view-type" value="html" />
320 <param name="expires" value="3600" />
321 <param name="html-template" value="search.html" />
324 <!-- minimalistic view for iframe embedding -->
325 <view name="iframe-rrd">
326 <param name="view-type" value="html" />
327 <param name="expires" value="300" />
328 <param name="html-template" value="iframe-rrd.html" />
333 <param name="view-type" value="rpc" />
334 <param name="expires" value="300" />