This commit was generated by cvs2svn to compensate for changes in r10640,
[freeside.git] / torrus / xmlconfig / old / cisco.generic.old-0.1.4.xml
1 <?xml version="1.0"?>
2 <!--
3    Copyright (C) 2002  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: cisco.generic.old-0.1.4.xml,v 1.1 2010-12-27 00:04:27 ivan Exp $
20   Stanislav Sinyagin <ssinyagin@yahoo.com>
21
22 -->
23
24 <!-- Common Cisco definitions -->
25
26 <configuration>
27
28 <definitions>
29
30   <!-- CISCO-PROCESS-MIB:cpmCPUTotalTable -->
31   <def name="cpmCPUTotal5minRev" value="1.3.6.1.4.1.9.9.109.1.1.1.1.8" />
32
33   <!-- CISCO-MEMORY-POOL-MIB:ciscoMemoryPoolTable -->
34   <def name="ciscoMemoryPoolUsed"        value="1.3.6.1.4.1.9.9.48.1.1.1.5" />
35   <def name="ciscoMemoryPoolFree"        value="1.3.6.1.4.1.9.9.48.1.1.1.6" />
36
37   <!-- CISCO-ENVMON-MIB:ciscoEnvMonTemperatureStatusTable -->
38   <def name="ciscoEnvMonTemperatureStatusIndex"
39                           value="1.3.6.1.4.1.9.9.13.1.3.1.1" />
40   <def name="ciscoEnvMonTemperatureStatusDescr"
41                           value="1.3.6.1.4.1.9.9.13.1.3.1.2" />
42   <def name="ciscoEnvMonTemperatureStatusValue"
43                           value="1.3.6.1.4.1.9.9.13.1.3.1.3" />
44   <def name="ciscoEnvMonTemperatureStatusState"
45                           value="1.3.6.1.4.1.9.9.13.1.3.1.6" />
46
47 </definitions>
48
49 <datasources>
50
51   <template name="cisco-mempool">
52     <subtree name="Memory_Usage">
53       <param name="rrd-create-dstype" value="GAUGE" />
54       <param name="data-file"         value="%system-id%_mempool.rrd" />
55       <param name="comment"           value="Memory usage statistics" />
56       <param name="precedence"        value="-100" />
57
58       <leaf name="Processor_Memory_Used">
59         <param name="snmp-object"     value="$ciscoMemoryPoolUsed.1"/>
60         <param name="rrd-ds"          value="ciscoMemoryPoolUsed" />
61         <param name="comment">
62           Number of bytes from the Processor memory pool
63           that are currently in use
64         </param>
65         <param name="graph-legend"    value="Memory used" />
66       </leaf>
67
68       <leaf name="Processor_Memory_Free">
69         <param name="snmp-object"     value="$ciscoMemoryPoolFree.1"/>
70         <param name="rrd-ds"          value="ciscoMemoryPoolFree" />
71         <param name="comment">
72           Number of bytes from the Processor memory pool
73           that are currently free
74         </param>
75         <param name="graph-legend"    value="Memory free" />
76       </leaf>
77     </subtree>
78   </template>
79
80   <template name="cisco-cpu">
81     <leaf name="CPU_Total_5min">
82       <param name="rrd-create-dstype"  value="GAUGE" />
83       <param name="data-file"          value="%system-id%_cpu.rrd" />
84       <param name="precedence"         value="-200" />
85       <param name="snmp-object"        value="$cpmCPUTotal5minRev.1"/>
86       <param name="rrd-ds"             value="cpmCPUTotal5minRev" />
87       <param name="comment">
88           The overall CPU busy percentage in the last 5 minute period
89       </param>
90       <param name="graph-legend"       value="CPU usage" />
91     </leaf>
92   </template>
93
94   <!-- template to be applied inside the sensor leaf.
95        Two parameters must be defined: sensor-index and sensor-description -->
96   <template name="cisco-temperature-sensor">
97     <param name="comment"      value="%sensor-description%"/>
98     <param name="rrd-ds"       value="sensor_%sensor-index%"/>
99     <param name="snmp-object"
100            value="$ciscoEnvMonTemperatureStatusValue.%sensor-index%"/>
101     <param name="graph-legend"      value="%sensor-description%"/>
102     <param name="graph-lower-limit" value="10"/>
103     <param name="graph-upper-limit" value="80"/>
104     <param name="vertical-label"  value="degrees Celsius"/>
105   </template>
106
107 </datasources>
108
109 </configuration>