per-agent configuration of batch processors, #71837
[freeside.git] / torrus / xmlconfig / examples / ascend.max.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: ascend.max.xml,v 1.1 2010-12-27 00:04:28 ivan Exp $
20   Roman Hochuli <roman@hochu.li>
21   Stanislav Sinyagin <ssinyagin@yahoo.com>
22
23   Ascend MAC Call statistics.
24   Tested with Ascent MAX 4000 with Software-Release feik.m40 7.0.26
25 -->
26
27 <configuration>
28 <datasources>
29   <subtree name="SNMP">
30     <subtree name="Dialup">
31
32       <param name="snmp-version" value="1" />
33       <param name="snmp-community" value="xxxx" />
34       <param name="domain-name" value="" />
35       <param name="data-dir" value="/var/snmpcollector" />
36
37       <subtree name="myhost.mydomain.com">
38         <param name="legend">
39           Location: Hardstrasse 235;
40           Contact: GPS Technik AG, Zuercherstrasse 139, CH-8952 Schlieren
41         </param>
42         <param name="snmp-host" value="myhost.mydomain.com" />
43
44         <subtree name="Call_Statistics">
45            <apply-template name="ascend-totalcalls" />
46
47            <leaf name="E1_2_CurrentCalls">
48              <param name="ascend-ifidx" value="2" />
49              <apply-template name="ascend-e1stats" />
50            </leaf>
51         </subtree>
52
53       </subtree>
54
55     </subtree>
56   </subtree>
57 </datasources>
58 </configuration>