From: <buc...@us...> - 2012-07-24 16:09:18
|
Revision: 234 http://devmon.svn.sourceforge.net/devmon/?rev=234&view=rev Author: buchanmilne Date: 2012-07-24 16:09:10 +0000 (Tue, 24 Jul 2012) Log Message: ----------- Add an initial template for Cisco ASR routers with bgp and cbwfq tests Added Paths: ----------- trunk/templates/cisco-asr1000/ trunk/templates/cisco-asr1000/README trunk/templates/cisco-asr1000/bgp/ trunk/templates/cisco-asr1000/bgp/exceptions trunk/templates/cisco-asr1000/bgp/message trunk/templates/cisco-asr1000/bgp/oids trunk/templates/cisco-asr1000/bgp/thresholds trunk/templates/cisco-asr1000/bgp/transforms trunk/templates/cisco-asr1000/cbwfq/ trunk/templates/cisco-asr1000/cbwfq/exceptions trunk/templates/cisco-asr1000/cbwfq/message trunk/templates/cisco-asr1000/cbwfq/oids trunk/templates/cisco-asr1000/cbwfq/thresholds trunk/templates/cisco-asr1000/cbwfq/transforms trunk/templates/cisco-asr1000/cpu/ trunk/templates/cisco-asr1000/cpu/exceptions trunk/templates/cisco-asr1000/cpu/message trunk/templates/cisco-asr1000/cpu/oids trunk/templates/cisco-asr1000/cpu/thresholds trunk/templates/cisco-asr1000/cpu/transforms trunk/templates/cisco-asr1000/if_col/ trunk/templates/cisco-asr1000/if_col/exceptions trunk/templates/cisco-asr1000/if_col/message trunk/templates/cisco-asr1000/if_col/oids trunk/templates/cisco-asr1000/if_col/thresholds trunk/templates/cisco-asr1000/if_col/transforms trunk/templates/cisco-asr1000/if_dsc/ trunk/templates/cisco-asr1000/if_dsc/exceptions trunk/templates/cisco-asr1000/if_dsc/message trunk/templates/cisco-asr1000/if_dsc/oids trunk/templates/cisco-asr1000/if_dsc/thresholds trunk/templates/cisco-asr1000/if_dsc/transforms trunk/templates/cisco-asr1000/if_err/ trunk/templates/cisco-asr1000/if_err/exceptions trunk/templates/cisco-asr1000/if_err/message trunk/templates/cisco-asr1000/if_err/oids trunk/templates/cisco-asr1000/if_err/thresholds trunk/templates/cisco-asr1000/if_err/transforms trunk/templates/cisco-asr1000/if_load/ trunk/templates/cisco-asr1000/if_load/exceptions trunk/templates/cisco-asr1000/if_load/message trunk/templates/cisco-asr1000/if_load/oids trunk/templates/cisco-asr1000/if_load/thresholds trunk/templates/cisco-asr1000/if_load/transforms trunk/templates/cisco-asr1000/if_stat/ trunk/templates/cisco-asr1000/if_stat/exceptions trunk/templates/cisco-asr1000/if_stat/message trunk/templates/cisco-asr1000/if_stat/oids trunk/templates/cisco-asr1000/if_stat/thresholds trunk/templates/cisco-asr1000/if_stat/transforms trunk/templates/cisco-asr1000/memory/ trunk/templates/cisco-asr1000/memory/exceptions trunk/templates/cisco-asr1000/memory/message trunk/templates/cisco-asr1000/memory/oids trunk/templates/cisco-asr1000/memory/thresholds trunk/templates/cisco-asr1000/memory/transforms trunk/templates/cisco-asr1000/specs Added: trunk/templates/cisco-asr1000/README =================================================================== --- trunk/templates/cisco-asr1000/README (rev 0) +++ trunk/templates/cisco-asr1000/README 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/bgp/exceptions =================================================================== Added: trunk/templates/cisco-asr1000/bgp/message =================================================================== --- trunk/templates/cisco-asr1000/bgp/message (rev 0) +++ trunk/templates/cisco-asr1000/bgp/message 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,7 @@ +BGP Local AS: {bgpLocalAs} +{bgpPeerStateTxt.errors} +{bgpPeerAdminStatusTxt.errors} + +TABLE: +Identifier|Peer IP|Remote AS|Peer State|Peer Admin Status|Negotiated Version +{bgpPeerIdentifier}|{bgpPeerPeerRemoteAddr}|{bgpPeerPeerRemoteAS}|{bgpPeerStateTxt.color} {bgpPeerStateTxt}|{bgpPeerAdminStatusTxt.color} {bgpPeerAdminStatusTxt}|{bgpPeerNegotiatedVersion} Added: trunk/templates/cisco-asr1000/bgp/oids =================================================================== --- trunk/templates/cisco-asr1000/bgp/oids (rev 0) +++ trunk/templates/cisco-asr1000/bgp/oids 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,7 @@ +bgpLocalAs : 1.3.6.1.2.1.15.2.0 : leaf +bgpPeerIdentifier : 1.3.6.1.2.1.15.3.1.1 : branch +bgpPeerState : 1.3.6.1.2.1.15.3.1.2 : branch +bgpPeerAdminStatus : 1.3.6.1.2.1.15.3.1.3 : branch +bgpPeerNegotiatedVersion : 1.3.6.1.2.1.15.3.1.4 : branch +bgpPeerPeerRemoteAddr : 1.3.6.1.2.1.15.3.1.7 : branch +bgpPeerPeerRemoteAS : 1.3.6.1.2.1.15.3.1.9 : branch Added: trunk/templates/cisco-asr1000/bgp/thresholds =================================================================== --- trunk/templates/cisco-asr1000/bgp/thresholds (rev 0) +++ trunk/templates/cisco-asr1000/bgp/thresholds 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,3 @@ +bgpPeerStateTxt : green : established : BGP Session established +bgpPeerStateTxt : yellow : +bgpPeerStateTxt: red : idle|connect|active|opensent|openconfirm : BGP Session not established Added: trunk/templates/cisco-asr1000/bgp/transforms =================================================================== --- trunk/templates/cisco-asr1000/bgp/transforms (rev 0) +++ trunk/templates/cisco-asr1000/bgp/transforms 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,2 @@ +bgpPeerStateTxt : SWITCH : {bgpPeerState} 1=idle,2=connect,3=active,4=opensent,5=openconfirm,6=established +bgpPeerAdminStatusTxt : SWITCH : {bgpPeerAdminStatus} 1=stop,2=start Added: trunk/templates/cisco-asr1000/cbwfq/exceptions =================================================================== --- trunk/templates/cisco-asr1000/cbwfq/exceptions (rev 0) +++ trunk/templates/cisco-asr1000/cbwfq/exceptions 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1 @@ +cbQosConfigName : ignore : class-default Added: trunk/templates/cisco-asr1000/cbwfq/message =================================================================== --- trunk/templates/cisco-asr1000/cbwfq/message (rev 0) +++ trunk/templates/cisco-asr1000/cbwfq/message 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,4 @@ +TABLE:rrd(DS:ds0:cbQosCMPostPolicyByte64:COUNTER; DS:ds1:cbQosCMDropByte64:COUNTER) +Qos Name|Qos Index|Traffic (bytes)|Dropped traffic (Bytes) +{cbQosConfigName}|{cbQosConfigIndex}|{cbQosCMPostPolicyByte64}|{cbQosCMDropByte64} + Added: trunk/templates/cisco-asr1000/cbwfq/oids =================================================================== --- trunk/templates/cisco-asr1000/cbwfq/oids (rev 0) +++ trunk/templates/cisco-asr1000/cbwfq/oids 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,4 @@ +cbQosCMName : .1.3.6.1.4.1.9.9.166.1.7.1.1.1 : branch +cbQosConfigIndex : .1.3.6.1.4.1.9.9.166.1.5.1.1.2 : branch +cbQosCMPostPolicyByte64 : .1.3.6.1.4.1.9.9.166.1.15.1.1.10 : branch +cbQosCMDropByte64 : .1.3.6.1.4.1.9.9.166.1.15.1.1.17 : branch Added: trunk/templates/cisco-asr1000/cbwfq/thresholds =================================================================== Added: trunk/templates/cisco-asr1000/cbwfq/transforms =================================================================== --- trunk/templates/cisco-asr1000/cbwfq/transforms (rev 0) +++ trunk/templates/cisco-asr1000/cbwfq/transforms 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1 @@ +cbQosConfigName : CHAIN : {cbQosConfigIndex} {cbQosCMName} Added: trunk/templates/cisco-asr1000/cpu/exceptions =================================================================== Added: trunk/templates/cisco-asr1000/cpu/message =================================================================== --- trunk/templates/cisco-asr1000/cpu/message (rev 0) +++ trunk/templates/cisco-asr1000/cpu/message 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,10 @@ + +{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-asr1000/cpu/oids =================================================================== --- trunk/templates/cisco-asr1000/cpu/oids (rev 0) +++ trunk/templates/cisco-asr1000/cpu/oids 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,5 @@ + +sysDescr : .1.3.6.1.2.1.1.1.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-asr1000/cpu/thresholds =================================================================== --- trunk/templates/cisco-asr1000/cpu/thresholds (rev 0) +++ trunk/templates/cisco-asr1000/cpu/thresholds 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/cpu/transforms =================================================================== --- trunk/templates/cisco-asr1000/cpu/transforms (rev 0) +++ trunk/templates/cisco-asr1000/cpu/transforms 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,2 @@ +sysUpTimeSecs : MATH : {sysUpTime} / 100 +UpTimeTxt : ELAPSED : {sysUpTimeSecs} Added: trunk/templates/cisco-asr1000/if_col/exceptions =================================================================== --- trunk/templates/cisco-asr1000/if_col/exceptions (rev 0) +++ trunk/templates/cisco-asr1000/if_col/exceptions 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,2 @@ +ifName : alarm : .+ +ifName : ignore : Nu.+|Vl.+|VLAN.+ Added: trunk/templates/cisco-asr1000/if_col/message =================================================================== --- trunk/templates/cisco-asr1000/if_col/message (rev 0) +++ trunk/templates/cisco-asr1000/if_col/message 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_col/oids =================================================================== --- trunk/templates/cisco-asr1000/if_col/oids (rev 0) +++ trunk/templates/cisco-asr1000/if_col/oids 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_col/thresholds =================================================================== --- trunk/templates/cisco-asr1000/if_col/thresholds (rev 0) +++ trunk/templates/cisco-asr1000/if_col/thresholds 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_col/transforms =================================================================== --- trunk/templates/cisco-asr1000/if_col/transforms (rev 0) +++ trunk/templates/cisco-asr1000/if_col/transforms 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_dsc/exceptions =================================================================== --- trunk/templates/cisco-asr1000/if_dsc/exceptions (rev 0) +++ trunk/templates/cisco-asr1000/if_dsc/exceptions 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,2 @@ +ifName : alarm : .+ +ifName : ignore : Nu.+|Vl.+|VLAN.+ Added: trunk/templates/cisco-asr1000/if_dsc/message =================================================================== --- trunk/templates/cisco-asr1000/if_dsc/message (rev 0) +++ trunk/templates/cisco-asr1000/if_dsc/message 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_dsc/oids =================================================================== --- trunk/templates/cisco-asr1000/if_dsc/oids (rev 0) +++ trunk/templates/cisco-asr1000/if_dsc/oids 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_dsc/thresholds =================================================================== --- trunk/templates/cisco-asr1000/if_dsc/thresholds (rev 0) +++ trunk/templates/cisco-asr1000/if_dsc/thresholds 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_dsc/transforms =================================================================== --- trunk/templates/cisco-asr1000/if_dsc/transforms (rev 0) +++ trunk/templates/cisco-asr1000/if_dsc/transforms 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_err/exceptions =================================================================== --- trunk/templates/cisco-asr1000/if_err/exceptions (rev 0) +++ trunk/templates/cisco-asr1000/if_err/exceptions 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,2 @@ +ifName : alarm : .+ +ifName : ignore : Nu.+|Vl.+|VLAN.+ Added: trunk/templates/cisco-asr1000/if_err/message =================================================================== --- trunk/templates/cisco-asr1000/if_err/message (rev 0) +++ trunk/templates/cisco-asr1000/if_err/message 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_err/oids =================================================================== --- trunk/templates/cisco-asr1000/if_err/oids (rev 0) +++ trunk/templates/cisco-asr1000/if_err/oids 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_err/thresholds =================================================================== --- trunk/templates/cisco-asr1000/if_err/thresholds (rev 0) +++ trunk/templates/cisco-asr1000/if_err/thresholds 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_err/transforms =================================================================== --- trunk/templates/cisco-asr1000/if_err/transforms (rev 0) +++ trunk/templates/cisco-asr1000/if_err/transforms 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_load/exceptions =================================================================== --- trunk/templates/cisco-asr1000/if_load/exceptions (rev 0) +++ trunk/templates/cisco-asr1000/if_load/exceptions 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,2 @@ +ifName : alarm : .+ +ifName : ignore : Nu.+|Vl.+|VLAN.+ Added: trunk/templates/cisco-asr1000/if_load/message =================================================================== --- trunk/templates/cisco-asr1000/if_load/message (rev 0) +++ trunk/templates/cisco-asr1000/if_load/message 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_load/oids =================================================================== --- trunk/templates/cisco-asr1000/if_load/oids (rev 0) +++ trunk/templates/cisco-asr1000/if_load/oids 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_load/thresholds =================================================================== --- trunk/templates/cisco-asr1000/if_load/thresholds (rev 0) +++ trunk/templates/cisco-asr1000/if_load/thresholds 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_load/transforms =================================================================== --- trunk/templates/cisco-asr1000/if_load/transforms (rev 0) +++ trunk/templates/cisco-asr1000/if_load/transforms 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_stat/exceptions =================================================================== --- trunk/templates/cisco-asr1000/if_stat/exceptions (rev 0) +++ trunk/templates/cisco-asr1000/if_stat/exceptions 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,2 @@ +ifName : alarm : .+ +ifName : ignore : Nu.+|Vl.+|VLAN.+ Added: trunk/templates/cisco-asr1000/if_stat/message =================================================================== --- trunk/templates/cisco-asr1000/if_stat/message (rev 0) +++ trunk/templates/cisco-asr1000/if_stat/message 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,3 @@ +TABLE: +Ifc name|Ifc speed|Ifc status +{ifName}{ifAliasBox}|{ifSpeed}|{ifStat.color}{ifStat}{ifStat.errors} Added: trunk/templates/cisco-asr1000/if_stat/oids =================================================================== --- trunk/templates/cisco-asr1000/if_stat/oids (rev 0) +++ trunk/templates/cisco-asr1000/if_stat/oids 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_stat/thresholds =================================================================== --- trunk/templates/cisco-asr1000/if_stat/thresholds (rev 0) +++ trunk/templates/cisco-asr1000/if_stat/thresholds 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/if_stat/transforms =================================================================== --- trunk/templates/cisco-asr1000/if_stat/transforms (rev 0) +++ trunk/templates/cisco-asr1000/if_stat/transforms 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/memory/exceptions =================================================================== Added: trunk/templates/cisco-asr1000/memory/message =================================================================== --- trunk/templates/cisco-asr1000/memory/message (rev 0) +++ trunk/templates/cisco-asr1000/memory/message 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/memory/oids =================================================================== --- trunk/templates/cisco-asr1000/memory/oids (rev 0) +++ trunk/templates/cisco-asr1000/memory/oids 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/memory/thresholds =================================================================== --- trunk/templates/cisco-asr1000/memory/thresholds (rev 0) +++ trunk/templates/cisco-asr1000/memory/thresholds 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/memory/transforms =================================================================== --- trunk/templates/cisco-asr1000/memory/transforms (rev 0) +++ trunk/templates/cisco-asr1000/memory/transforms 2012-07-24 16:09:10 UTC (rev 234) @@ -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-asr1000/specs =================================================================== --- trunk/templates/cisco-asr1000/specs (rev 0) +++ trunk/templates/cisco-asr1000/specs 2012-07-24 16:09:10 UTC (rev 234) @@ -0,0 +1,4 @@ +vendor : cisco +model : asr1000 +snmpver : 2 +sysdesc : Cisco IOS Software.*IOS-XE Software This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |