add preliminary Torrus config for Ractivity PDU devices, RT#14601
[freeside.git] / torrus / xmlconfig / vendor / liebert.xml
1 <?xml version="1.0"?>
2 <!--
3    Copyright (C) 2008 Jon Nistor
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
18
19   $Id: liebert.xml,v 1.1 2010-12-27 00:04:25 ivan Exp $
20   Jon Nistor <nistor at snickers dot org>
21
22 -->
23 <!--
24      Liebert HVAC systems
25  -->
26
27 <configuration>
28
29 <definitions>
30   <!-- LIEBERT-GP-ENVIRONMENTAL-MIB -->
31   <!-- Temperature: Fahrenheit (not used due to celcius being converted) -->
32   <def name="TempSettingDegF"     value="1.3.6.1.4.1.476.1.42.3.4.1.2.1.0"/>
33   <def name="TempToleranceDegF"   value="1.3.6.1.4.1.476.1.42.3.4.1.2.2.0"/>
34   <def name="TempMeasurementDegF" value="1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3.0"/>
35   <def name="TempHighThreshDegF"  value="1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.4.0"/>
36   <def name="TempLowThreshDegF"   value="1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.5.0"/>
37   <!-- Temperature: Celcius (not used due to preferred indexing -->
38   <def name="TempSettingDegC"     value="1.3.6.1.4.1.476.1.42.3.4.1.3.1.0"/>
39   <def name="TempToleranceDegC"   value="1.3.6.1.4.1.476.1.42.3.4.1.3.2.0"/>
40   <def name="TempMeasurementDegC" value="1.3.6.1.4.1.476.1.42.3.4.1.3.3.1.3.0"/>
41   <def name="TempHighThreshDegC"  value="1.3.6.1.4.1.476.1.42.3.4.1.3.3.1.4.0"/>
42   <def name="TempLowThreshDegC"   value="1.3.6.1.4.1.476.1.42.3.4.1.3.3.1.5.0"/>
43
44   <!-- Temperature: Generic -->
45   <def name="TempBase"         value="1.3.6.1.4.1.476.1.42.3.4.1"/>
46   <def name="TempSetting"      value="$TempBase.%temp-idx%.1.0"/>
47   <def name="TempTolerance"    value="$TempBase.%temp-idx%.2.0"/>
48   <def name="TempMeasurement"  value="$TempBase.%temp-idx%.3.1.3.%sensor-idx%"/>
49   <def name="TempHighThresh"   value="$TempBase.%temp-idx%.3.1.4.%sensor-idx%"/>
50   <def name="TempLowThresh"    value="$TempBase.%temp-idx%.3.1.5.%sensor-idx%"/>
51
52   <!-- Humidity -->
53   <def name="HumiditySettingRel"     value="1.3.6.1.4.1.476.1.42.3.4.2.2.1.0"/>
54   <def name="HumidityToleranceRel"   value="1.3.6.1.4.1.476.1.42.3.4.2.2.2.0"/>
55   <def name="HumidityMeasurementRel"
56       value="1.3.6.1.4.1.476.1.42.3.4.2.2.3.1.3.%humid-idx%"/>
57   <def name="HumidityHighThresholdRel"
58       value="1.3.6.1.4.1.476.1.42.3.4.2.2.3.1.4.%humid-idx%"/>
59   <def name="HumidityLowThresholdRel"
60       value="1.3.6.1.4.1.476.1.42.3.4.2.2.3.1.5.%humid-idx%"/>
61
62   <!-- State -->
63   <def name="StateSystem"         value="1.3.6.1.4.1.476.1.42.3.4.3.1.0"/>
64   <def name="StateCooling"        value="1.3.6.1.4.1.476.1.42.3.4.3.2.0"/>
65   <def name="StateHeating"        value="1.3.6.1.4.1.476.1.42.3.4.3.3.0"/>
66   <def name="StateHumidifying"    value="1.3.6.1.4.1.476.1.42.3.4.3.4.0"/>
67   <def name="StateDehumidifying"  value="1.3.6.1.4.1.476.1.42.3.4.3.5.0"/>
68   <def name="StateEconoCycle"     value="1.3.6.1.4.1.476.1.42.3.4.3.6.0"/>
69   <def name="lgpEnvStateCoolingCapacity"
70                                   value="1.3.6.1.4.1.476.1.42.3.4.3.9.0"/>
71   <def name="lgpEnvStateHeatingCapacity" 
72                                   value="1.3.6.1.4.1.476.1.42.3.4.3.10.0"/>
73
74   <!-- Statistics -->
75   <def name="StatsComp1RunHr"     value="1.3.6.1.4.1.476.1.42.3.4.6.1.0"/>
76   <def name="StatsComp2RunHr"     value="1.3.6.1.4.1.476.1.42.3.4.6.2.0"/>
77   <def name="StatsFanRunHr"       value="1.3.6.1.4.1.476.1.42.3.4.6.3.0"/>
78   <def name="StatsHumRunHr"       value="1.3.6.1.4.1.476.1.42.3.4.6.4.0"/>
79   <def name="StatsReheat1RunHr"   value="1.3.6.1.4.1.476.1.42.3.4.6.7.0"/>
80   <def name="StatsReheat2RunHr"   value="1.3.6.1.4.1.476.1.42.3.4.6.8.0"/>
81   <def name="StatsReheat3RunHr"   value="1.3.6.1.4.1.476.1.42.3.4.6.9.0"/>
82
83 </definitions>
84 <datasources>
85
86   <template name="temperature-subtree">
87     <param name="comment"         value="Temperature in degrees %temp-scale%"/>
88     <param name="rrd-create-dstype" value="GAUGE"/>
89
90     <leaf name="Setting">
91       <param name="precedence"        value="999"/>
92       <param name="comment"           value="Current temperature setting"/>
93       <param name="graph-legend"      value="Setting"/>
94       <param name="graph-title"       value="Temperature setting"/>
95       <param name="graph-lower-limit" value="%temp-lower%"/>
96       <param name="graph-upper-limit" value="%temp-upper"/>
97       <param name="rrd-ds"            value="tempSetting"/>
98       <param name="snmp-object"       value="$TempSetting"/>
99     </leaf>
100     <leaf name="Tolerance">
101       <param name="precedence"      value="998"/>
102       <param name="comment"         value="Acceptable variance from setting"/>
103       <param name="graph-legend"    value="Tolerance"/>
104       <param name="graph-title"     value="Temperature tolerance"/>
105       <param name="collector-scale" value="0.1,*"/>
106       <param name="rrd-ds"          value="tempTolerance"/>
107       <param name="snmp-object"     value="$TempTolerance"/>
108     </leaf>
109   </template>
110
111   <template name="temperature-sensor">
112     <param name="data-file"    value="%system-id%_sensor_%tmp-idx%.rrd"/>
113
114     <leaf name="Overview">
115       <param name="precedence"        value="1000"/>
116       <param name="comment"           value="Overview of temperatures"/>
117       <param name="graph-title"       value="Ambient Temperature"/>
118       <param name="ds-type"           value="rrd-multigraph"/>
119       <param name="ds-names"          value="meas,high,low"/>
120       <param name="graph-lower-limit" value="0"/>
121       <!-- measurements -->
122       <param name="ds-expr-meas"      value="{Measurement}"/>
123       <param name="graph-legend-meas" value="Current temperature"/>
124       <param name="line-style-meas"   value="LINE2"/>
125       <param name="line-color-meas"   value="##one"/>
126       <param name="line-order-meas"   value="1"/>
127       <!-- high threshold -->
128       <param name="ds-expr-high"      value="{High_Threshold}"/>
129       <param name="graph-legend-high" value="High threshold marker"/>
130       <param name="line-style-high"   value="LINE2"/>
131       <param name="line-color-high"   value="##two"/>
132       <param name="line-order-high"   value="2"/>
133       <!-- low threshold -->
134       <param name="ds-expr-low"       value="{Low_Threshold}"/>
135       <param name="graph-legend-low"  value="Low threshold marker"/>
136       <param name="line-style-low"    value="LINE2"/>
137       <param name="line-color-low"    value="##three"/>
138       <param name="line-order-low"    value="3"/>
139     </leaf>
140
141     <leaf name="Measurement">
142       <param name="precedence"        value="999"/>
143       <param name="comment"           value="Current ambient temperature"/>
144       <param name="graph-legend"      value="Sensor: %temp-idx%"/>
145       <param name="graph-lower-limit" value="15"/>
146       <param name="graph-upper-limit" value="70"/>
147       <param name="vertical-label"    value="degrees Celsius"/>
148       <param name="rrd-ds"            value="sensor_%temp-idx%"/>
149       <param name="snmp-object"       value="$TempMeasurement"/>
150     </leaf>
151
152     <leaf name="High_Threshold">
153       <param name="precedence"        value="998"/>
154       <param name="comment"           value="High threshold marker"/>
155       <param name="graph-legend"      value="Sensor: %temp-idx%"/>
156       <param name="vertical-label"    value="degrees Celcius"/>
157       <param name="rrd-ds"            value="TempHighThresh"/>
158       <param name="snmp-object"       value="$TempHighThresh"/>
159     </leaf>
160
161     <leaf name="Low_Threshold">
162       <param name="precedence"        value="997"/>
163       <param name="comment"           value="Low threshold marker"/>
164       <param name="graph-legend"      value="Sensor: %temp-idx%"/>
165       <param name="vertical-label"    value="degrees Celcius"/>
166       <param name="rrd-ds"            value="TempLowThresh"/>
167       <param name="snmp-object"       value="$TempLowThresh"/>
168     </leaf>
169   </template>
170
171   <!-- Temperature measured in degrees Fahrenheit -->
172   <template name="temperature-sensor-fahrenheit">
173     <param name="data-file" 
174           value="%system-id%_sensor_%tmp-idx%_fahrenheit.rrd"/>
175
176     <leaf name="Overview">
177       <param name="precedence"        value="1000"/>
178       <param name="comment"           value="Overview of temperatures"/>
179       <param name="graph-title"       value="Ambient Temperature"/>
180       <param name="ds-type"           value="rrd-multigraph"/>
181       <param name="ds-names"          value="meas,high,low"/>
182       <param name="graph-lower-limit" value="0"/>
183       <!-- measurements -->
184       <param name="ds-expr-meas"      value="{Measurement}"/>
185       <param name="graph-legend-meas" value="Current temperature"/>
186       <param name="line-style-meas"   value="LINE2"/>
187       <param name="line-color-meas"   value="##one"/>
188       <param name="line-order-meas"   value="1"/>
189       <!-- high threshold -->
190       <param name="ds-expr-high"      value="{High_Threshold}"/>
191       <param name="graph-legend-high" value="High threshold marker"/>
192       <param name="line-style-high"   value="LINE2"/>
193       <param name="line-color-high"   value="##two"/>
194       <param name="line-order-high"   value="2"/>
195       <!-- low threshold -->
196       <param name="ds-expr-low"       value="{Low_Threshold}"/>
197       <param name="graph-legend-low"  value="Low threshold marker"/>
198       <param name="line-style-low"    value="LINE2"/>
199       <param name="line-color-low"    value="##three"/>
200       <param name="line-order-low"    value="3"/>
201     </leaf>
202
203     <leaf name="Measurement">
204       <param name="precedence"        value="999"/>
205       <param name="comment"           value="Current ambient temperature"/>
206       <param name="graph-legend"      value="Sensor: %temp-idx%"/>
207       <param name="graph-lower-limit" value="15"/>
208       <param name="graph-upper-limit" value="70"/>
209       <param name="vertical-label"    value="degrees Celsius"/>
210       <param name="collector-scale"   value="1.8,*,32,+" />
211       <param name="rrd-ds"            value="sensor_%temp-idx%"/>
212       <param name="snmp-object"       value="$TempMeasurement"/>
213     </leaf>
214
215     <leaf name="High_Threshold">
216       <param name="precedence"        value="998"/>
217       <param name="comment"           value="High threshold marker"/>
218       <param name="graph-legend"      value="Sensor: %temp-idx%"/>
219       <param name="vertical-label"    value="degrees Fahrenheit"/>
220       <param name="collector-scale"   value="1.8,*,32,+" />
221       <param name="rrd-ds"            value="TempHighThresh"/>
222       <param name="snmp-object"       value="$TempHighThresh"/>
223     </leaf>
224
225     <leaf name="Low_Threshold">
226       <param name="precedence"        value="997"/>
227       <param name="comment"           value="Low threshold marker"/>
228       <param name="graph-legend"      value="Sensor: %temp-idx%"/>
229       <param name="vertical-label"    value="degrees Fahrenheit"/>
230       <param name="collector-scale"   value="1.8,*,32,+" />
231       <param name="rrd-ds"            value="TempLowThresh"/>
232       <param name="snmp-object"       value="$TempLowThresh"/>
233     </leaf>
234   </template>
235
236   <!-- HUMIDITY -->
237   <template name="humidity-subtree">
238     <param name="comment"           value="Environmental Humidity Group"/>
239     <param name="data-file"         value="%system-id%_humidity.rrd"/>
240     <param name="rrd-create-dstype" value="GAUGE"/>
241
242     <leaf name="Setting">
243       <param name="precedence"      value="999"/>
244       <param name="comment"         value="Current Realitive Humidity setting"/>
245       <param name="graph-legend"    value="Setting"/>
246       <param name="graph-title"     value="Humidity setting"/>
247       <param name="vertical-label"  value="percent"/>
248       <param name="rrd-ds"          value="humidSetting"/>
249       <param name="snmp-object"     value="$HumiditySettingRel"/>
250     </leaf>
251     <leaf name="Tolerance">
252       <param name="precedence"      value="998"/>
253       <param name="comment"         value="Acceptable variance from setting"/>
254       <param name="graph-legend"    value="Tolerance"/>
255       <param name="graph-title"     value="Temperature tolerance"/>
256       <param name="vertical-label"  value="percent"/>
257       <param name="rrd-ds"          value="humidTolerance"/>
258       <param name="snmp-object"     value="$HumidityToleranceRel"/>
259     </leaf>
260   </template>
261
262
263   <template name="humidity-sensor">
264     <param name="data-file"    value="%system-id%_sensor_%humid-idx%.rrd"/>
265
266     <leaf name="Overview">
267       <param name="precedence"        value="1000"/>
268       <param name="comment"           value="Overview of humidity"/>
269       <param name="graph-title"       value="Humidity"/>
270       <param name="vertical-label"    value="percent"/>
271       <param name="ds-type"           value="rrd-multigraph"/>
272       <param name="ds-names"          value="meas,high,low"/>
273       <param name="graph-lower-limit" value="0"/>
274       <!-- measurements -->
275       <param name="ds-expr-meas"      value="{Measurement}"/>
276       <param name="graph-legend-meas" value="Measured Humidity"/>
277       <param name="line-style-meas"   value="LINE2"/>
278       <param name="line-color-meas"   value="##one"/>
279       <param name="line-order-meas"   value="1"/>
280       <!-- high threshold -->
281       <param name="ds-expr-high"      value="{High_Threshold}"/>
282       <param name="graph-legend-high" value="High threshold marker"/>
283       <param name="line-style-high"   value="LINE2"/>
284       <param name="line-color-high"   value="##two"/>
285       <param name="line-order-high"   value="2"/>
286       <!-- low threshold -->
287       <param name="ds-expr-low"       value="{Low_Threshold}"/>
288       <param name="graph-legend-low"  value="Low threshold marker"/>
289       <param name="line-style-low"    value="LINE2"/>
290       <param name="line-color-low"    value="##three"/>
291       <param name="line-order-low"    value="3"/>
292     </leaf>
293
294     <leaf name="Measurement">
295       <param name="precedence"        value="999"/>
296       <param name="comment"           value="Current Realitive Humidity"/>
297       <param name="graph-legend"      value="Sensor: %humid-idx%"/>
298       <param name="vertical-label"    value="percent"/>
299       <param name="rrd-ds"            value="sensor_%humid-idx%"/>
300       <param name="snmp-object"       value="$HumidityMeasurementRel"/>
301     </leaf>
302
303     <leaf name="High_Threshold">
304       <param name="precedence"        value="998"/>
305       <param name="comment"           value="High threshold marker"/>
306       <param name="graph-legend"      value="Sensor: %humid-idx%"/>
307       <param name="vertical-label"    value="percent"/>
308       <param name="rrd-ds"            value="HumidHighThresh"/>
309       <param name="snmp-object"       value="$HumidityHighThresholdRel"/>
310     </leaf>
311
312     <leaf name="Low_Threshold">
313       <param name="precedence"        value="997"/>
314       <param name="comment"           value="Low threshold marker"/>
315       <param name="graph-legend"      value="Sensor: %humid-idx%"/>
316       <param name="vertical-label"    value="percent"/>
317       <param name="rrd-ds"            value="HumidLowThresh"/>
318       <param name="snmp-object"       value="$HumidityLowThresholdRel"/>
319     </leaf>
320   </template>
321
322
323   <template name="state-subtree">
324     <param name="comment"         value="Environmental State Group"/>
325     <param name="data-file"       value="%system-id%_state.rrd"/>
326     <param name="rrd-create-dstype" value="GAUGE"/>
327
328     <leaf name="System">
329       <param name="precedence"   value="999"/>
330       <param name="comment"      value="State of the system"/>
331       <param name="graph-legend" value="state: on(1) off(2) standby(3)"/>
332       <param name="graph-title"  value="System State"/>
333       <param name="rrd-ds"       value="StateSystem"/>
334       <param name="snmp-object"  value="$StateSystem"/>
335     </leaf>
336     <leaf name="Cooling">
337       <param name="precedence"   value="998"/>
338       <param name="comment"      value="State of the cooling subsystem"/>
339       <param name="graph-legend" value="state: on(1) off(2)"/>
340       <param name="graph-title"  value="Cooling State"/>
341       <param name="rrd-ds"       value="StateCooling"/>
342       <param name="snmp-object"  value="$StateCooling"/>
343     </leaf>
344     <leaf name="Heating">
345       <param name="precedence"   value="997"/>
346       <param name="comment"      value="State of the heating subsystem"/>
347       <param name="graph-legend" value="state: on(1) off(2)"/>
348       <param name="graph-title"  value="Heating State"/>
349       <param name="rrd-ds"       value="StateHeating"/>
350       <param name="snmp-object"  value="$StateHeating"/>
351     </leaf>
352     <leaf name="Humidifying">
353       <param name="precedence"   value="996"/>
354       <param name="comment"      value="State of the humidifier subsystem"/>
355       <param name="graph-legend" value="state: on(1) off(2)"/>
356       <param name="graph-title"  value="Humidifier State"/>
357       <param name="rrd-ds"       value="StateHumidifying"/>
358       <param name="snmp-object"  value="$StateHumidifying"/>
359     </leaf>
360     <leaf name="Dehumidifying">
361       <param name="precedence"   value="995"/>
362       <param name="comment"      value="State of the dehumidifier subsystem"/>
363       <param name="graph-legend" value="state: on(1) off(2)"/>
364       <param name="graph-title"  value="Dehumidifier State"/>
365       <param name="rrd-ds"       value="StateDehumidifying"/>
366       <param name="snmp-object"  value="$StateDehumidifying"/>
367     </leaf>
368     <leaf name="Econo_Cycle">
369       <param name="precedence"   value="994"/>
370       <param name="comment"      value="State of the Econ-o-cycle subsystem"/>
371       <param name="graph-legend" value="state: on(1) off(2)"/>
372       <param name="graph-title"  value="Econ-o-cycle State"/>
373       <param name="rrd-ds"       value="StateEconoCycle"/>
374       <param name="snmp-object"  value="$StateEconoCycle"/>
375     </leaf>
376   </template>
377
378
379   <template name="state-capacity">
380     <leaf name="Cooling">
381       <param name="data-file"    value="%system-id%_state_capacity.rrd"/>
382       <param name="precedence"   value="993"/>
383       <param name="comment"      value="cooling capacity presently in use"/>
384       <param name="graph-legend" value="percent"/>
385       <param name="graph-title"  value="Cooling Capacity"/>
386       <param name="rrd-ds"       value="cooling"/>
387       <param name="snmp-object"  value="$lgpEnvStateCoolingCapacity"/>
388       <param name="rrd-create-dstype" value="GAUGE"/>
389     </leaf>
390     <leaf name="Heating">
391       <param name="data-file"    value="%system-id%_state_capacity.rrd"/>
392       <param name="precedence"   value="992"/>
393       <param name="comment"      value="heating capacity presently in use"/>
394       <param name="graph-legend" value="percent"/>
395       <param name="graph-title"  value="Heating Capacity"/>
396       <param name="rrd-ds"       value="heating"/>
397       <param name="snmp-object"  value="$lgpEnvStateHeatingCapacity"/>
398       <param name="rrd-create-dstype" value="GAUGE"/>
399     </leaf>
400   </template>
401
402 </datasources>
403
404 </configuration>
405