Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git] / torrus / xmlconfig / vendor / alu-timetra.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3    Copyright (C) 2010 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    Alcatel-Lucent ESS and SR routers
20
21   $Id: alu-timetra.xml,v 1.1 2010-12-27 00:04:21 ivan Exp $
22 -->
23
24
25 <configuration>
26   <definitions>
27    <!-- TIMETRA-SERV-MIB -->
28    <def name="sapBaseStatsIngressPchipDroppedPackets"
29         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.1"/>
30    <def name="sapBaseStatsIngressPchipDroppedOctets"
31         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.2"/>
32    <def name="sapBaseStatsIngressPchipOfferedHiPrioPackets"
33         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.3"/>
34    <def name="sapBaseStatsIngressPchipOfferedHiPrioOctets"
35         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.4"/>
36    <def name="sapBaseStatsIngressPchipOfferedLoPrioPackets"
37         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.5"/>
38    <def name="sapBaseStatsIngressPchipOfferedLoPrioOctets"
39         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.6"/>
40    <def name="sapBaseStatsIngressQchipDroppedHiPrioPackets"
41         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.7"/>
42    <def name="sapBaseStatsIngressQchipDroppedHiPrioOctets"
43         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.8"/>
44    <def name="sapBaseStatsIngressQchipDroppedLoPrioPackets"
45         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.9"/>
46    <def name="sapBaseStatsIngressQchipDroppedLoPrioOctets"
47         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.10"/>
48    <def name="sapBaseStatsIngressQchipForwardedInProfPackets"
49         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.11"/>
50    <def name="sapBaseStatsIngressQchipForwardedInProfOctets"
51         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.12"/>
52    <def name="sapBaseStatsIngressQchipForwardedOutProfPackets"
53         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.13"/>
54    <def name="sapBaseStatsIngressQchipForwardedOutProfOctets"
55         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.14"/>
56    <def name="sapBaseStatsEgressQchipDroppedInProfPackets"
57         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.15"/>
58    <def name="sapBaseStatsEgressQchipDroppedInProfOctets"
59         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.16"/>
60    <def name="sapBaseStatsEgressQchipDroppedOutProfPackets"
61         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.17"/>
62    <def name="sapBaseStatsEgressQchipDroppedOutProfOctets"
63         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.18"/>
64    <def name="sapBaseStatsEgressQchipForwardedInProfPackets"
65         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.19"/>
66    <def name="sapBaseStatsEgressQchipForwardedInProfOctets"
67         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.20"/>
68    <def name="sapBaseStatsEgressQchipForwardedOutProfPackets"
69         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.21"/>
70    <def name="sapBaseStatsEgressQchipForwardedOutProfOctets"
71         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.22"/>
72    <def name="sapBaseStatsIngressPchipOfferedUncoloredPackets"
73         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.24"/>
74    <def name="sapBaseStatsIngressPchipOfferedUncoloredOctets"
75         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.25"/>
76    <def name="sapBaseStatsAuthenticationPktsDiscarded"
77         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.26"/>
78    <def name="sapBaseStatsAuthenticationPktsSuccess"
79         value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.27"/>
80   </definitions>
81
82 <datasources>
83
84   <template name="alu-timetra-customer">
85     <param name="has-overview-shortcuts" value="yes"/>
86     <param name="overview-shortcuts" value="traffic,discards"/>
87     
88     <param name="overview-subleave-name-traffic" value="InOut_bps"/>
89     <param name="overview-shortcut-text-traffic"
90            value="Traffic"/>
91     <param name="overview-shortcut-title-traffic"
92            value="Show egress and ingress traffic for all SAPs on one page"/>
93     <param name="overview-page-title-traffic"
94            value="Egress/ingress traffic graphs"/>
95     <param name="overview-direct-link-traffic"      value="yes"/>
96     <param name="overview-direct-link-view-traffic"
97            value="expanded-dir-html"/>
98     
99     <param name="overview-subleave-name-discards">
100       IngressQchipDroppedHiPrioPackets,
101       IngressQchipDroppedLoPrioPackets,
102       EgressQchipDroppedInProfPackets,
103       EgressQchipDroppedOutProfPackets
104     </param>
105     <param name="overview-shortcut-text-discards"
106            value="Discards"/>
107     <param name="overview-shortcut-title-discards"
108            value="Show all packet discards for all SAPs on one page"/>
109     <param name="overview-page-title-discards"
110            value="Packet Discards"/>
111     <param name="overview-direct-link-discards"      value="yes"/>
112     <param name="overview-direct-link-view-discards"
113            value="expanded-dir-html"/>
114   </template>
115
116   
117     <template name="alu-timetra-sap">
118       <param name="collector-timeoffset-hashstring"
119         value="%system-id%:%timetra-sap-id%" />
120       <param name="data-file"
121         value="%system-id%_sap_%timetra-sap-id%_%timetra-stat-category%.rrd"/>
122
123       <param name="descriptive-nickname"
124              value="%system-id% %timetra-sap-name%"/>
125       <param name="graph-title" value="%descriptive-nickname%" />
126       
127       <param name="snmp-object-type"  value="COUNTER64" />
128       <param name="rrd-create-dstype" value="COUNTER" />
129       <param name="ext-dstype"        value="COUNTER64" />
130       <param name="rrd-create-max"    value="1e15"/>
131       <param name="ext-counter-max"   value="1e15"/>
132       <param name="graph-lower-limit" value="0" />
133
134       <param name="nodeid-sap">
135         sap//%nodeid-device%//%timetra-customer-id%//%timetra-sap-name%
136       </param>
137
138       <leaf name="InOut_bps">
139         <param name="comment"
140           value="Egress and Ingress bits per second graph"/>
141         <param name="vertical-label"   value="bps" />
142         <param name="graph-lower-limit" value="0" />
143         <param name="rrd-hwpredict"    value="disabled" />
144         <param name="precedence"       value="5000" />
145         <param name="nodeid"           value="%nodeid-sap%//inoutbit"/>
146
147         <param name="ds-type"          value="rrd-multigraph" />
148         <param name="ds-names"         value="ingrinp,ingrop,egrinp,egrop" />
149
150         <param name="ds-expr-ingrinp"
151           value="{IngressQchipForwardedInProfOctets},8,*" />
152         <param name="graph-legend-ingrinp"
153           value="Ingress bps in-profile" />
154         <param name="line-style-ingrinp"    value="AREA" />
155         <param name="line-color-ingrinp"    value="##green" />
156         <param name="line-order-ingrinp"    value="1" />
157
158         <param name="ds-expr-ingrop"
159           value="{IngressQchipForwardedOutProfOctets},8,*" />
160         <param name="graph-legend-ingrop"
161           value="Ingress bps out-of-profile" />
162         <param name="line-style-ingrop"   value="AREA" />
163         <param name="line-stack-ingrop"   value="yes" />
164         <param name="line-color-ingrop"   value="##green75" />
165         <param name="line-order-ingrop"   value="2" />
166
167         <param name="ds-expr-egrinp"
168           value="{EgressQchipForwardedInProfOctets},8,*" />
169         <param name="graph-legend-egrinp"
170           value="Egress bps in-profile" />
171         <param name="line-style-egrinp"    value="LINE2" />        
172         <param name="line-color-egrinp"    value="##blue" />
173         <param name="line-order-egrinp"    value="11" />
174
175         <param name="ds-expr-egrop"
176           value="{EgressQchipForwardedOutProfOctets},8,*" />
177         <param name="graph-legend-egrop"
178            value="Egress bps out-of-profile" />
179         <param name="line-style-egrop"   value="LINE1.5" />
180         <param name="line-color-egrop"   value="##blue75" />
181         <param name="line-stack-egrop"   value="yes" />
182         <param name="line-order-egrop"   value="12" />
183       </leaf>
184
185             
186
187       <leaf name="IngressQchipDroppedHiPrioPackets">
188         <param name="timetra-stat-category"  value="IngressQchip" />        
189         <param name="snmp-object">
190          $sapBaseStatsIngressQchipDroppedHiPrioPackets.%timetra-sap-id%
191         </param>
192         <param name="rrd-ds"            value="DropHPrPkt" />
193         <param name="comment"
194            value="The number of high priority packets dropped by the Qchip" />
195         <param name="graph-legend"      value="Ingress HPr packets dropped" />
196         <param name="vertical-label"    value="pps" />
197         <param name="precedence"        value="1000" />
198       </leaf>
199       
200       <leaf name="IngressQchipDroppedHiPrioOctets">
201         <param name="timetra-stat-category"  value="IngressQchip" />        
202         <param name="snmp-object">
203          $sapBaseStatsIngressQchipDroppedHiPrioOctets.%timetra-sap-id%
204         </param>
205         <param name="rrd-ds"            value="DropHPrOct" />
206         <param name="comment">
207          The number of high priority octets dropped by the Qchip
208         </param>
209         <param name="graph-legend"      value="Ingress HPr bytes dropped" />
210         <param name="vertical-label"    value="Bps" />
211         <param name="precedence"        value="990" />
212       </leaf>
213
214
215       
216       <leaf name="IngressQchipDroppedLoPrioPackets">
217         <param name="timetra-stat-category"  value="IngressQchip" />        
218         <param name="snmp-object">
219          $sapBaseStatsIngressQchipDroppedLoPrioPackets.%timetra-sap-id%"
220         </param>
221         <param name="rrd-ds"            value="DropLPrPkt" />
222         <param name="comment">
223          The number of low priority packets dropped by the Qchip
224         </param>
225         <param name="graph-legend"      value="Ingress LPr packets dropped" />
226         <param name="vertical-label"    value="pps" />
227         <param name="precedence"        value="980" />
228       </leaf>
229       
230       <leaf name="IngressQchipDroppedLoPrioOctets">
231         <param name="timetra-stat-category"  value="IngressQchip" />        
232         <param name="snmp-object">
233           $sapBaseStatsIngressQchipDroppedLoPrioOctets.%timetra-sap-id%
234         </param>
235         <param name="rrd-ds"            value="DropLPrOct" />
236         <param name="comment">
237          The number of low priority octets dropped by the Qchip
238         </param>
239         <param name="graph-legend"      value="Ingress LPr bytes dropped" />
240         <param name="vertical-label"    value="Bps" />
241         <param name="precedence"        value="970" />
242       </leaf>
243
244
245
246       <leaf name="IngressQchipForwardedInProfPackets">
247         <param name="timetra-stat-category"  value="IngressQchip" />        
248         <param name="snmp-object">
249          $sapBaseStatsIngressQchipForwardedInProfPackets.%timetra-sap-id%
250         </param>
251         <param name="rrd-ds"            value="FwInProfPkt" />
252         <param name="comment">
253          The number of in-profile packets forwarded by the ingress Qchip
254         </param>
255         <param name="graph-legend"    value="Ingress INP packets forwarded" />
256         <param name="vertical-label"    value="pps" />
257         <param name="precedence"        value="960" />
258       </leaf>
259       
260       <leaf name="IngressQchipForwardedInProfOctets">
261         <param name="timetra-stat-category"  value="IngressQchip" />        
262         <param name="snmp-object">
263          $sapBaseStatsIngressQchipForwardedInProfOctets.%timetra-sap-id%
264         </param>
265         <param name="rrd-ds"            value="FwInProfOct" />
266         <param name="comment">
267          The number of in-profile octets forwarded by the ingress Qchip
268         </param>
269         <param name="graph-legend"      value="Ingress INP bytes forwarded" />
270         <param name="vertical-label"    value="Bps" />
271         <param name="precedence"        value="950" />
272       </leaf>
273
274
275       <leaf name="IngressQchipForwardedOutProfPackets">
276         <param name="timetra-stat-category"  value="IngressQchip" />        
277         <param name="snmp-object">
278          $sapBaseStatsIngressQchipForwardedInProfPackets.%timetra-sap-id%
279         </param>
280         <param name="rrd-ds"            value="FwOutProfPkt" />
281         <param name="comment">
282          The number of in-profile packets forwarded by the ingress Qchip
283         </param>
284         <param name="graph-legend"      value="Ingress OP packets forwarded" />
285         <param name="vertical-label"    value="pps" />
286         <param name="precedence"        value="940" />
287       </leaf>
288       
289       <leaf name="IngressQchipForwardedOutProfOctets">
290         <param name="timetra-stat-category"  value="IngressQchip" />        
291         <param name="snmp-object">
292          $sapBaseStatsIngressQchipForwardedOutProfOctets.%timetra-sap-id%
293         </param>
294         <param name="rrd-ds"            value="FwOutProfOct" />
295         <param name="comment">
296          The number of in-profile octets forwarded by the ingress Qchip
297         </param>
298         <param name="graph-legend"      value="Ingress OP bytes forwarded" />
299         <param name="vertical-label"    value="Bps" />
300         <param name="precedence"        value="930" />
301       </leaf>
302
303
304
305
306       <leaf name="EgressQchipDroppedInProfPackets">
307         <param name="timetra-stat-category"  value="EgressQchip" />        
308         <param name="snmp-object">
309          $sapBaseStatsEgressQchipDroppedInProfPackets.%timetra-sap-id%
310         </param>
311         <param name="rrd-ds"            value="DropInProfPkt" />
312         <param name="comment">
313          The number of in-profile packets discarded by the egress Qchip
314         </param>
315         <param name="graph-legend"      value="Egress INP packets dropped" />
316         <param name="vertical-label"    value="pps" />
317         <param name="precedence"        value="700" />
318       </leaf>
319       
320       <leaf name="EgressQchipDroppedInProfOctets">
321         <param name="timetra-stat-category"  value="EgressQchip" />        
322         <param name="snmp-object">
323          $sapBaseStatsEgressQchipDroppedInProfOctets.%timetra-sap-id%
324         </param>
325         <param name="rrd-ds"            value="DropInProfOct" />
326         <param name="comment">
327          The number of in-profile octets discarded by the egress Qchip
328         </param>
329         <param name="graph-legend"      value="Egress INP bytes dropped" />
330         <param name="vertical-label"    value="Bps" />
331         <param name="precedence"        value="690" />
332       </leaf>
333
334
335       <leaf name="EgressQchipDroppedOutProfPackets">
336         <param name="timetra-stat-category"  value="EgressQchip" />        
337         <param name="snmp-object">
338          $sapBaseStatsEgressQchipDroppedOutProfPackets.%timetra-sap-id%
339         </param>
340         <param name="rrd-ds"            value="DropOutProfPkt" />
341         <param name="comment">
342          The number of out-of-profile packets discarded by the egress Qchip
343         </param>
344         <param name="graph-legend"      value="Egress OP packets dropped" />
345         <param name="vertical-label"    value="pps" />
346         <param name="precedence"        value="680" />
347       </leaf>
348       
349       <leaf name="EgressQchipDroppedOutProfOctets">
350         <param name="timetra-stat-category"  value="EgressQchip" />        
351         <param name="snmp-object">
352          $sapBaseStatsEgressQchipDroppedOutProfOctets.%timetra-sap-id%
353         </param>
354         <param name="rrd-ds"            value="DropOutProfOct" />
355         <param name="comment">
356          The number of out-of-profile octets discarded by the egress Qchip
357         </param>
358         <param name="graph-legend"      value="Egress OP bytes dropped" />
359         <param name="vertical-label"    value="Bps" />
360         <param name="precedence"        value="670" />
361       </leaf>
362
363
364       <leaf name="EgressQchipForwardedInProfPackets">
365         <param name="timetra-stat-category"  value="EgressQchip" />        
366         <param name="snmp-object">
367          $sapBaseStatsEgressQchipForwardedInProfPackets.%timetra-sap-id%
368         </param>
369         <param name="rrd-ds"            value="FwInProfPkt" />
370         <param name="comment">
371          The number of in-profile packets forwarded by the egress Qchip
372         </param>
373         <param name="graph-legend"      value="Egress INP packets forwarded" />
374         <param name="vertical-label"    value="pps" />
375         <param name="precedence"        value="660" />
376       </leaf>
377       
378       <leaf name="EgressQchipForwardedInProfOctets">
379         <param name="timetra-stat-category"  value="EgressQchip" />        
380         <param name="snmp-object">
381          $sapBaseStatsEgressQchipForwardedInProfOctets.%timetra-sap-id%
382         </param>
383         <param name="rrd-ds"            value="FwInProfOct" />
384         <param name="comment">
385          The number of in-profile octets forwarded by the egress Qchip
386         </param>
387         <param name="graph-legend"      value="Egress INP bytes forwarded" />
388         <param name="vertical-label"    value="Bps" />
389         <param name="precedence"        value="650" />
390       </leaf>
391
392
393       <leaf name="EgressQchipForwardedOutProfPackets">
394         <param name="timetra-stat-category"  value="EgressQchip" />        
395         <param name="snmp-object">
396          $sapBaseStatsEgressQchipForwardedInProfPackets.%timetra-sap-id%
397         </param>
398         <param name="rrd-ds"            value="FwOutProfPkt" />
399         <param name="comment">
400          The number of in-profile packets forwarded by the egress Qchip
401         </param>
402         <param name="graph-legend"      value="Egress OP packets forwarded" />
403         <param name="vertical-label"    value="pps" />
404         <param name="precedence"        value="640" />
405       </leaf>
406       
407       <leaf name="EgressQchipForwardedOutProfOctets">
408         <param name="timetra-stat-category"  value="EgressQchip" />        
409         <param name="snmp-object">
410          $sapBaseStatsEgressQchipForwardedOutProfOctets.%timetra-sap-id%
411         </param>
412         <param name="rrd-ds"            value="FwOutProfOct" />
413         <param name="comment">
414          The number of in-profile octets forwarded by the egress Qchip
415         </param>
416         <param name="graph-legend"      value="Egress OP bytes forwarded" />
417         <param name="vertical-label"    value="Bps" />
418         <param name="precedence"        value="630" />
419       </leaf>
420       
421
422     </template>
423         
424   </datasources>
425 </configuration>