1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (C) 2010 Roman Hochuli
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., 675 Mass Ave, Cambridge, MA 02139, USA.
19 Jacarta iMeter-Products
21 $Id: jacarta.xml,v 1.1 2010-12-27 00:04:23 ivan Exp $
27 <def name="jacarta_sensorEntry"
28 value="1.3.6.1.4.1.19011.2.3.1.1"/>
29 <def name="jacarta_sensorValue"
30 value="1.3.6.1.4.1.19011.2.3.1.1.4"/>
35 <template name="imeter-sensor">
36 <param name="collector-timeoffset-hashstring"
37 value="%system-id%:%imeter-sensor-index%" />
38 <param name="data-file"
39 value="%system-id%_sensor_%imeter-sensor-index%.rrd"/>
40 <param name="rrd-ds" value="value"/>
41 <param name="rrd-cf" value="AVERAGE"/>
42 <param name="rrd-create-dstype" value="GAUGE"/>
44 value="sensor//%nodeid-device%//%imeter-sensor-index%"/>
47 <template name="imeter-humi-sensor">
48 <apply-template name="imeter-sensor"/>
49 <param name="snmp-object"
50 value="$jacarta_sensorValue.%imeter-sensor-index%"/>
51 <param name="graph-lower-limit" value="0" />
52 <param name="graph-upper-limit" value="100" />
53 <param name="upper-limit" value="90" />
54 <param name="vertical-label" value="Percent" />
55 <param name="comment" value="Humidity sensor" />
58 <template name="imeter-temp-sensor">
59 <apply-template name="imeter-sensor"/>
60 <param name="snmp-object"
61 value="$jacarta_sensorValue.%imeter-sensor-index%"/>
62 <param name="graph-lower-limit" value="0" />
63 <param name="graph-upper-limit" value="50" />
64 <param name="upper-limit" value="35" />
65 <param name="vertical-label" value="Degrees Celsius" />
66 <param name="comment" value="Temperature sensor" />
69 <template name="imeter-amps-sensor">
70 <apply-template name="imeter-sensor"/>
71 <param name="snmp-object"
72 value="$jacarta_sensorValue.%imeter-sensor-index%"/>
73 <param name="collector-scale" value="10,/" />
74 <param name="graph-lower-limit" value="0" />
75 <param name="graph-upper-limit" value="38" />
76 <param name="upper-limit" value="32" />
77 <param name="vertical-label" value="Ampere" />
78 <param name="comment" value="Electrical current meter" />