per-agent configuration of batch processors, #71837
[freeside.git] / torrus / xmlconfig / old / rfc2670.docsis-if.old.0.1.5d-20040224.xml
1 <?xml version="1.0"?>
2 <!--
3    Copyright (C) 2003  Roman Hochuli, 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
18
19   $Id: rfc2670.docsis-if.old.0.1.5d-20040224.xml,v 1.1 2010-12-27 00:04:27 ivan Exp $
20   Roman Hochuli <roman@hochu.li>
21   Stanislav Sinyagin <ssinyagin@yahoo.com>
22
23 -->
24
25 <configuration>
26
27   <definitions>
28     <!-- DOCS-IF-MIB:docsIfSigQSignalNoise -->
29     <def name="docsIfSigQSignalNoise" value="1.3.6.1.2.1.10.127.1.1.4.1.5" />
30   </definitions>
31
32   <datasources>
33
34     <template name="docsis-upstream-snr">
35       <param name="snmp-object"  value="$docsIfSigQSignalNoise.%ifindex-map%"/>
36
37       <param name="data-file">
38         %system-id%_%interface-nick%_docsIfSigQSignalNoise.rrd
39       </param>
40       <param name="rrd-create-dstype"   value="GAUGE" />
41       <param name="rrd-ds"              value="SNR" />
42       <param name="collector-scale"     value="10,/" />
43
44       <param name="graph-legend"        value="Signal/Noise-Ratio" />
45       <param name="vertical-label"      value="dB" />
46
47       <param name="normal-level"        value="25" />
48       <param name="lower-limit"         value="18" />
49       <param name="graph-lower-limit"   value="0" />
50       <param name="graph-upper-limit"   value="35" />
51
52       <param name="collector-timeoffset-hashstring"
53              value="%system-id%:%interface-nick%" />
54
55       <param name="monitor"             value="docsis-snr-lower-20db" />
56       <param name="tokenset-member"     value="docsis-snr" />
57     </template>
58
59   </datasources>
60
61   <monitors>
62
63     <monitor name="docsis-snr-lower-20db">
64       <param name="monitor-type"  value="expression" />
65       <param name="rpn-expr"      value="20,LT" />
66       <param name="action"        value="docsis-snr-lower-20" />
67       <param name="expires"       value="3600" />
68       <param name="comment">
69         Signal/Noise-Ratio was lower than 20dB
70       </param>
71     </monitor>
72
73     <action name="docsis-snr-lower-20">
74       <param name="action-type"     value="tset" />
75       <param name="tset-name"       value="docsis-snr-lower-20" />
76     </action>
77
78   </monitors>
79
80   <token-sets>
81     <token-set name="docsis-snr">
82       <param name="comment" value="S/N Ratio for all interfaces" />
83     </token-set>
84
85     <token-set name="docsis-snr-lower-20">
86       <param name="comment" value="S/N Ratio less than 20dB" />
87     </token-set>
88   </token-sets>
89
90 </configuration>