import torrus 1.0.9
[freeside.git] / torrus / xmlconfig / vendor / betternetworks.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3    Copyright (C) 2003 Marc Haber, Shawn Ferry, Stanislav Sinyagin
4
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.
9
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.
14
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., 675 Mass Ave, Cambridge, MA 02139, USA.
18
19    Marc Haber <mh+rrfw-devel@zugschlus.de>
20
21   Authors: Marc Haber, Shawn Ferry, Stanislav Sinyagin
22   Vendor: betternetworks.xml
23
24   $Id: betternetworks.xml,v 1.1 2010-12-27 00:04:06 ivan Exp $
25 -->
26 <!--
27     Generic MIB definitions and templates for:
28
29         The templates defined in this file should work with
30         the BetterNetworks ethernet box
31     -->
32 <configuration>
33   <definitions>
34     <def name="BNEBsensorValueInt10" value="1.3.6.1.4.1.14848.2.1.2.1.5"/>
35   </definitions>
36
37   <datasources>
38
39     <template name="betternetworks-sensor">
40       <param name="collector-timeoffset-hashstring"
41                value="%system-id%:%bne-sensor-index%" />
42       <param name="data-file"
43                value="%system-id%_sensor_%bne-sensor-index%.rrd"/>
44       <param name="snmp-object"
45                value="$BNEBsensorValueInt10.%bne-sensor-index%"/>
46       <param name="collector-scale"   value="10,/" />
47       <param name="rrd-ds"            value="value"/>
48       <param name="rrd-cf"            value="AVERAGE"/>
49       <param name="rrd-create-dstype" value="GAUGE"/>
50       <param name="graph-lower-limit" value="0" />
51       <param name="graph-upper-limit" value="100" />
52       <param name="nodeid"
53                value="sensor//%nodeid-device%//%bne-sensor-index%"/>
54     </template>
55   </datasources>
56 </configuration>