buried more whitesapce
[torrus-plus.git] / src / xmlconfig / vendor / smokeping.xml
blobb55f23456b1fe2ace4c1bb742906400303096e02
1 <?xml version="1.0"?>
2 <!--
3    Copyright (C) 2003  Shawn Ferry
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$
21   Smokeping filre
23 -->
25 <configuration>
26 <definitions>
27 </definitions>
28 <datasources>
30   <template name="SmokePing">
31     <!-- Apply filepattern in non template xml -->
32     <!-- <filepattern type="subtree" name="$1" filere="(.*)\.rrd"> -->
33       <leaf name="median">
34         <param name="ds-type" value="rrd-file"/>
35         <param name="comment" value="Median RTT"/>
36         <param name="leaf-type" value="rrd-def"/>
37         <param name="rrd-ds" value="median"/>
38         <param name="rrd-cf" value="AVERAGE" />
39         <param name="vertical-label" value="Seconds"/>
40         <param name="graph-legend" value="MedianRTT"/>
41       </leaf>
42       <leaf name="loss">
43         <param name="ds-type" value="rrd-file"/>
44         <param name="comment" value="Packets Loss"/>
45         <param name="leaf-type" value="rrd-def"/>
46         <param name="rrd-ds" value="loss"/>
47         <param name="rrd-cf" value="AVERAGE" />
48         <param name="vertical-label" value="Packets Lost"/>
49         <param name="graph-legend" value="Lost"/>
50       </leaf>
51    <!-- </filepattern> -->
52   </template>
54   <template name="SmokePing-subtree">
55       <param name="comment" value="Per-Host Median RTT"/>
56       <param name="precedence" value="-400"/>
57       <param name="has-overview-shortcuts" value="yes"/>
58       <param name="overview-shortcuts" value="median"/>
59       <param name="overview-subleave-name-median" value="median"/>
60       <param name="overview-shortcut-text-median"
61              value="All Median RTT"/>
62       <param name="overview-shortcut-title-median"
63              value="Per-Host Median RTT"/>
64       <param name="overview-page-title-median" value="Per-Host Median RTT"/>
65   </template>
67 </datasources>
68 </configuration>