3 Copyright (C) 2002 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: multigraph.xml,v 1.1 2010-12-27 00:04:29 ivan Exp $
20 Stanislav Sinyagin <ssinyagin@yahoo.com>
25 This example shows how multiple datasources may be displayed in
26 one graph. See also the template definitions for "BpsInOut"
27 in "snmp-defs.xml", "vendor/cisco.ios.xml".
34 <subtree name="SampleMulti">
36 <param name="ds-type" value="rrd-multigraph" />
37 <param name="ds-names" value="in,out" />
38 <param name="foobarpath"
39 value="/SNMP/Routers/213.230.38.4/FastEthernet0_0" />
41 <!-- parameter name tail is formed by the DS name -->
43 <param name="ds-expr-in" value="{%foobarpath%/locIfInBitsSec}" />
44 <param name="graph-legend-in" value="Bits per second in" />
45 <param name="line-style-in" value="AREA" />
46 <param name="line-color-in" value="#00FF00" />
47 <param name="line-order-in" value="1" />
49 <param name="ds-expr-out" value="{%foobarpath%/locIfOutBitsSec}" />
50 <param name="graph-legend-out" value="Bits per second out" />
51 <param name="line-style-out" value="LINE2" />
52 <param name="line-color-out" value="#0000FF" />
53 <param name="line-order-out" value="2" />