summaryrefslogtreecommitdiff
path: root/torrus/xmlconfig/old/cisco.generic.old-0.1.4.xml
diff options
context:
space:
mode:
Diffstat (limited to 'torrus/xmlconfig/old/cisco.generic.old-0.1.4.xml')
-rw-r--r--torrus/xmlconfig/old/cisco.generic.old-0.1.4.xml109
1 files changed, 109 insertions, 0 deletions
diff --git a/torrus/xmlconfig/old/cisco.generic.old-0.1.4.xml b/torrus/xmlconfig/old/cisco.generic.old-0.1.4.xml
new file mode 100644
index 000000000..4b0c82491
--- /dev/null
+++ b/torrus/xmlconfig/old/cisco.generic.old-0.1.4.xml
@@ -0,0 +1,109 @@
+<?xml version="1.0"?>
+<!--
+ Copyright (C) 2002 Stanislav Sinyagin
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+
+ $Id: cisco.generic.old-0.1.4.xml,v 1.1 2010-12-27 00:04:27 ivan Exp $
+ Stanislav Sinyagin <ssinyagin@yahoo.com>
+
+-->
+
+<!-- Common Cisco definitions -->
+
+<configuration>
+
+<definitions>
+
+ <!-- CISCO-PROCESS-MIB:cpmCPUTotalTable -->
+ <def name="cpmCPUTotal5minRev" value="1.3.6.1.4.1.9.9.109.1.1.1.1.8" />
+
+ <!-- CISCO-MEMORY-POOL-MIB:ciscoMemoryPoolTable -->
+ <def name="ciscoMemoryPoolUsed" value="1.3.6.1.4.1.9.9.48.1.1.1.5" />
+ <def name="ciscoMemoryPoolFree" value="1.3.6.1.4.1.9.9.48.1.1.1.6" />
+
+ <!-- CISCO-ENVMON-MIB:ciscoEnvMonTemperatureStatusTable -->
+ <def name="ciscoEnvMonTemperatureStatusIndex"
+ value="1.3.6.1.4.1.9.9.13.1.3.1.1" />
+ <def name="ciscoEnvMonTemperatureStatusDescr"
+ value="1.3.6.1.4.1.9.9.13.1.3.1.2" />
+ <def name="ciscoEnvMonTemperatureStatusValue"
+ value="1.3.6.1.4.1.9.9.13.1.3.1.3" />
+ <def name="ciscoEnvMonTemperatureStatusState"
+ value="1.3.6.1.4.1.9.9.13.1.3.1.6" />
+
+</definitions>
+
+<datasources>
+
+ <template name="cisco-mempool">
+ <subtree name="Memory_Usage">
+ <param name="rrd-create-dstype" value="GAUGE" />
+ <param name="data-file" value="%system-id%_mempool.rrd" />
+ <param name="comment" value="Memory usage statistics" />
+ <param name="precedence" value="-100" />
+
+ <leaf name="Processor_Memory_Used">
+ <param name="snmp-object" value="$ciscoMemoryPoolUsed.1"/>
+ <param name="rrd-ds" value="ciscoMemoryPoolUsed" />
+ <param name="comment">
+ Number of bytes from the Processor memory pool
+ that are currently in use
+ </param>
+ <param name="graph-legend" value="Memory used" />
+ </leaf>
+
+ <leaf name="Processor_Memory_Free">
+ <param name="snmp-object" value="$ciscoMemoryPoolFree.1"/>
+ <param name="rrd-ds" value="ciscoMemoryPoolFree" />
+ <param name="comment">
+ Number of bytes from the Processor memory pool
+ that are currently free
+ </param>
+ <param name="graph-legend" value="Memory free" />
+ </leaf>
+ </subtree>
+ </template>
+
+ <template name="cisco-cpu">
+ <leaf name="CPU_Total_5min">
+ <param name="rrd-create-dstype" value="GAUGE" />
+ <param name="data-file" value="%system-id%_cpu.rrd" />
+ <param name="precedence" value="-200" />
+ <param name="snmp-object" value="$cpmCPUTotal5minRev.1"/>
+ <param name="rrd-ds" value="cpmCPUTotal5minRev" />
+ <param name="comment">
+ The overall CPU busy percentage in the last 5 minute period
+ </param>
+ <param name="graph-legend" value="CPU usage" />
+ </leaf>
+ </template>
+
+ <!-- template to be applied inside the sensor leaf.
+ Two parameters must be defined: sensor-index and sensor-description -->
+ <template name="cisco-temperature-sensor">
+ <param name="comment" value="%sensor-description%"/>
+ <param name="rrd-ds" value="sensor_%sensor-index%"/>
+ <param name="snmp-object"
+ value="$ciscoEnvMonTemperatureStatusValue.%sensor-index%"/>
+ <param name="graph-legend" value="%sensor-description%"/>
+ <param name="graph-lower-limit" value="10"/>
+ <param name="graph-upper-limit" value="80"/>
+ <param name="vertical-label" value="degrees Celsius"/>
+ </template>
+
+</datasources>
+
+</configuration>