From: <buc...@us...> - 2011-01-22 22:49:40
|
Revision: 202 http://devmon.svn.sourceforge.net/devmon/?rev=202&view=rev Author: buchanmilne Date: 2011-01-22 22:49:33 +0000 (Sat, 22 Jan 2011) Log Message: ----------- New Cisco 3800 and 4948 templates, with cdp test Added Paths: ----------- trunk/templates/cisco-3800/ trunk/templates/cisco-3800/README trunk/templates/cisco-3800/cdp/ trunk/templates/cisco-3800/cdp/exceptions trunk/templates/cisco-3800/cdp/message trunk/templates/cisco-3800/cdp/oids trunk/templates/cisco-3800/cdp/thresholds trunk/templates/cisco-3800/cdp/transforms trunk/templates/cisco-3800/cpu/ trunk/templates/cisco-3800/cpu/exceptions trunk/templates/cisco-3800/cpu/message trunk/templates/cisco-3800/cpu/oids trunk/templates/cisco-3800/cpu/thresholds trunk/templates/cisco-3800/cpu/transforms trunk/templates/cisco-3800/fans/ trunk/templates/cisco-3800/fans/exceptions trunk/templates/cisco-3800/fans/message trunk/templates/cisco-3800/fans/oids trunk/templates/cisco-3800/fans/thresholds trunk/templates/cisco-3800/fans/transforms trunk/templates/cisco-3800/if_dsc/ trunk/templates/cisco-3800/if_dsc/exceptions trunk/templates/cisco-3800/if_dsc/message trunk/templates/cisco-3800/if_dsc/oids trunk/templates/cisco-3800/if_dsc/thresholds trunk/templates/cisco-3800/if_dsc/transforms trunk/templates/cisco-3800/if_err/ trunk/templates/cisco-3800/if_err/exceptions trunk/templates/cisco-3800/if_err/message trunk/templates/cisco-3800/if_err/oids trunk/templates/cisco-3800/if_err/thresholds trunk/templates/cisco-3800/if_err/transforms trunk/templates/cisco-3800/if_load/ trunk/templates/cisco-3800/if_load/exceptions trunk/templates/cisco-3800/if_load/message trunk/templates/cisco-3800/if_load/oids trunk/templates/cisco-3800/if_load/thresholds trunk/templates/cisco-3800/if_load/transforms trunk/templates/cisco-3800/if_stat/ trunk/templates/cisco-3800/if_stat/exceptions trunk/templates/cisco-3800/if_stat/message trunk/templates/cisco-3800/if_stat/oids trunk/templates/cisco-3800/if_stat/thresholds trunk/templates/cisco-3800/if_stat/transforms trunk/templates/cisco-3800/specs trunk/templates/cisco-3800/vpn/ trunk/templates/cisco-3800/vpn/exceptions trunk/templates/cisco-3800/vpn/message trunk/templates/cisco-3800/vpn/oids trunk/templates/cisco-3800/vpn/thresholds trunk/templates/cisco-3800/vpn/transforms trunk/templates/cisco-4948/ trunk/templates/cisco-4948/README trunk/templates/cisco-4948/cdp/ trunk/templates/cisco-4948/cdp/exceptions trunk/templates/cisco-4948/cdp/message trunk/templates/cisco-4948/cdp/oids trunk/templates/cisco-4948/cdp/thresholds trunk/templates/cisco-4948/cdp/transforms trunk/templates/cisco-4948/cpu/ trunk/templates/cisco-4948/cpu/exceptions trunk/templates/cisco-4948/cpu/message trunk/templates/cisco-4948/cpu/oids trunk/templates/cisco-4948/cpu/thresholds trunk/templates/cisco-4948/cpu/transforms trunk/templates/cisco-4948/if_col/ trunk/templates/cisco-4948/if_col/exceptions trunk/templates/cisco-4948/if_col/message trunk/templates/cisco-4948/if_col/oids trunk/templates/cisco-4948/if_col/thresholds trunk/templates/cisco-4948/if_col/transforms trunk/templates/cisco-4948/if_dsc/ trunk/templates/cisco-4948/if_dsc/exceptions trunk/templates/cisco-4948/if_dsc/message trunk/templates/cisco-4948/if_dsc/oids trunk/templates/cisco-4948/if_dsc/thresholds trunk/templates/cisco-4948/if_dsc/transforms trunk/templates/cisco-4948/if_err/ trunk/templates/cisco-4948/if_err/exceptions trunk/templates/cisco-4948/if_err/message trunk/templates/cisco-4948/if_err/oids trunk/templates/cisco-4948/if_err/thresholds trunk/templates/cisco-4948/if_err/transforms trunk/templates/cisco-4948/if_ipv4/ trunk/templates/cisco-4948/if_ipv4/exceptions trunk/templates/cisco-4948/if_ipv4/message trunk/templates/cisco-4948/if_ipv4/message.orig trunk/templates/cisco-4948/if_ipv4/oids trunk/templates/cisco-4948/if_ipv4/thresholds trunk/templates/cisco-4948/if_ipv4/transforms trunk/templates/cisco-4948/if_load/ trunk/templates/cisco-4948/if_load/exceptions trunk/templates/cisco-4948/if_load/message trunk/templates/cisco-4948/if_load/oids trunk/templates/cisco-4948/if_load/thresholds trunk/templates/cisco-4948/if_load/transforms trunk/templates/cisco-4948/if_stat/ trunk/templates/cisco-4948/if_stat/exceptions trunk/templates/cisco-4948/if_stat/message trunk/templates/cisco-4948/if_stat/oids trunk/templates/cisco-4948/if_stat/thresholds trunk/templates/cisco-4948/if_stat/transforms trunk/templates/cisco-4948/memory/ trunk/templates/cisco-4948/memory/exceptions trunk/templates/cisco-4948/memory/message trunk/templates/cisco-4948/memory/oids trunk/templates/cisco-4948/memory/thresholds trunk/templates/cisco-4948/memory/transforms trunk/templates/cisco-4948/specs trunk/templates/cisco-4948/temp/ trunk/templates/cisco-4948/temp/exceptions trunk/templates/cisco-4948/temp/message trunk/templates/cisco-4948/temp/oids trunk/templates/cisco-4948/temp/thresholds trunk/templates/cisco-4948/temp/transforms Added: trunk/templates/cisco-3800/README =================================================================== --- trunk/templates/cisco-3800/README (rev 0) +++ trunk/templates/cisco-3800/README 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,6 @@ +This template was created by Eric Schwimmer. + +NOTE: This does not imply any support responsibilities, liabiltiy in +case of this template or devmon causing phsyical, monetary or emotional +damanges, or any other such obligations. It is merely to provide +credit to the original author of the template. Added: trunk/templates/cisco-3800/cdp/exceptions =================================================================== Added: trunk/templates/cisco-3800/cdp/message =================================================================== --- trunk/templates/cisco-3800/cdp/message (rev 0) +++ trunk/templates/cisco-3800/cdp/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,3 @@ +TABLE: +Local Port|Remote Device|Remote Device Port|Platform|VTP Domain|Native VLAN|Duplex +{cdpCacheDeviceLocalPort}|{cdpCacheDeviceId}|{cdpCacheDevicePort}|{cdpCachePlatform}|{cdpCacheVTPMgmtDomain}|{cdpCacheNativeVLAN}|{cdpCacheDuplex} Added: trunk/templates/cisco-3800/cdp/oids =================================================================== --- trunk/templates/cisco-3800/cdp/oids (rev 0) +++ trunk/templates/cisco-3800/cdp/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,26 @@ +#cdpCacheIfIndex : .1.3.6.1.4.1.9.9.23.1.2.1.1.1 : branch +#cdpCacheDeviceIndex : .1.3.6.1.4.1.9.9.23.1.2.1.1.2 : branch +cdpCacheAddressType : .1.3.6.1.4.1.9.9.23.1.2.1.1.3 : branch +cdpCacheAddress : .1.3.6.1.4.1.9.9.23.1.2.1.1.4 : branch +cdpCacheVersion : .1.3.6.1.4.1.9.9.23.1.2.1.1.5 : branch +cdpCacheDeviceId : .1.3.6.1.4.1.9.9.23.1.2.1.1.6 : branch +cdpCacheDevicePort : .1.3.6.1.4.1.9.9.23.1.2.1.1.7 : branch +cdpCachePlatform : .1.3.6.1.4.1.9.9.23.1.2.1.1.8 : branch +#cdpCacheCapabilities : .1.3.6.1.4.1.9.9.23.1.2.1.1.9 : branch +cdpCacheVTPMgmtDomain : .1.3.6.1.4.1.9.9.23.1.2.1.1.10 : branch +cdpCacheNativeVLAN : .1.3.6.1.4.1.9.9.23.1.2.1.1.11 : branch +cdpCacheDuplex : .1.3.6.1.4.1.9.9.23.1.2.1.1.12 : branch +#cdpCacheApplianceID : .1.3.6.1.4.1.9.9.23.1.2.1.1.13 : branch +#cdpCacheVlanID : .1.3.6.1.4.1.9.9.23.1.2.1.1.14 : branch +#cdpCachePowerConsumption : .1.3.6.1.4.1.9.9.23.1.2.1.1.15 : branch +#cdpCacheMTU : .1.3.6.1.4.1.9.9.23.1.2.1.1.16 : branch +#cdpCacheSysName : .1.3.6.1.4.1.9.9.23.1.2.1.1.17 : branch +#cdpCacheSysObjectID : .1.3.6.1.4.1.9.9.23.1.2.1.1.18 : branch +#cdpCachePrimaryMgmtAddrType : .1.3.6.1.4.1.9.9.23.1.2.1.1.19 : branch +#cdpCachePrimaryMgmtAddr : .1.3.6.1.4.1.9.9.23.1.2.1.1.20 : branch +#cdpCacheSecondaryMgmtAddrType : .1.3.6.1.4.1.9.9.23.1.2.1.1.21 : branch +#cdpCacheSecondaryMgmtAddr : .1.3.6.1.4.1.9.9.23.1.2.1.1.22 : branch +#cdpCachePhysLocation : .1.3.6.1.4.1.9.9.23.1.2.1.1.23 : branch +#cdpCacheLastChange : .1.3.6.1.4.1.9.9.23.1.2.1.1.24 : branch + +ifName : .1.3.6.1.2.1.31.1.1.1.1 : branch Added: trunk/templates/cisco-3800/cdp/thresholds =================================================================== Added: trunk/templates/cisco-3800/cdp/transforms =================================================================== --- trunk/templates/cisco-3800/cdp/transforms (rev 0) +++ trunk/templates/cisco-3800/cdp/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,13 @@ +cdpCacheDeviceLocalPortIndexTwoDig : INDEX : {cdpCacheDevicePort} +cdpCacheDeviceLocalPortIndex : REGSUB : {cdpCacheDeviceLocalPortIndexTwoDig} /\d+\.(\d+)$/$1/ +cdpCacheDeviceLocalPort : CHAIN : {cdpCacheDeviceLocalPortIndex} {ifName} + +cdpCacheAddressp1H : SUBSTR :{cdpCacheAddress} 0 2 +cdpCacheAddressp2H : SUBSTR :{cdpCacheAddress} 2 2 +cdpCacheAddressp3H : SUBSTR :{cdpCacheAddress} 4 2 +cdpCacheAddressp4H : SUBSTR :{cdpCacheAddress} 6 2 + +cdpCacheAddressp1 : CONVERT : {cdpCacheAddressp1H} hex +cdpCacheAddressp2 : CONVERT : {cdpCacheAddressp2H} hex +cdpCacheAddressp3 : CONVERT : {cdpCacheAddressp3H} hex +cdpCacheAddressp4 : CONVERT : {cdpCacheAddressp4H} hex Added: trunk/templates/cisco-3800/cpu/exceptions =================================================================== Added: trunk/templates/cisco-3800/cpu/message =================================================================== --- trunk/templates/cisco-3800/cpu/message (rev 0) +++ trunk/templates/cisco-3800/cpu/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,5 @@ + +{sysUpTimeSecs.color}: Up for {UpTimeTxt} + +System description: +{sysDescr} Added: trunk/templates/cisco-3800/cpu/oids =================================================================== --- trunk/templates/cisco-3800/cpu/oids (rev 0) +++ trunk/templates/cisco-3800/cpu/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,2 @@ +sysDescr : .1.3.6.1.2.1.1.1.0 : leaf +sysUpTime : .1.3.6.1.2.1.1.3.0 : leaf Added: trunk/templates/cisco-3800/cpu/thresholds =================================================================== --- trunk/templates/cisco-3800/cpu/thresholds (rev 0) +++ trunk/templates/cisco-3800/cpu/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,3 @@ +sysUpTimeSecs : red : <600 : Device rebooted recently. System uptime: {UpTimeTxt} +sysUpTimeSecs : yellow : <5000 : Device rebooted recently. System uptime: {UpTimeTxt} +sysUpTimeSecs : green : : System uptime: {UpTimeTxt} Added: trunk/templates/cisco-3800/cpu/transforms =================================================================== --- trunk/templates/cisco-3800/cpu/transforms (rev 0) +++ trunk/templates/cisco-3800/cpu/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,2 @@ +sysUpTimeSecs : MATH : {sysUpTime} / 100 +UpTimeTxt : ELAPSED : {sysUpTimeSecs} Added: trunk/templates/cisco-3800/fans/exceptions =================================================================== Added: trunk/templates/cisco-3800/fans/message =================================================================== --- trunk/templates/cisco-3800/fans/message (rev 0) +++ trunk/templates/cisco-3800/fans/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,3 @@ +TABLE: +Fan location|Fan state +{FanDescr}|{FanStatus.color}{FanStatus} Added: trunk/templates/cisco-3800/fans/oids =================================================================== --- trunk/templates/cisco-3800/fans/oids (rev 0) +++ trunk/templates/cisco-3800/fans/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,2 @@ +FanDescr : .1.3.6.1.4.1.9.9.13.1.4.1.2 : branch +FanState : .1.3.6.1.4.1.9.9.13.1.4.1.3 : branch Added: trunk/templates/cisco-3800/fans/thresholds =================================================================== --- trunk/templates/cisco-3800/fans/thresholds (rev 0) +++ trunk/templates/cisco-3800/fans/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,3 @@ +FanStatus : red : critical|not functioning +FanStatus : yellow : warning|shutdown|not present +FanStatus : green : normal Added: trunk/templates/cisco-3800/fans/transforms =================================================================== --- trunk/templates/cisco-3800/fans/transforms (rev 0) +++ trunk/templates/cisco-3800/fans/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1 @@ +FanStatus : SWITCH : {FanState} 1=normal,2=warning,3=critical,4=shutdown,5=not present,6=not functioning Added: trunk/templates/cisco-3800/if_dsc/exceptions =================================================================== --- trunk/templates/cisco-3800/if_dsc/exceptions (rev 0) +++ trunk/templates/cisco-3800/if_dsc/exceptions 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,2 @@ +ifName : alarm : Gi.+ +ifName : ignore : Nu.+|Vl.+ Added: trunk/templates/cisco-3800/if_dsc/message =================================================================== --- trunk/templates/cisco-3800/if_dsc/message (rev 0) +++ trunk/templates/cisco-3800/if_dsc/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,8 @@ +<b>Discards:</b> +TABLE: +Ifc name|Discards in|Discard rate in|Discard load in|Discards out|Discard rate out|Discard load out +{ifName}|{ifInDiscards}|{ifInDps}|{ifInDscPct.color}{ifInDscPct}%{ifInDscPct.errors}|{ifOutDiscards}|{ifOutDps}|{ifOutDscPct.color}{ifOutDscPct}%{ifOutDscPct.errors} + +Note: +Error rates are per second. +Load percentages are based on error/bit ratio. Added: trunk/templates/cisco-3800/if_dsc/oids =================================================================== --- trunk/templates/cisco-3800/if_dsc/oids (rev 0) +++ trunk/templates/cisco-3800/if_dsc/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,6 @@ +ifName : .1.3.6.1.2.1.2.2.1.2 : branch +ifSpeed : .1.3.6.1.2.1.2.2.1.5 : branch +ifInOctets : .1.3.6.1.2.1.2.2.1.10 : branch +ifInDiscards : .1.3.6.1.2.1.2.2.1.13 : branch +ifOutOctets : .1.3.6.1.2.1.2.2.1.16 : branch +ifOutDiscards : .1.3.6.1.2.1.2.2.1.19 : branch Added: trunk/templates/cisco-3800/if_dsc/thresholds =================================================================== --- trunk/templates/cisco-3800/if_dsc/thresholds (rev 0) +++ trunk/templates/cisco-3800/if_dsc/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,6 @@ +# Create thresholds for all the error rate counters +# oid name : color : limit : Error message +ifInDscPct : yellow : 5 : {ifName} - High input discard rate. ({ifInDscPct}%) +ifInDscPct : red : 10 : {ifName} - Very high input discard rate. ({ifInDscPct}%) +ifOutDscPct : yellow : 5 : {ifName} - High output discard rate ({ifOutDscPct}%) +ifOutDscPct : red : 10 : {ifName} - Very high output discard rate ({ifOutDscPct}%) Added: trunk/templates/cisco-3800/if_dsc/transforms =================================================================== --- trunk/templates/cisco-3800/if_dsc/transforms (rev 0) +++ trunk/templates/cisco-3800/if_dsc/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,12 @@ +# Get bit speed delta (so we dont have to provide custom delta limit) +ifInOps : DELTA : {ifInOctets} +ifOutOps : DELTA : {ifOutOctets} +# Convert our octets delta into bits per second +ifInBps : MATH : {ifInOps} x 8 +ifOutBps : MATH : {ifOutOps} x 8 +# Do delta transform on all error counters +ifInDps : DELTA : {ifInDiscards} +ifOutDps : DELTA : {ifOutDiscards} +# Perform error to traffic percentage calculations +ifInDscPct : MATH : ({ifInDps} / {ifInBps}) x 100 +ifOutDscPct : MATH : ({ifOutDps} / {ifOutBps}) x 100 Added: trunk/templates/cisco-3800/if_err/exceptions =================================================================== --- trunk/templates/cisco-3800/if_err/exceptions (rev 0) +++ trunk/templates/cisco-3800/if_err/exceptions 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,2 @@ +ifName : alarm : Gi.+ +ifName : ignore : Nu.+|Vl.+ Added: trunk/templates/cisco-3800/if_err/message =================================================================== --- trunk/templates/cisco-3800/if_err/message (rev 0) +++ trunk/templates/cisco-3800/if_err/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,11 @@ +<b>Errors:</b> +Input errors: yellow={ifInErrPct.thresh:yellow}%, red={ifInErrPct.thresh:red}% +Output errors: yellow={ifOutErrPct.thresh:yellow}%, red={ifOutErrPct.thresh:red}% + +TABLE: +Ifc name|Errors in|Error rate in|Error load in|Errors out|Error rate out|Error load out +{ifName}|{ifInErrors}|{ifInEps}|{ifInErrPct.color}{ifInErrPct}%{ifInErrPct.errors}|{ifOutErrors}|{ifOutEps}|{ifOutErrPct.color}{ifOutErrPct}%{ifOutErrPct.errors} + +Note: +Error rates are per second, averaged over a 60 second interval. +Load percentages are based on error/bit ratio. Added: trunk/templates/cisco-3800/if_err/oids =================================================================== --- trunk/templates/cisco-3800/if_err/oids (rev 0) +++ trunk/templates/cisco-3800/if_err/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,6 @@ +ifName : .1.3.6.1.2.1.2.2.1.2.1 : branch +ifSpeed : .1.3.6.1.2.1.2.2.1.5 : branch +ifInOctets : .1.3.6.1.2.1.2.2.1.10 : branch +ifInErrors : .1.3.6.1.2.1.2.2.1.14 : branch +ifOutOctets : .1.3.6.1.2.1.2.2.1.16 : branch +ifOutErrors : .1.3.6.1.2.1.2.2.1.20 : branch Added: trunk/templates/cisco-3800/if_err/thresholds =================================================================== --- trunk/templates/cisco-3800/if_err/thresholds (rev 0) +++ trunk/templates/cisco-3800/if_err/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,6 @@ +# Create thresholds for all the error rate counters +# oid name : color : limit : Error message +ifInErrPct : yellow : 5 : {ifName} - High input error rate ({ifInErrPct}%) +ifInErrPct : red : 10 : {ifName} - Very high input error rate ({ifInErrPct}%) +ifOutErrPct : yellow : 5 : {ifName} - High output error rate ({ifOutErrPct}%) +ifOutErrPct : red : 10 : {ifName} - Very high output error rate ({ifOutErrPct}%) Added: trunk/templates/cisco-3800/if_err/transforms =================================================================== --- trunk/templates/cisco-3800/if_err/transforms (rev 0) +++ trunk/templates/cisco-3800/if_err/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,13 @@ +# Get bit speed delta (so we dont have to provide custom delta limit) +ifInOps : DELTA : {ifInOctets} +ifOutOps : DELTA : {ifOutOctets} +# Convert our octets delta into bits per second +ifInBps : MATH : {ifInOps} x 8 +ifOutBps : MATH : {ifOutOps} x 8 +# Do delta transform on all error counters +ifInEps : DELTA : {ifInErrors} +ifOutEps : DELTA : {ifOutErrors} +# Perform error to traffic percentage calculations +ifInErrPct : MATH : ({ifInEps} / {ifInBps}) x 100 +ifOutErrPct : MATH : ({ifOutEps} / {ifOutBps}) x 100 + Added: trunk/templates/cisco-3800/if_load/exceptions =================================================================== --- trunk/templates/cisco-3800/if_load/exceptions (rev 0) +++ trunk/templates/cisco-3800/if_load/exceptions 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1 @@ +ifName : ignore : Nu.+|Vl.+ Added: trunk/templates/cisco-3800/if_load/message =================================================================== --- trunk/templates/cisco-3800/if_load/message (rev 0) +++ trunk/templates/cisco-3800/if_load/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,7 @@ + +<b>Interface error rates:</b> +Input load: yellow={ifInLoad.thresh:yellow}%, red={ifInLoad.thresh:red}% +Output load: yellow={ifOutLoad.thresh:yellow}%, red={ifOutLoad.thresh:red}% +TABLE:rrd(DS:ds0:ifInOctets:COUNTER; DS:ds1:ifOutOctets:COUNTER) +Ifc name|Ifc Speed|Rate in (load %)|Rate out (load %) +{ifName}|{ifSpeed}|{ifInLoad.color}{ifInSpeed} ({ifInLoad}%){ifInLoad.errors}|{ifOutLoad.color}{ifOutSpeed} ({ifOutLoad}%){ifOutLoad.errors} Added: trunk/templates/cisco-3800/if_load/oids =================================================================== --- trunk/templates/cisco-3800/if_load/oids (rev 0) +++ trunk/templates/cisco-3800/if_load/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,4 @@ +ifName : .1.3.6.1.2.1.2.2.1.10 : branch +ifBps : .1.3.6.1.2.1.2.2.1.5 : branch +ifInOctets : .1.3.6.1.2.1.2.2.1.10 : branch +ifOutOctets : .1.3.6.1.2.1.2.2.1.16 : branch Added: trunk/templates/cisco-3800/if_load/thresholds =================================================================== --- trunk/templates/cisco-3800/if_load/thresholds (rev 0) +++ trunk/templates/cisco-3800/if_load/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,4 @@ +ifInLoad : yellow : 75 : {ifName} load is high +ifInLoad : red : 95 : {ifName} load is very high +ifOutLoad : yellow : 75 : {ifName} load is high +ifOutLoad : red : 95 : {ifName} load is very high Added: trunk/templates/cisco-3800/if_load/transforms =================================================================== --- trunk/templates/cisco-3800/if_load/transforms (rev 0) +++ trunk/templates/cisco-3800/if_load/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,14 @@ +# Create a human-readable ifc speed +ifSpeed : SPEED : {ifBps} +# Get bit speed delta (so we dont have to provide custom delta limit) +ifInOps : DELTA : {ifInOctets} +ifOutOps : DELTA : {ifOutOctets} +# Convert our octets delta into bits per second +ifInBps : MATH : {ifInOps} x 8 +ifOutBps : MATH : {ifOutOps} x 8 +# Make some easily readable speed variables +ifInSpeed : SPEED : {ifInBps} +ifOutSpeed : SPEED : {ifOutBps} +# Now determine our percentage load, based on traffic and ifc speed +ifInLoad : MATH : ({ifInBps} / {ifBps}) x 100 +ifOutLoad : MATH : ({ifOutBps} / {ifBps}) x 100 Added: trunk/templates/cisco-3800/if_stat/exceptions =================================================================== --- trunk/templates/cisco-3800/if_stat/exceptions (rev 0) +++ trunk/templates/cisco-3800/if_stat/exceptions 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,2 @@ +ifName : alarm : Gi.+ +ifName : ignore : Nu.+|Vl.+ Added: trunk/templates/cisco-3800/if_stat/message =================================================================== --- trunk/templates/cisco-3800/if_stat/message (rev 0) +++ trunk/templates/cisco-3800/if_stat/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,3 @@ +TABLE: +Ifc name|Ifc speed|Ifc status +{ifName}|{ifSpeed}|{ifStat.color}{ifStat}{ifStat.errors} Added: trunk/templates/cisco-3800/if_stat/oids =================================================================== --- trunk/templates/cisco-3800/if_stat/oids (rev 0) +++ trunk/templates/cisco-3800/if_stat/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,4 @@ +ifName : .1.3.6.1.2.1.2.2.1.10 : branch +ifBps : .1.3.6.1.2.1.2.2.1.5 : branch +ifAdminStatNum : .1.3.6.1.2.1.2.2.1.7 : branch +ifOperStatNum : .1.3.6.1.2.1.2.2.1.8 : branch Added: trunk/templates/cisco-3800/if_stat/thresholds =================================================================== --- trunk/templates/cisco-3800/if_stat/thresholds (rev 0) +++ trunk/templates/cisco-3800/if_stat/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,6 @@ +ifAdminStatTxt : green : admin down : Interface {ifName} is {ifAdminStatTxt} +ifAdminStatTxt : yellow : testing : Interface {ifName} is {ifAdminStatTxt} +ifAdminStatTxt : red : up : Interface {ifName} is {ifAdminStatTxt} +ifOperStatTxt : green : up : Interface {ifName} is {ifOperStatTxt} +ifOperStatTxt : yellow : dormant|testing|yellow|not present|layer down : Interface {ifName} is {ifOperStatTxt} +ifOperStatTxt : red : down : Interface {ifName} is {ifOperStatTxt} Added: trunk/templates/cisco-3800/if_stat/transforms =================================================================== --- trunk/templates/cisco-3800/if_stat/transforms (rev 0) +++ trunk/templates/cisco-3800/if_stat/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,4 @@ +ifAdminStatTxt : SWITCH : {ifAdminStatNum} 1=up,2=admin down,3=testing +ifOperStatTxt : SWITCH : {ifOperStatNum} 1=up,2=down,3=testing,4=unknown,5=dormant,6=not present,7=lower layer down +ifStat : BEST : {ifAdminStatTxt},{ifOperStatTxt} +ifSpeed : SPEED : {ifBps} Added: trunk/templates/cisco-3800/specs =================================================================== --- trunk/templates/cisco-3800/specs (rev 0) +++ trunk/templates/cisco-3800/specs 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,4 @@ +vendor : cisco +model : 3800 +snmpver : 2 +sysdesc : Cisco IOS Software.*3800 Software Added: trunk/templates/cisco-3800/vpn/exceptions =================================================================== Added: trunk/templates/cisco-3800/vpn/message =================================================================== --- trunk/templates/cisco-3800/vpn/message (rev 0) +++ trunk/templates/cisco-3800/vpn/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,3 @@ +TABLE: +Description|Type|Peer|Number of Peers +{cipsStaticCryptomapDescr}|{cipsStaticCryptomapType}|{cipsStaticCryptomapPeer}|{cipsStaticCryptomapNumPeers} Added: trunk/templates/cisco-3800/vpn/oids =================================================================== --- trunk/templates/cisco-3800/vpn/oids (rev 0) +++ trunk/templates/cisco-3800/vpn/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,4 @@ +cipsStaticCryptomapType : 1.3.6.1.4.1.9.10.62.1.2.3.3.1.2 : branch +cipsStaticCryptomapDescr : 1.3.6.1.4.1.9.10.62.1.2.3.3.1.3 : branch +cipsStaticCryptomapPeerB : 1.3.6.1.4.1.9.10.62.1.2.3.3.1.4 : branch +cipsStaticCryptomapNumPeers : 1.3.6.1.4.1.9.10.62.1.2.3.3.1.5 : branch Added: trunk/templates/cisco-3800/vpn/thresholds =================================================================== Added: trunk/templates/cisco-3800/vpn/transforms =================================================================== --- trunk/templates/cisco-3800/vpn/transforms (rev 0) +++ trunk/templates/cisco-3800/vpn/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,16 @@ +cipsStaticCryptomapPeerp1B : SUBSTR :{cipsStaticCryptomapPeerB} 0 1 +cipsStaticCryptomapPeerp2B : SUBSTR :{cipsStaticCryptomapPeerB} 1 1 +cipsStaticCryptomapPeerp3B : SUBSTR :{cipsStaticCryptomapPeerB} 2 1 +cipsStaticCryptomapPeerp4B : SUBSTR :{cipsStaticCryptomapPeerB} 3 1 + +cipsStaticCryptomapPeerp1H : UNPACK : {cipsStaticCryptomapPeerp1B} H2 +cipsStaticCryptomapPeerp2H : UNPACK : {cipsStaticCryptomapPeerp2B} H2 +cipsStaticCryptomapPeerp3H : UNPACK : {cipsStaticCryptomapPeerp3B} H2 +cipsStaticCryptomapPeerp4H : UNPACK : {cipsStaticCryptomapPeerp4B} H2 + +cipsStaticCryptomapPeerp1 : CONVERT : {cipsStaticCryptomapPeerp1H} hex +cipsStaticCryptomapPeerp2 : CONVERT : {cipsStaticCryptomapPeerp2H} hex +cipsStaticCryptomapPeerp3 : CONVERT : {cipsStaticCryptomapPeerp3H} hex +cipsStaticCryptomapPeerp4 : CONVERT : {cipsStaticCryptomapPeerp4H} hex + +cipsStaticCryptomapPeer : REGSUB : {cipsStaticCryptomapPeerB} /.*/{cipsStaticCryptomapPeerp1}.{cipsStaticCryptomapPeerp2}.{cipsStaticCryptomapPeerp3}.{cipsStaticCryptomapPeerp4}/ Added: trunk/templates/cisco-4948/README =================================================================== --- trunk/templates/cisco-4948/README (rev 0) +++ trunk/templates/cisco-4948/README 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,6 @@ +This template was created by Buchan Milne + +NOTE: This does not imply any support responsibilities, liabiltiy in +case of this template or devmon causing phsyical, monetary or emotional +damanges, or any other such obligations. It is merely to provide +credit to the original author of the template. Added: trunk/templates/cisco-4948/cdp/exceptions =================================================================== Added: trunk/templates/cisco-4948/cdp/message =================================================================== --- trunk/templates/cisco-4948/cdp/message (rev 0) +++ trunk/templates/cisco-4948/cdp/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,3 @@ +TABLE: +Local Port|Remote Device|Remote Device Port|Platform|VTP Domain|Native VLAN|Duplex +{cdpCacheDeviceLocalPort}|{cdpCacheDeviceId}|{cdpCacheDevicePort}|{cdpCachePlatform}|{cdpCacheVTPMgmtDomain}|{cdpCacheNativeVLAN}|{cdpCacheDuplex} Added: trunk/templates/cisco-4948/cdp/oids =================================================================== --- trunk/templates/cisco-4948/cdp/oids (rev 0) +++ trunk/templates/cisco-4948/cdp/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,26 @@ +#cdpCacheIfIndex : .1.3.6.1.4.1.9.9.23.1.2.1.1.1 : branch +#cdpCacheDeviceIndex : .1.3.6.1.4.1.9.9.23.1.2.1.1.2 : branch +cdpCacheAddressType : .1.3.6.1.4.1.9.9.23.1.2.1.1.3 : branch +cdpCacheAddress : .1.3.6.1.4.1.9.9.23.1.2.1.1.4 : branch +cdpCacheVersion : .1.3.6.1.4.1.9.9.23.1.2.1.1.5 : branch +cdpCacheDeviceId : .1.3.6.1.4.1.9.9.23.1.2.1.1.6 : branch +cdpCacheDevicePort : .1.3.6.1.4.1.9.9.23.1.2.1.1.7 : branch +cdpCachePlatform : .1.3.6.1.4.1.9.9.23.1.2.1.1.8 : branch +#cdpCacheCapabilities : .1.3.6.1.4.1.9.9.23.1.2.1.1.9 : branch +cdpCacheVTPMgmtDomain : .1.3.6.1.4.1.9.9.23.1.2.1.1.10 : branch +cdpCacheNativeVLAN : .1.3.6.1.4.1.9.9.23.1.2.1.1.11 : branch +cdpCacheDuplex : .1.3.6.1.4.1.9.9.23.1.2.1.1.12 : branch +#cdpCacheApplianceID : .1.3.6.1.4.1.9.9.23.1.2.1.1.13 : branch +#cdpCacheVlanID : .1.3.6.1.4.1.9.9.23.1.2.1.1.14 : branch +#cdpCachePowerConsumption : .1.3.6.1.4.1.9.9.23.1.2.1.1.15 : branch +#cdpCacheMTU : .1.3.6.1.4.1.9.9.23.1.2.1.1.16 : branch +#cdpCacheSysName : .1.3.6.1.4.1.9.9.23.1.2.1.1.17 : branch +#cdpCacheSysObjectID : .1.3.6.1.4.1.9.9.23.1.2.1.1.18 : branch +#cdpCachePrimaryMgmtAddrType : .1.3.6.1.4.1.9.9.23.1.2.1.1.19 : branch +#cdpCachePrimaryMgmtAddr : .1.3.6.1.4.1.9.9.23.1.2.1.1.20 : branch +#cdpCacheSecondaryMgmtAddrType : .1.3.6.1.4.1.9.9.23.1.2.1.1.21 : branch +#cdpCacheSecondaryMgmtAddr : .1.3.6.1.4.1.9.9.23.1.2.1.1.22 : branch +#cdpCachePhysLocation : .1.3.6.1.4.1.9.9.23.1.2.1.1.23 : branch +#cdpCacheLastChange : .1.3.6.1.4.1.9.9.23.1.2.1.1.24 : branch + +ifName : .1.3.6.1.2.1.31.1.1.1.1 : branch Added: trunk/templates/cisco-4948/cdp/thresholds =================================================================== Added: trunk/templates/cisco-4948/cdp/transforms =================================================================== --- trunk/templates/cisco-4948/cdp/transforms (rev 0) +++ trunk/templates/cisco-4948/cdp/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,13 @@ +cdpCacheDeviceLocalPortIndexTwoDig : INDEX : {cdpCacheDevicePort} +cdpCacheDeviceLocalPortIndex : REGSUB : {cdpCacheDeviceLocalPortIndexTwoDig} /\d+\.(\d+)$/$1/ +cdpCacheDeviceLocalPort : CHAIN : {cdpCacheDeviceLocalPortIndex} {ifName} + +cdpCacheAddressp1H : SUBSTR :{cdpCacheAddress} 0 2 +cdpCacheAddressp2H : SUBSTR :{cdpCacheAddress} 2 2 +cdpCacheAddressp3H : SUBSTR :{cdpCacheAddress} 4 2 +cdpCacheAddressp4H : SUBSTR :{cdpCacheAddress} 6 2 + +cdpCacheAddressp1 : CONVERT : {cdpCacheAddressp1H} hex +cdpCacheAddressp2 : CONVERT : {cdpCacheAddressp2H} hex +cdpCacheAddressp3 : CONVERT : {cdpCacheAddressp3H} hex +cdpCacheAddressp4 : CONVERT : {cdpCacheAddressp4H} hex Added: trunk/templates/cisco-4948/cpu/exceptions =================================================================== Added: trunk/templates/cisco-4948/cpu/message =================================================================== --- trunk/templates/cisco-4948/cpu/message (rev 0) +++ trunk/templates/cisco-4948/cpu/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,12 @@ +Name: {sysName} +Contact: {sysContact} +Location: {sysLocation} +{sysUpTimeSecs.color}: Up for {UpTimeTxt} +{sysUpTimeSecs.color}: Last reboot due to {sysReloadReason} +{CPUTotal5Min.color}: CPU usage: {CPUTotal5Min}% + +System description: +{sysDescr} +<!-- +<br>CPU 5 min average: {CPUTotal5Min} +--> Added: trunk/templates/cisco-4948/cpu/oids =================================================================== --- trunk/templates/cisco-4948/cpu/oids (rev 0) +++ trunk/templates/cisco-4948/cpu/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,8 @@ + +sysDescr : .1.3.6.1.2.1.1.1.0 : leaf +sysContact : .1.3.6.1.2.1.1.4.0 : leaf +sysName : .1.3.6.1.2.1.1.5.0 : leaf +sysLocation : .1.3.6.1.2.1.1.6.0 : leaf +sysReloadReason : .1.3.6.1.4.1.9.2.1.2.0 : leaf +sysUpTime : .1.3.6.1.2.1.1.3.0 : leaf +CPUTotal5Min : .1.3.6.1.4.1.9.9.109.1.1.1.1.5.1 : leaf Added: trunk/templates/cisco-4948/cpu/thresholds =================================================================== --- trunk/templates/cisco-4948/cpu/thresholds (rev 0) +++ trunk/templates/cisco-4948/cpu/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,8 @@ + +CPUTotal5Min : red : >70 : CPU utilization is very high: {CPUTotal5Min}% +CPUTotal5Min : yellow : >30 : CPU utilization is high: {CPUTotal5Min}% +CPUTotal5Min : green : : CPU utilization is nominal: {CPUTotal5Min}% + +sysUpTimeSecs : red : <600 : Device rebooted recently. System uptime: {UpTimeTxt} +sysUpTimeSecs : yellow : <5000 : Device rebooted recently. System uptime: {UpTimeTxt} +sysUpTimeSecs : green : : System uptime: {UpTimeTxt} Added: trunk/templates/cisco-4948/cpu/transforms =================================================================== --- trunk/templates/cisco-4948/cpu/transforms (rev 0) +++ trunk/templates/cisco-4948/cpu/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,2 @@ +sysUpTimeSecs : MATH : {sysUpTime} / 100 +UpTimeTxt : ELAPSED : {sysUpTimeSecs} Added: trunk/templates/cisco-4948/if_col/exceptions =================================================================== --- trunk/templates/cisco-4948/if_col/exceptions (rev 0) +++ trunk/templates/cisco-4948/if_col/exceptions 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,2 @@ +ifName : alarm : .+ +ifName : ignore : Nu.+|Vl.+|VLAN.+ Added: trunk/templates/cisco-4948/if_col/message =================================================================== --- trunk/templates/cisco-4948/if_col/message (rev 0) +++ trunk/templates/cisco-4948/if_col/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,9 @@ +<b>Collisions:</b> +Collision load: yellow={ifOutColPct.thresh:yellow}%, red={ifOutColPct.thresh:red}% +TABLE: +Ifc name|Collisions|Collisions rate|Collisions load +{ifName}{ifAliasBox}|{ifOutCollisions}|{ifOutCps}|{ifOutColPct.color}{ifOutColPct}%{ifOutColPct.errors} + +Note: +Error rates are per second. +Load percentages are based on an error/packet ratio. Added: trunk/templates/cisco-4948/if_col/oids =================================================================== --- trunk/templates/cisco-4948/if_col/oids (rev 0) +++ trunk/templates/cisco-4948/if_col/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,5 @@ +ifName : .1.3.6.1.2.1.31.1.1.1.1 : branch +ifAlias : .1.3.6.1.2.1.31.1.1.1.18 : branch +ifSpeed : .1.3.6.1.2.1.2.2.1.5 : branch +ifOutCollisions : .1.3.6.1.4.1.9.2.2.1.1.25 : branch +ifOutPktsSec : .1.3.6.1.4.1.9.2.2.1.1.9 : branch Added: trunk/templates/cisco-4948/if_col/thresholds =================================================================== --- trunk/templates/cisco-4948/if_col/thresholds (rev 0) +++ trunk/templates/cisco-4948/if_col/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,4 @@ +# Create thresholds for all the error rate counters +# oid name : color : limit : Error message +ifOutColPct : yellow : 40 : {ifName}{ifAliasBox} - High output collision rate ({ifOutColPct}%) +ifOutColPct : red : 70 : {ifName}{ifAliasBox} - Very high output collision rate ({ifOutColPct}%) Added: trunk/templates/cisco-4948/if_col/transforms =================================================================== --- trunk/templates/cisco-4948/if_col/transforms (rev 0) +++ trunk/templates/cisco-4948/if_col/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,12 @@ +# Convert our total ifc octets(bytes) into bits +ifOutCps : DELTA : {ifOutCollisions} + +# Create our REAL packets per second +ifOutPps : MATH : {ifOutCps} + {ifOutPktsSec} + +# Determine percentage of packets that are collisions +ifOutColPct : MATH : ({ifOutCps} / {ifOutPps}) x 100 + +# Create an alias in a bracketed box, or nothing if alias is blank +ifAliasBox : REGSUB : {ifAlias} /(\S+.*)/ [$1]/ + Added: trunk/templates/cisco-4948/if_dsc/exceptions =================================================================== --- trunk/templates/cisco-4948/if_dsc/exceptions (rev 0) +++ trunk/templates/cisco-4948/if_dsc/exceptions 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,2 @@ +ifName : alarm : .+ +ifName : ignore : Nu.+|Vl.+|VLAN.+ Added: trunk/templates/cisco-4948/if_dsc/message =================================================================== --- trunk/templates/cisco-4948/if_dsc/message (rev 0) +++ trunk/templates/cisco-4948/if_dsc/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,8 @@ +<b>Discards:</b> +TABLE: +Ifc name|Discards in|Discard rate in|Discard load in|Discards out|Discard rate out|Discard load out +{ifName}{ifAliasBox}|{ifInDiscards}|{ifInDps}|{ifInDscPct.color}{ifInDscPct}%{ifInDscPct.errors}|{ifOutDiscards}|{ifOutDps}|{ifOutDscPct.color}{ifOutDscPct}%{ifOutDscPct.errors} + +Note: +Error rates are per second. +Load percentages are based on error/bit ratio. Added: trunk/templates/cisco-4948/if_dsc/oids =================================================================== --- trunk/templates/cisco-4948/if_dsc/oids (rev 0) +++ trunk/templates/cisco-4948/if_dsc/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,6 @@ +ifName : .1.3.6.1.2.1.31.1.1.1.1 : branch +ifAlias : .1.3.6.1.2.1.31.1.1.1.18 : branch +ifInOctets : .1.3.6.1.2.1.2.2.1.10 : branch +ifInDiscards : .1.3.6.1.2.1.2.2.1.13 : branch +ifOutOctets : .1.3.6.1.2.1.2.2.1.16 : branch +ifOutDiscards : .1.3.6.1.2.1.2.2.1.19 : branch Added: trunk/templates/cisco-4948/if_dsc/thresholds =================================================================== --- trunk/templates/cisco-4948/if_dsc/thresholds (rev 0) +++ trunk/templates/cisco-4948/if_dsc/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,6 @@ +# Create thresholds for all the error rate counters +# oid name : color : limit : Error message +ifInDscPct : yellow : 5 : {ifName}{ifAliasBox} - High input discard rate. ({ifInDscPct}%) +ifInDscPct : red : 10 : {ifName}{ifAliasBox} - Very high input discard rate. ({ifInDscPct}%) +ifOutDscPct : yellow : 5 : {ifName}{ifAliasBox} - High output discard rate ({ifOutDscPct}%) +ifOutDscPct : red : 10 : {ifName}{ifAliasBox} - Very high output discard rate ({ifOutDscPct}%) Added: trunk/templates/cisco-4948/if_dsc/transforms =================================================================== --- trunk/templates/cisco-4948/if_dsc/transforms (rev 0) +++ trunk/templates/cisco-4948/if_dsc/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,14 @@ +# Get bit speed delta (so we dont have to provide custom delta limit) +ifInOps : DELTA : {ifInOctets} +ifOutOps : DELTA : {ifOutOctets} +# Convert our octets delta into bits per second +ifInBps : MATH : {ifInOps} x 8 +ifOutBps : MATH : {ifOutOps} x 8 +# Do delta transform on all error counters +ifInDps : DELTA : {ifInDiscards} +ifOutDps : DELTA : {ifOutDiscards} +# Perform error to traffic percentage calculations +ifInDscPct : MATH : ({ifInDps} / {ifInBps}) x 100 +ifOutDscPct : MATH : ({ifOutDps} / {ifOutBps}) x 100 +# Create an alias in a bracketed box, or nothing if alias is blank +ifAliasBox : REGSUB : {ifAlias} /(\S+.*)/ [$1]/ Added: trunk/templates/cisco-4948/if_err/exceptions =================================================================== --- trunk/templates/cisco-4948/if_err/exceptions (rev 0) +++ trunk/templates/cisco-4948/if_err/exceptions 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,2 @@ +ifName : alarm : .+ +ifName : ignore : Nu.+|Vl.+|VLAN.+ Added: trunk/templates/cisco-4948/if_err/message =================================================================== --- trunk/templates/cisco-4948/if_err/message (rev 0) +++ trunk/templates/cisco-4948/if_err/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,11 @@ +<b>Errors:</b> +Input errors: yellow={ifInErrPct.thresh:yellow}%, red={ifInErrPct.thresh:red}% +Output errors: yellow={ifOutErrPct.thresh:yellow}%, red={ifOutErrPct.thresh:red}% + +TABLE: +Ifc name|Errors in|Error rate in|Error load in|Errors out|Error rate out|Error load out +{ifName}{ifAliasBox}|{ifInErrors}|{ifInEps}|{ifInErrPct.color}{ifInErrPct}%{ifInErrPct.errors}|{ifOutErrors}|{ifOutEps}|{ifOutErrPct.color}{ifOutErrPct}%{ifOutErrPct.errors} + +Note: +Error rates are per second, averaged over a 60 second interval. +Load percentages are based on error/bit ratio. Added: trunk/templates/cisco-4948/if_err/oids =================================================================== --- trunk/templates/cisco-4948/if_err/oids (rev 0) +++ trunk/templates/cisco-4948/if_err/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,7 @@ +ifName : .1.3.6.1.2.1.31.1.1.1.1 : branch +ifAlias : .1.3.6.1.2.1.31.1.1.1.18 : branch +ifSpeed : .1.3.6.1.2.1.2.2.1.5 : branch +ifInOctets : .1.3.6.1.2.1.2.2.1.10 : branch +ifInErrors : .1.3.6.1.2.1.2.2.1.14 : branch +ifOutOctets : .1.3.6.1.2.1.2.2.1.16 : branch +ifOutErrors : .1.3.6.1.2.1.2.2.1.20 : branch Added: trunk/templates/cisco-4948/if_err/thresholds =================================================================== --- trunk/templates/cisco-4948/if_err/thresholds (rev 0) +++ trunk/templates/cisco-4948/if_err/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,7 @@ +# Create thresholds for all the error rate counters +# oid name : color : limit : Error message + +ifInErrPct : yellow : 5 : {ifName}{ifAliasBox} - High input error rate ({ifInErrPct}%) +ifInErrPct : red : 10 : {ifName}{ifAliasBox} - Very high input error rate ({ifInErrPct}%) +ifOutErrPct : yellow : 5 : {ifName}{ifAliasBox} - High output error rate ({ifOutErrPct}%) +ifOutErrPct : red : 10 : {ifName}{ifAliasBox} - Very high output error rate ({ifOutErrPct}%) Added: trunk/templates/cisco-4948/if_err/transforms =================================================================== --- trunk/templates/cisco-4948/if_err/transforms (rev 0) +++ trunk/templates/cisco-4948/if_err/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,15 @@ +# Get bit speed delta (so we dont have to provide custom delta limit) +ifInOps : DELTA : {ifInOctets} +ifOutOps : DELTA : {ifOutOctets} +# Convert our octets delta into bits per second +ifInBps : MATH : {ifInOps} x 8 +ifOutBps : MATH : {ifOutOps} x 8 +# Do delta transform on all error counters +ifInEps : DELTA : {ifInErrors} +ifOutEps : DELTA : {ifOutErrors} +# Perform error to traffic percentage calculations +ifInErrPct : MATH : ({ifInEps} / {ifInBps}) x 100 +ifOutErrPct : MATH : ({ifOutEps} / {ifOutBps}) x 100 +# Create an alias in a bracketed box, or nothing if alias is blank +ifAliasBox : REGSUB : {ifAlias} /(\S+.*)/ [$1]/ + Added: trunk/templates/cisco-4948/if_ipv4/exceptions =================================================================== Added: trunk/templates/cisco-4948/if_ipv4/message =================================================================== --- trunk/templates/cisco-4948/if_ipv4/message (rev 0) +++ trunk/templates/cisco-4948/if_ipv4/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,4 @@ + +TABLE:noalarmsmsg +Index|Interface Desc|IP|Netmask|Broadcast +{ipAdEntIfIndex}||{ipAdEntAddr}|{ipAdEntNetMask}|{ipAdEntBcastAddr} Added: trunk/templates/cisco-4948/if_ipv4/message.orig =================================================================== --- trunk/templates/cisco-4948/if_ipv4/message.orig (rev 0) +++ trunk/templates/cisco-4948/if_ipv4/message.orig 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,4 @@ + +TABLE: +Ifc name|IP|Netmask|Broadcast +{ifName}{ifAliasBox}|{ipAdEntAddr}|{ipAdEntNetMask}|{ipAdEntBcastAddr} Added: trunk/templates/cisco-4948/if_ipv4/oids =================================================================== --- trunk/templates/cisco-4948/if_ipv4/oids (rev 0) +++ trunk/templates/cisco-4948/if_ipv4/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,7 @@ +ipAdEntAddr : 1.3.6.1.2.1.4.20.1.1 : branch +ipAdEntIfIndex : 1.3.6.1.2.1.4.20.1.2 : branch +ipAdEntNetMask : 1.3.6.1.2.1.4.20.1.3 : branch +ipAdEntBcastAddr : 1.3.6.1.2.1.4.20.1.4 : branch +ifName : 1.3.6.1.2.1.31.1.1.1.1 : branch +ifAlias : 1.3.6.1.2.1.31.1.1.1.18 : branch + Added: trunk/templates/cisco-4948/if_ipv4/thresholds =================================================================== Added: trunk/templates/cisco-4948/if_ipv4/transforms =================================================================== --- trunk/templates/cisco-4948/if_ipv4/transforms (rev 0) +++ trunk/templates/cisco-4948/if_ipv4/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,3 @@ +ipAdEntIfName : CHAIN : {ipAdEntIfIndex} {ifName} +ipAdEntIfAlias : CHAIN : {ipAdEntIfIndex} {ifAlias} +ifAliasBox : REGSUB : {ifAlias} /(\S+.*)/ [$1]/ Added: trunk/templates/cisco-4948/if_load/exceptions =================================================================== --- trunk/templates/cisco-4948/if_load/exceptions (rev 0) +++ trunk/templates/cisco-4948/if_load/exceptions 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,2 @@ +ifName : alarm : .+ +ifName : ignore : Nu.+|Vl.+|VLAN.+ Added: trunk/templates/cisco-4948/if_load/message =================================================================== --- trunk/templates/cisco-4948/if_load/message (rev 0) +++ trunk/templates/cisco-4948/if_load/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,7 @@ + +<b>Interface error rates:</b> +Input load: yellow={ifInLoad.thresh:yellow}%, red={ifInLoad.thresh:red}% +Output load: yellow={ifOutLoad.thresh:yellow}%, red={ifOutLoad.thresh:red}% +TABLE:rrd(DS:ds0:ifInOctets:COUNTER; DS:ds1:ifOutOctets:COUNTER) +Ifc name|Ifc Speed|Rate in (load %)|Rate out (load %) +{ifName}{ifAliasBox}|{ifSpeed}|{ifInLoad.color}{ifInSpeed} ({ifInLoad}%){ifInLoad.errors}|{ifOutLoad.color}{ifOutSpeed} ({ifOutLoad}%){ifOutLoad.errors} Added: trunk/templates/cisco-4948/if_load/oids =================================================================== --- trunk/templates/cisco-4948/if_load/oids (rev 0) +++ trunk/templates/cisco-4948/if_load/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,5 @@ +ifName : .1.3.6.1.2.1.31.1.1.1.1 : branch +ifAlias : .1.3.6.1.2.1.31.1.1.1.18 : branch +ifBps : .1.3.6.1.2.1.2.2.1.5 : branch +ifInOctets : .1.3.6.1.2.1.2.2.1.10 : branch +ifOutOctets : .1.3.6.1.2.1.2.2.1.16 : branch Added: trunk/templates/cisco-4948/if_load/thresholds =================================================================== --- trunk/templates/cisco-4948/if_load/thresholds (rev 0) +++ trunk/templates/cisco-4948/if_load/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,4 @@ +ifInLoad : yellow : 75 : {ifName}{ifAliasBox} load is high +ifInLoad : red : 95 : {ifName}{ifAliasBox} load is very high +ifOutLoad : yellow : 75 : {ifName}{ifAliasBox} load is high +ifOutLoad : red : 95 : {ifName}{ifAliasBox} load is very high Added: trunk/templates/cisco-4948/if_load/transforms =================================================================== --- trunk/templates/cisco-4948/if_load/transforms (rev 0) +++ trunk/templates/cisco-4948/if_load/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,16 @@ +# Create a human-readable ifc speed +ifSpeed : SPEED : {ifBps} +# Get bit speed delta (so we dont have to provide custom delta limit) +ifInOps : DELTA : {ifInOctets} +ifOutOps : DELTA : {ifOutOctets} +# Convert our octets delta into bits per second +ifInBps : MATH : {ifInOps} x 8 +ifOutBps : MATH : {ifOutOps} x 8 +# Make some easily readable speed variables +ifInSpeed : SPEED : {ifInBps} +ifOutSpeed : SPEED : {ifOutBps} +# Now determine our percentage load, based on traffic and ifc speed +ifInLoad : MATH : ({ifInBps} / {ifBps}) x 100 +ifOutLoad : MATH : ({ifOutBps} / {ifBps}) x 100 +# Create an alias in a bracketed box, or nothing if alias is blank +ifAliasBox : REGSUB : {ifAlias} /(\S+.*)/ [$1]/ Added: trunk/templates/cisco-4948/if_stat/exceptions =================================================================== --- trunk/templates/cisco-4948/if_stat/exceptions (rev 0) +++ trunk/templates/cisco-4948/if_stat/exceptions 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,2 @@ +ifName : alarm : .+ +ifName : ignore : Nu.+|Vl.+|VLAN.+ Added: trunk/templates/cisco-4948/if_stat/message =================================================================== --- trunk/templates/cisco-4948/if_stat/message (rev 0) +++ trunk/templates/cisco-4948/if_stat/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,3 @@ +TABLE: +Ifc name|Ifc speed|Ifc status +{ifName}{ifAliasBox}|{ifSpeed}|{ifStat.color}{ifStat}{ifStat.errors} Added: trunk/templates/cisco-4948/if_stat/oids =================================================================== --- trunk/templates/cisco-4948/if_stat/oids (rev 0) +++ trunk/templates/cisco-4948/if_stat/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,5 @@ +ifName : .1.3.6.1.2.1.31.1.1.1.1 : branch +ifAlias : .1.3.6.1.2.1.31.1.1.1.18 : branch +ifBps : .1.3.6.1.2.1.2.2.1.5 : branch +ifAdminStatNum : .1.3.6.1.2.1.2.2.1.7 : branch +ifOperStatNum : .1.3.6.1.2.1.2.2.1.8 : branch Added: trunk/templates/cisco-4948/if_stat/thresholds =================================================================== --- trunk/templates/cisco-4948/if_stat/thresholds (rev 0) +++ trunk/templates/cisco-4948/if_stat/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,6 @@ +ifAdminStatTxt : green : admin down : Interface {ifName}{ifAliasBox} is {ifAdminStatTxt} +ifAdminStatTxt : yellow : testing : Interface {ifName}{ifAliasBox} is {ifAdminStatTxt} +ifAdminStatTxt : red : up : Interface {ifName}{ifAliasBox} is {ifAdminStatTxt} +ifOperStatTxt : green : up : Interface {ifName}{ifAliasBox} is {ifOperStatTxt} +ifOperStatTxt : yellow : dormant|testing|yellow|not present|layer down : Interface {ifName}{ifAliasBox} is {ifOperStatTxt} +ifOperStatTxt : red : down : Interface {ifName}{ifAliasBox} is {ifOperStatTxt} Added: trunk/templates/cisco-4948/if_stat/transforms =================================================================== --- trunk/templates/cisco-4948/if_stat/transforms (rev 0) +++ trunk/templates/cisco-4948/if_stat/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,5 @@ +ifAdminStatTxt : SWITCH : {ifAdminStatNum} 1=up,2=admin down,3=testing +ifOperStatTxt : SWITCH : {ifOperStatNum} 1=up,2=down,3=testing,4=unknown,5=dormant,6=not present,7=lower layer down +ifStat : BEST : {ifAdminStatTxt},{ifOperStatTxt} +ifSpeed : SPEED : {ifBps} +ifAliasBox : REGSUB : {ifAlias} /(\S+.*)/ [$1]/ Added: trunk/templates/cisco-4948/memory/exceptions =================================================================== Added: trunk/templates/cisco-4948/memory/message =================================================================== --- trunk/templates/cisco-4948/memory/message (rev 0) +++ trunk/templates/cisco-4948/memory/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,7 @@ +Free memory: {mem_free} bytes ({mem_free_per}%) +Used memory: {mem_used} bytes ({mem_used_per}%) +------------- ---------------- +Total memory: {mem_total} bytes (100%) + +<!-- DEVMON to RRD Physical {mem_used_per}% +--> Added: trunk/templates/cisco-4948/memory/oids =================================================================== --- trunk/templates/cisco-4948/memory/oids (rev 0) +++ trunk/templates/cisco-4948/memory/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,3 @@ +mem_used : .1.3.6.1.4.1.9.9.48.1.1.1.5.1 : leaf +mem_free : .1.3.6.1.4.1.9.9.48.1.1.1.6.1 : leaf + Added: trunk/templates/cisco-4948/memory/thresholds =================================================================== --- trunk/templates/cisco-4948/memory/thresholds (rev 0) +++ trunk/templates/cisco-4948/memory/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,2 @@ +mem_used_per : yellow : 75 : Memory load is high +mem_used_per : red : 95 : Memory load is very high Added: trunk/templates/cisco-4948/memory/transforms =================================================================== --- trunk/templates/cisco-4948/memory/transforms (rev 0) +++ trunk/templates/cisco-4948/memory/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,3 @@ +mem_total : MATH : {mem_used} + {mem_free} +mem_used_per : MATH : ({mem_used} x 100) / {mem_total} : 0 +mem_free_per : MATH : ({mem_free} x 100) / {mem_total} : 0 Added: trunk/templates/cisco-4948/specs =================================================================== --- trunk/templates/cisco-4948/specs (rev 0) +++ trunk/templates/cisco-4948/specs 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,6 @@ +vendor : cisco +model : 4948 +snmpver : 2 +sysdesc : Catalyst 4000 +#SNMPv2-MIB::sysObjectID.0 = OID: CISCO-PRODUCTS-MIB::catalyst4948 +#.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.9.1.626 Added: trunk/templates/cisco-4948/temp/exceptions =================================================================== Added: trunk/templates/cisco-4948/temp/message =================================================================== --- trunk/templates/cisco-4948/temp/message (rev 0) +++ trunk/templates/cisco-4948/temp/message 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,5 @@ + +Thermal sensors: +TABLE: noalarmsmsg,rrd(DS:ds0:ciscoEnvMonTemperatureStatusValue:GAUGE; DS:ds1:ciscoEnvMonTemperatureThreshold:GAUGE) +ID|Sensor Location|Temp|Threshold|Condition +{ciscoEnvMonTemperatureId}|{ciscoEnvMonTemperatureStatusDescr}|{ciscoEnvMonTemperatureStatusValue}|{ciscoEnvMonTemperatureThreshold}|{ciscoEnvMonTemperatureState.color}{ciscoEnvMonTemperatureStateTxt} Added: trunk/templates/cisco-4948/temp/oids =================================================================== --- trunk/templates/cisco-4948/temp/oids (rev 0) +++ trunk/templates/cisco-4948/temp/oids 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,4 @@ +ciscoEnvMonTemperatureStatusDescr: 1.3.6.1.4.1.9.9.13.1.3.1.2 : branch +ciscoEnvMonTemperatureStatusValue: 1.3.6.1.4.1.9.9.13.1.3.1.3 : branch +ciscoEnvMonTemperatureThreshold : 1.3.6.1.4.1.9.9.13.1.3.1.4 : branch +ciscoEnvMonTemperatureState: 1.3.6.1.4.1.9.9.13.1.3.1.6 : branch Added: trunk/templates/cisco-4948/temp/thresholds =================================================================== --- trunk/templates/cisco-4948/temp/thresholds (rev 0) +++ trunk/templates/cisco-4948/temp/thresholds 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,4 @@ +ciscoEnvMonTemperatureStateTxt : green : normal +ciscoEnvMonTemperatureStateTxt : yellow : warning|shutdown|notFunctioning +ciscoEnvMonTemperatureStateTxt : red : critical +ciscoEnvMonTemperatureStateTxt : clear : nonPresent Added: trunk/templates/cisco-4948/temp/transforms =================================================================== --- trunk/templates/cisco-4948/temp/transforms (rev 0) +++ trunk/templates/cisco-4948/temp/transforms 2011-01-22 22:49:33 UTC (rev 202) @@ -0,0 +1,4 @@ +ciscoEnvMonTemperatureStateTxt : SWITCH : {ciscoEnvMonTemperatureState} 1=normal,2=warning,3=critical,4=shutdown,5=nonPresent,6=notFunctioning +#ciscoEnvMonTemperatureId : REGSUB : {ciscoEnvMonTemperatureStatusDescr} /(\S+) (\S+) (\S+) (\(.*\))? temp.*/$1$2$3/ +#ciscoEnvMonTemperatureId : REGSUB : {ciscoEnvMonTemperatureStatusDescr} /(\S+) (\S+) (\S+)(( (\S+))?)( \(.*\))? temp.*/$1$2$3$6/ +ciscoEnvMonTemperatureId : REGSUB : {ciscoEnvMonTemperatureStatusDescr} /(\S+) (\S+) (\S+)( \((.*)\))?(( (\S+))?)( \(.*\))? temp.*/$1$2$3$8/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |