3 Copyright (C) 2003 Shawn Ferry
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.
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.
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.
20 Shawn Ferry <sferry at sevenspace dot com> <lalartu at obscure dot org>
24 <!-- Cisco Firewall specific definitions -->
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" />
40 <template name="cisco-firewall-subtree">
41 <param name="rrd-hwpredict" value="disabled" />
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
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"/>
58 <leaf name="CurrConnections">
59 <param name="comment">
60 The number of connections currently in use.
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"/>
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)
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"/>