per-agent configuration of batch processors, #71837
[freeside.git] / torrus / xmlconfig / vendor / cisco.firewall.xml
1 <?xml version="1.0"?>
2 <!--
3    Copyright (C) 2003 Shawn Ferry
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: cisco.firewall.xml,v 1.1 2010-12-27 00:04:17 ivan Exp $
20   Shawn Ferry <sferry at sevenspace dot com> <lalartu at obscure dot org>
21
22 -->
23
24 <!-- Cisco Firewall specific definitions -->
25
26 <configuration>
27
28 <definitions>
29
30   <!-- v1/OLD-CISCO-INTERFACES-MIB:lifTable -->
31   <def name="cfwBasicEventsTableLastRow"
32        value="1.3.6.1.4.1.9.9.147.1.1.4" />
33   <def name="cfwConnectionStatValue"
34        value="1.3.6.1.4.1.9.9.147.1.2.2.2.1.5" />
35
36 </definitions>
37
38 <datasources>
39
40   <template name="cisco-firewall-subtree">
41     <param name="rrd-hwpredict" value="disabled" />
42   </template>
43   
44   <template name="cisco-firewall-connections">
45     <leaf name="MaxConnections">
46       <param name="comment">
47         The highest number of connections in use at any one time since
48         system startup
49       </param>
50       <param name="vertical-label" value="Connection Count"/>
51       <param name="rrd-create-dstype" value="GAUGE"/>
52       <param name="data-file" value="%system-id%_maxcons.rrd"/>
53       <param name="precedence" value="-200"/>
54       <param name="snmp-object" value="$cfwConnectionStatValue.40.7"/>
55       <param name="rrd-ds" value="MaxCons"/>
56       <param name="graph-legend" value="Max Connections"/>
57     </leaf>
58     <leaf name="CurrConnections">
59       <param name="comment">
60         The number of connections currently in use.
61       </param>
62       <param name="vertical-label" value="Connection Count"/>
63       <param name="rrd-create-dstype" value="GAUGE"/>
64       <param name="data-file" value="%system-id%_currcons.rrd"/>
65       <param name="precedence" value="-200"/>
66       <param name="snmp-object" value="$cfwConnectionStatValue.40.6"/>
67       <param name="rrd-ds" value="CurrCons"/>
68       <param name="graph-legend" value="Current Connections"/>
69     </leaf>
70   </template>
71
72   <template name="cisco-firewall-events-delta">
73     <leaf name="EventCount">
74     <param name="comment">
75         Number of entries in the event table. (Proxy for load) (experimental)
76     </param>
77     <param name="precedence"   value="-400" />
78     <param name="snmp-object" value="$cfwBasicEventsTableLastRow" />
79       <param name="rrd-ds"            value="LastRow" />
80       <param name="rrd-create-dstype" value="COUNTER" />
81       <param name="data-file"
82              value="%system-id%_fw_lastrow.rrd" />
83       <param name="graph-legend"      value="Row Count" />
84       <param name="vertical-label"    value="Count" />
85       <param name="graph-lower-limit" value="0"/>
86     </leaf>
87   </template>
88
89 </datasources>
90
91 </configuration>