|
From: <buc...@us...> - 2016-05-26 14:22:14
|
Revision: 256
http://sourceforge.net/p/devmon/code/256
Author: buchanmilne
Date: 2016-05-26 14:22:12 +0000 (Thu, 26 May 2016)
Log Message:
-----------
Initial template for Cisco NX-OS n6000 (aka Cisco Nexus 5000, possibly others)
Added Paths:
-----------
trunk/templates/cisco-n6000/
trunk/templates/cisco-n6000/cpu/
trunk/templates/cisco-n6000/cpu/exceptions
trunk/templates/cisco-n6000/cpu/message
trunk/templates/cisco-n6000/cpu/oids
trunk/templates/cisco-n6000/cpu/thresholds
trunk/templates/cisco-n6000/cpu/transforms
trunk/templates/cisco-n6000/fans/
trunk/templates/cisco-n6000/fans/exceptions
trunk/templates/cisco-n6000/fans/message
trunk/templates/cisco-n6000/fans/oids
trunk/templates/cisco-n6000/fans/thresholds
trunk/templates/cisco-n6000/fans/transforms
trunk/templates/cisco-n6000/if_dsc/
trunk/templates/cisco-n6000/if_dsc/exceptions
trunk/templates/cisco-n6000/if_dsc/message
trunk/templates/cisco-n6000/if_dsc/oids
trunk/templates/cisco-n6000/if_dsc/thresholds
trunk/templates/cisco-n6000/if_dsc/transforms
trunk/templates/cisco-n6000/if_err/
trunk/templates/cisco-n6000/if_err/exceptions
trunk/templates/cisco-n6000/if_err/message
trunk/templates/cisco-n6000/if_err/oids
trunk/templates/cisco-n6000/if_err/thresholds
trunk/templates/cisco-n6000/if_err/transforms
trunk/templates/cisco-n6000/if_load/
trunk/templates/cisco-n6000/if_load/exceptions
trunk/templates/cisco-n6000/if_load/message
trunk/templates/cisco-n6000/if_load/oids
trunk/templates/cisco-n6000/if_load/thresholds
trunk/templates/cisco-n6000/if_load/transforms
trunk/templates/cisco-n6000/if_stat/
trunk/templates/cisco-n6000/if_stat/exceptions
trunk/templates/cisco-n6000/if_stat/message
trunk/templates/cisco-n6000/if_stat/oids
trunk/templates/cisco-n6000/if_stat/thresholds
trunk/templates/cisco-n6000/if_stat/transforms
trunk/templates/cisco-n6000/memory/
trunk/templates/cisco-n6000/memory/exceptions
trunk/templates/cisco-n6000/memory/message
trunk/templates/cisco-n6000/memory/oids
trunk/templates/cisco-n6000/memory/thresholds
trunk/templates/cisco-n6000/memory/transforms
trunk/templates/cisco-n6000/power/
trunk/templates/cisco-n6000/power/exceptions
trunk/templates/cisco-n6000/power/message
trunk/templates/cisco-n6000/power/oids
trunk/templates/cisco-n6000/power/thresholds
trunk/templates/cisco-n6000/power/transforms
trunk/templates/cisco-n6000/serial/
trunk/templates/cisco-n6000/serial/exceptions
trunk/templates/cisco-n6000/serial/message
trunk/templates/cisco-n6000/serial/oids
trunk/templates/cisco-n6000/serial/thresholds
trunk/templates/cisco-n6000/serial/transforms
trunk/templates/cisco-n6000/specs
Added: trunk/templates/cisco-n6000/cpu/exceptions
===================================================================
Added: trunk/templates/cisco-n6000/cpu/message
===================================================================
--- trunk/templates/cisco-n6000/cpu/message (rev 0)
+++ trunk/templates/cisco-n6000/cpu/message 2016-05-26 14:22:12 UTC (rev 256)
@@ -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-n6000/cpu/oids
===================================================================
--- trunk/templates/cisco-n6000/cpu/oids (rev 0)
+++ trunk/templates/cisco-n6000/cpu/oids 2016-05-26 14:22:12 UTC (rev 256)
@@ -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.8.1 : leaf
Added: trunk/templates/cisco-n6000/cpu/thresholds
===================================================================
--- trunk/templates/cisco-n6000/cpu/thresholds (rev 0)
+++ trunk/templates/cisco-n6000/cpu/thresholds 2016-05-26 14:22:12 UTC (rev 256)
@@ -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-n6000/cpu/transforms
===================================================================
--- trunk/templates/cisco-n6000/cpu/transforms (rev 0)
+++ trunk/templates/cisco-n6000/cpu/transforms 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,2 @@
+sysUpTimeSecs : MATH : {sysUpTime} / 100
+UpTimeTxt : ELAPSED : {sysUpTimeSecs}
Added: trunk/templates/cisco-n6000/fans/exceptions
===================================================================
Added: trunk/templates/cisco-n6000/fans/message
===================================================================
--- trunk/templates/cisco-n6000/fans/message (rev 0)
+++ trunk/templates/cisco-n6000/fans/message 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,3 @@
+TABLE:
+Name|Model|Serial|Class|Status
+{cefcFanTrayentPhysicalName}|{cefcFanTrayentPhysicalModelName}|{cefcFanTrayentPhysicalSerialNum}|{cefcFanTrayentPhysicalClassTxt}|{cefcFanTrayOperStatusTxt.color}{cefcFanTrayOperStatusTxt} {cefcFanTrayOperStatusTxt.errors}
Added: trunk/templates/cisco-n6000/fans/oids
===================================================================
--- trunk/templates/cisco-n6000/fans/oids (rev 0)
+++ trunk/templates/cisco-n6000/fans/oids 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,6 @@
+cefcFanTrayOperStatus : .1.3.6.1.4.1.9.9.117.1.4.1.1.1 : branch
+
+entPhysicalName : .1.3.6.1.2.1.47.1.1.1.1.7 : branch
+entPhysicalModelName : .1.3.6.1.2.1.47.1.1.1.1.13 : branch
+entPhysicalSerialNum : .1.3.6.1.2.1.47.1.1.1.1.11 : branch
+entPhysicalClass : .1.3.6.1.2.1.47.1.1.1.1.5 : branch
Added: trunk/templates/cisco-n6000/fans/thresholds
===================================================================
--- trunk/templates/cisco-n6000/fans/thresholds (rev 0)
+++ trunk/templates/cisco-n6000/fans/thresholds 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,3 @@
+cefcFanTrayOperStatusTxt : green : up
+cefcFanTrayOperStatusTxt : yellow : unknown|warning : {cefcFanTrayentPhysicalName} is {cefcFanTrayOperStatusTxt}
+cefcFanTrayOperStatusTxt : red : down : {cefcFanTrayentPhysicalName} is {cefcFanTrayOperStatusTxt}
Added: trunk/templates/cisco-n6000/fans/transforms
===================================================================
--- trunk/templates/cisco-n6000/fans/transforms (rev 0)
+++ trunk/templates/cisco-n6000/fans/transforms 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,10 @@
+cefcFanTrayOperStatusTxt : SWITCH : {cefcFanTrayOperStatus} 1=unknown,2=up,3=down,4=warning
+cefcFanTrayIndex : INDEX : {cefcFanTrayOperStatus}
+
+
+entPhysicalClassTxt : SWITCH : {entPhysicalClass} 1=other,2=unknown,3=chassis,4=backplane,5=container,6=powerSupply,7=fan,8=sensor,9=module,10=port,11=stack,12=cpu
+
+cefcFanTrayentPhysicalName : CHAIN : {cefcFanTrayIndex} {entPhysicalName}
+cefcFanTrayentPhysicalModelName : CHAIN : {cefcFanTrayIndex} {entPhysicalModelName}
+cefcFanTrayentPhysicalSerialNum : CHAIN : {cefcFanTrayIndex} {entPhysicalSerialNum}
+cefcFanTrayentPhysicalClassTxt : CHAIN : {cefcFanTrayIndex} {entPhysicalClassTxt}
Added: trunk/templates/cisco-n6000/if_dsc/exceptions
===================================================================
--- trunk/templates/cisco-n6000/if_dsc/exceptions (rev 0)
+++ trunk/templates/cisco-n6000/if_dsc/exceptions 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,2 @@
+ifName : alarm : .+
+ifName : ignore : Nu.+|Vl.+|VLAN.+
Added: trunk/templates/cisco-n6000/if_dsc/message
===================================================================
--- trunk/templates/cisco-n6000/if_dsc/message (rev 0)
+++ trunk/templates/cisco-n6000/if_dsc/message 2016-05-26 14:22:12 UTC (rev 256)
@@ -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-n6000/if_dsc/oids
===================================================================
--- trunk/templates/cisco-n6000/if_dsc/oids (rev 0)
+++ trunk/templates/cisco-n6000/if_dsc/oids 2016-05-26 14:22:12 UTC (rev 256)
@@ -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-n6000/if_dsc/thresholds
===================================================================
--- trunk/templates/cisco-n6000/if_dsc/thresholds (rev 0)
+++ trunk/templates/cisco-n6000/if_dsc/thresholds 2016-05-26 14:22:12 UTC (rev 256)
@@ -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-n6000/if_dsc/transforms
===================================================================
--- trunk/templates/cisco-n6000/if_dsc/transforms (rev 0)
+++ trunk/templates/cisco-n6000/if_dsc/transforms 2016-05-26 14:22:12 UTC (rev 256)
@@ -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-n6000/if_err/exceptions
===================================================================
--- trunk/templates/cisco-n6000/if_err/exceptions (rev 0)
+++ trunk/templates/cisco-n6000/if_err/exceptions 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,2 @@
+ifName : alarm : .+
+ifName : ignore : Nu.+|Vl.+|VLAN.+
Added: trunk/templates/cisco-n6000/if_err/message
===================================================================
--- trunk/templates/cisco-n6000/if_err/message (rev 0)
+++ trunk/templates/cisco-n6000/if_err/message 2016-05-26 14:22:12 UTC (rev 256)
@@ -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-n6000/if_err/oids
===================================================================
--- trunk/templates/cisco-n6000/if_err/oids (rev 0)
+++ trunk/templates/cisco-n6000/if_err/oids 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,12 @@
+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
+ifInErrors : .1.3.6.1.2.1.2.2.1.14 : branch
+ifOutErrors : .1.3.6.1.2.1.2.2.1.20 : branch
+
+ifHCInUcastPkts : .1.3.6.1.2.1.31.1.1.1.7 : branch
+ifHCInMulticastPkts : 1.3.6.1.2.1.31.1.1.1.8 : branch
+ifHCInBroadcastPkts : .1.3.6.1.2.1.31.1.1.1.9 : branch
+ifHCOutUcastPkts : 1.3.6.1.2.1.31.1.1.1.11 : branch
+ifHCOutMulticastPkts : 1.3.6.1.2.1.31.1.1.1.12 : branch
+ifHCOutBroadcastPkts : 1.3.6.1.2.1.31.1.1.1.13 : branch
Added: trunk/templates/cisco-n6000/if_err/thresholds
===================================================================
--- trunk/templates/cisco-n6000/if_err/thresholds (rev 0)
+++ trunk/templates/cisco-n6000/if_err/thresholds 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,7 @@
+# Create thresholds for all the error rate counters
+# oid name : color : limit : Error message
+
+ifInErrPct : yellow : 1 : {ifName}{ifAliasBox} - High input error rate ({ifInErrPct}%)
+ifInErrPct : red : 5 : {ifName}{ifAliasBox} - Very high input error rate ({ifInErrPct}%)
+ifOutErrPct : yellow : 1 : {ifName}{ifAliasBox} - High output error rate ({ifOutErrPct}%)
+ifOutErrPct : red : 5 : {ifName}{ifAliasBox} - Very high output error rate ({ifOutErrPct}%)
Added: trunk/templates/cisco-n6000/if_err/transforms
===================================================================
--- trunk/templates/cisco-n6000/if_err/transforms (rev 0)
+++ trunk/templates/cisco-n6000/if_err/transforms 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,13 @@
+ifHCInPkts : MATH : {ifHCInUcastPkts} + {ifHCInMulticastPkts} + {ifHCInBroadcastPkts}
+ifHCOutPkts : MATH : {ifHCOutUcastPkts} + {ifHCOutMulticastPkts} + {ifHCOutBroadcastPkts}
+ifInPps : DELTA : {ifHCInPkts}
+ifOutPps : DELTA : {ifHCOutPkts}
+# Do delta transform on all error counters
+ifInEps : DELTA : {ifInErrors}
+ifOutEps : DELTA : {ifOutErrors}
+# Perform error to traffic percentage calculations
+ifInErrPct : MATH : ({ifInEps} / {ifInPps}) x 100
+ifOutErrPct : MATH : ({ifOutEps} / {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-n6000/if_load/exceptions
===================================================================
--- trunk/templates/cisco-n6000/if_load/exceptions (rev 0)
+++ trunk/templates/cisco-n6000/if_load/exceptions 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,2 @@
+#ifName : alarm : .+
+ifName : ignore : Nu.+|Vl.+|VLAN.+
Added: trunk/templates/cisco-n6000/if_load/message
===================================================================
--- trunk/templates/cisco-n6000/if_load/message (rev 0)
+++ trunk/templates/cisco-n6000/if_load/message 2016-05-26 14:22:12 UTC (rev 256)
@@ -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:ifHCInOctets:COUNTER; DS:ds1:ifHCOutOctets:COUNTER)
+Ifc name|Ifc Speed|Rate in (load %)|Rate out (load %)|Delta in|Delta out
+{ifName}{ifAliasBox}|{ifSpeedDisplay}|{ifInLoad.color}{ifInSpeed} ({ifInLoad}%){ifInLoad.errors}|{ifOutLoad.color}{ifOutSpeed} ({ifOutLoad}%){ifOutLoad.errors}|{ifInOps}|{ifOutOps}
Added: trunk/templates/cisco-n6000/if_load/oids
===================================================================
--- trunk/templates/cisco-n6000/if_load/oids (rev 0)
+++ trunk/templates/cisco-n6000/if_load/oids 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,5 @@
+ifNameNative : .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
+ifHighSpeed : .1.3.6.1.2.1.31.1.1.1.15 : branch
+ifHCInOctets : 1.3.6.1.2.1.31.1.1.1.6 : branch
+ifHCOutOctets : 1.3.6.1.2.1.31.1.1.1.10 : branch
Added: trunk/templates/cisco-n6000/if_load/thresholds
===================================================================
--- trunk/templates/cisco-n6000/if_load/thresholds (rev 0)
+++ trunk/templates/cisco-n6000/if_load/thresholds 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,4 @@
+ifInLoad : yellow : 75 : {ifName}{ifAliasBox} load is high ({ifInLoad}%)
+ifInLoad : red : 95 : {ifName}{ifAliasBox} load is very high ({ifInLoad}%)
+ifOutLoad : yellow : 75 : {ifName}{ifAliasBox} load is high ({ifOutLoad}%)
+ifOutLoad : red : 95 : {ifName}{ifAliasBox} load is very high ({ifOutLoad}%)
Added: trunk/templates/cisco-n6000/if_load/transforms
===================================================================
--- trunk/templates/cisco-n6000/if_load/transforms (rev 0)
+++ trunk/templates/cisco-n6000/if_load/transforms 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,18 @@
+# Create a human-readable ifc speed
+ifSpeedAcc : MATH : {ifHighSpeed} x 1000000 : 0
+ifSpeedDisplay : SPEED : {ifSpeedAcc}
+# Get bit speed delta (so we dont have to provide custom delta limit)
+ifInOps : DELTA : {ifHCInOctets}
+ifOutOps : DELTA : {ifHCOutOctets}
+# 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} / {ifSpeedAcc}) x 100
+ifOutLoad : MATH : ({ifOutBps} / {ifSpeedAcc}) x 100
+# Create an alias in a bracketed box, or nothing if alias is blank
+ifAliasBox : REGSUB : {ifAlias} /(\S+.*)/ [$1]/
+ifName : REGSUB : {ifNameNative} /(\S+)(\s*)?(\S+)$/$1$3/
Added: trunk/templates/cisco-n6000/if_stat/exceptions
===================================================================
--- trunk/templates/cisco-n6000/if_stat/exceptions (rev 0)
+++ trunk/templates/cisco-n6000/if_stat/exceptions 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,2 @@
+ifName : alarm : .+
+ifName : ignore : Nu.+|Vl.+|VLAN.+
Added: trunk/templates/cisco-n6000/if_stat/message
===================================================================
--- trunk/templates/cisco-n6000/if_stat/message (rev 0)
+++ trunk/templates/cisco-n6000/if_stat/message 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,3 @@
+TABLE:
+Ifc name|Ifc speed|Ifc status
+{ifName}{ifAliasBox}|{ifSpeedH}|{ifStat.color}{ifStat}{ifStat.errors}
Added: trunk/templates/cisco-n6000/if_stat/oids
===================================================================
--- trunk/templates/cisco-n6000/if_stat/oids (rev 0)
+++ trunk/templates/cisco-n6000/if_stat/oids 2016-05-26 14:22:12 UTC (rev 256)
@@ -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
+ifBps : .1.3.6.1.2.1.2.2.1.5 : branch
+ifHighSpeed : .1.3.6.1.2.1.31.1.1.1.15 : 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-n6000/if_stat/thresholds
===================================================================
--- trunk/templates/cisco-n6000/if_stat/thresholds (rev 0)
+++ trunk/templates/cisco-n6000/if_stat/thresholds 2016-05-26 14:22:12 UTC (rev 256)
@@ -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-n6000/if_stat/transforms
===================================================================
--- trunk/templates/cisco-n6000/if_stat/transforms (rev 0)
+++ trunk/templates/cisco-n6000/if_stat/transforms 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,7 @@
+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}
+ifSpeedAcc : MATH : {ifHighSpeed} x 1000000
+ifSpeed : SPEED : {ifBps}
+ifSpeedH : SPEED : {ifSpeedAcc}
+ifAliasBox : REGSUB : {ifAlias} /(\S+.*)/ [$1]/
Added: trunk/templates/cisco-n6000/memory/exceptions
===================================================================
Added: trunk/templates/cisco-n6000/memory/message
===================================================================
--- trunk/templates/cisco-n6000/memory/message (rev 0)
+++ trunk/templates/cisco-n6000/memory/message 2016-05-26 14:22:12 UTC (rev 256)
@@ -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-n6000/memory/oids
===================================================================
--- trunk/templates/cisco-n6000/memory/oids (rev 0)
+++ trunk/templates/cisco-n6000/memory/oids 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,3 @@
+mem_used : .1.3.6.1.4.1.9.9.109.1.1.1.1.12.1 : leaf
+mem_free : .1.3.6.1.4.1.9.9.109.1.1.1.1.13.1 : leaf
+
Added: trunk/templates/cisco-n6000/memory/thresholds
===================================================================
--- trunk/templates/cisco-n6000/memory/thresholds (rev 0)
+++ trunk/templates/cisco-n6000/memory/thresholds 2016-05-26 14:22:12 UTC (rev 256)
@@ -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-n6000/memory/transforms
===================================================================
--- trunk/templates/cisco-n6000/memory/transforms (rev 0)
+++ trunk/templates/cisco-n6000/memory/transforms 2016-05-26 14:22:12 UTC (rev 256)
@@ -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-n6000/power/exceptions
===================================================================
--- trunk/templates/cisco-n6000/power/exceptions (rev 0)
+++ trunk/templates/cisco-n6000/power/exceptions 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,2 @@
+cefcFRUentPhysicalClassTxt : only : powerSupply
+cefcFRUentPhysicalClassTxt : alarm : powerSupply
Added: trunk/templates/cisco-n6000/power/message
===================================================================
--- trunk/templates/cisco-n6000/power/message (rev 0)
+++ trunk/templates/cisco-n6000/power/message 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,3 @@
+TABLE:
+Name|Model|Serial|cefcFRUPowerAdminStatus|cefcFRUPowerOperStatus|cefcFRUCurrent
+{cefcFRUentPhysicalName}|<!--{cefcFRUentPhysicalClassTxt}--> {cefcFRUentPhysicalModelName}|{cefcFRUentPhysicalSerialNum}|{cefcFRUPowerStatus.color}{cefcFRUPowerStatus}{cefcFRUPowerStatus.errors} ({cefcFRUPowerAdminStatusTxt})|{cefcFRUPowerOperStatusTxt} ({cefcFRUPowerOperStatus})|{cefcFRUCurrent}
Added: trunk/templates/cisco-n6000/power/oids
===================================================================
--- trunk/templates/cisco-n6000/power/oids (rev 0)
+++ trunk/templates/cisco-n6000/power/oids 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,11 @@
+cefcFRUPowerAdminStatus : .1.3.6.1.4.1.9.9.117.1.1.2.1.1 : branch
+cefcFRUPowerOperStatus : .1.3.6.1.4.1.9.9.117.1.1.2.1.2 : branch
+cefcFRUCurrent : .1.3.6.1.4.1.9.9.117.1.1.2.1.3 : branch
+
+
+entPhysicalName : .1.3.6.1.2.1.47.1.1.1.1.7 : branch
+entPhysicalModelName : .1.3.6.1.2.1.47.1.1.1.1.13 : branch
+entPhysicalSerialNum : .1.3.6.1.2.1.47.1.1.1.1.11 : branch
+entPhysicalClass : .1.3.6.1.2.1.47.1.1.1.1.5 : branch
+
+
Added: trunk/templates/cisco-n6000/power/thresholds
===================================================================
--- trunk/templates/cisco-n6000/power/thresholds (rev 0)
+++ trunk/templates/cisco-n6000/power/thresholds 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,8 @@
+cefcFRUPowerAdminStatusTxt : red : on|inlineAuto|inlineOn : {cefcFRUentPhysicalName} has status {cefcFRUPowerAdminStatusTxt}
+cefcFRUPowerAdminStatusTxt : yellow : powerCycle : {cefcFRUentPhysicalName} has status {cefcFRUPowerAdminStatusTxt}
+cefcFRUPowerAdminStatusTxt : green : admin off : {cefcFRUentPhysicalName} has status {cefcFRUPowerAdminStatusTxt}
+
+cefcFRUPowerOperStatusTxt : green : on|inlineAuto|inlineOn : {cefcFRUentPhysicalName} has status {cefcFRUPowerOperStatusTxt}
+cefcFRUPowerOperStatusTxt : yellow : powerCycle|onButFanFail : {cefcFRUentPhysicalName} has status {cefcFRUPowerOperStatusTxt}
+cefcFRUPowerOperStatusTxt : red : off.*|failed|onButInlinePowerFail : {cefcFRUentPhysicalName} has status {cefcFRUPowerOperStatusTxt}
+
Added: trunk/templates/cisco-n6000/power/transforms
===================================================================
--- trunk/templates/cisco-n6000/power/transforms (rev 0)
+++ trunk/templates/cisco-n6000/power/transforms 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,11 @@
+cefcFRUPowerIndex : INDEX : {cefcFRUPowerAdminStatus}
+cefcFRUPowerAdminStatusTxt : SWITCH : {cefcFRUPowerAdminStatus} 1=on,2=admin off,3=inlineAuto,4=inlineOn,5=powerCycle
+cefcFRUPowerOperStatusTxt : SWITCH : {cefcFRUPowerOperStatus} 1=offEnvOther,2=on,3=offAdmin,4=offDenied,5=offEnvPower,6=offEnvTemp,7=offEnvFan,8=failed,9=onButFanFail,10=offCooling,11=offConnectorRating,12=onButInlinePowerFail
+cefcFRUPowerStatus : BEST : {cefcFRUPowerAdminStatusTxt},{cefcFRUPowerOperStatusTxt}
+
+entPhysicalClassTxt : SWITCH : {entPhysicalClass} 1=other,2=unknown,3=chassis,4=backplane,5=container,6=powerSupply,7=fan,8=sensor,9=module,10=port,11=stack,12=cpu
+
+cefcFRUentPhysicalName : CHAIN : {cefcFRUPowerIndex} {entPhysicalName}
+cefcFRUentPhysicalModelName : CHAIN : {cefcFRUPowerIndex} {entPhysicalModelName}
+cefcFRUentPhysicalSerialNum : CHAIN : {cefcFRUPowerIndex} {entPhysicalSerialNum}
+cefcFRUentPhysicalClassTxt : CHAIN : {cefcFRUPowerIndex} {entPhysicalClassTxt}
Added: trunk/templates/cisco-n6000/serial/exceptions
===================================================================
--- trunk/templates/cisco-n6000/serial/exceptions (rev 0)
+++ trunk/templates/cisco-n6000/serial/exceptions 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,3 @@
+entPhysicalClassTxt : only : chassis|module|stack
+#entPhysicalIsFRUTxt : only : true
+#entPhysicalClass
Added: trunk/templates/cisco-n6000/serial/message
===================================================================
--- trunk/templates/cisco-n6000/serial/message (rev 0)
+++ trunk/templates/cisco-n6000/serial/message 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,3 @@
+TABLE:noalarmsmsg
+Model|Description|Hardware Rev|Software Rev|Serial Number
+<!--{entPhysicalClassTxt}-->{entPhysicalModelName}|{entPhysicalDescr}|{entPhysicalHardwareRev}|{entPhysicalSoftwareRev}|{entPhysicalSerialNum}
Added: trunk/templates/cisco-n6000/serial/oids
===================================================================
--- trunk/templates/cisco-n6000/serial/oids (rev 0)
+++ trunk/templates/cisco-n6000/serial/oids 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,15 @@
+entPhysicalDescr : .1.3.6.1.2.1.47.1.1.1.1.2 : branch
+#entPhysicalVendorType : .1.3.6.1.2.1.47.1.1.1.1.3 : branch
+entPhysicalContainedIn : .1.3.6.1.2.1.47.1.1.1.1.4 : branch
+entPhysicalClass : .1.3.6.1.2.1.47.1.1.1.1.5 : branch
+entPhysicalParentRelPos : .1.3.6.1.2.1.47.1.1.1.1.6 : branch
+entPhysicalName : .1.3.6.1.2.1.47.1.1.1.1.7 : branch
+entPhysicalHardwareRev : .1.3.6.1.2.1.47.1.1.1.1.8 : branch
+entPhysicalFirmwareRev : .1.3.6.1.2.1.47.1.1.1.1.9 : branch
+entPhysicalSoftwareRev : .1.3.6.1.2.1.47.1.1.1.1.10 : branch
+entPhysicalSerialNum : .1.3.6.1.2.1.47.1.1.1.1.11 : branch
+entPhysicalMfgName : .1.3.6.1.2.1.47.1.1.1.1.12 : branch
+entPhysicalModelName : .1.3.6.1.2.1.47.1.1.1.1.13 : branch
+entPhysicalAlias : .1.3.6.1.2.1.47.1.1.1.1.14 : branch
+entPhysicalAssetID : .1.3.6.1.2.1.47.1.1.1.1.15 : branch
+entPhysicalIsFRU : .1.3.6.1.2.1.47.1.1.1.1.16 : branch
Added: trunk/templates/cisco-n6000/serial/thresholds
===================================================================
Added: trunk/templates/cisco-n6000/serial/transforms
===================================================================
--- trunk/templates/cisco-n6000/serial/transforms (rev 0)
+++ trunk/templates/cisco-n6000/serial/transforms 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,5 @@
+entPhysicalClassTxt : SWITCH : {entPhysicalClass} 1=other,2=unknown,3=chassis,4=backplane,5=container,6=powerSupply,7=fan,8=sensor,9=module,10=port,11=stack,12=cpu
+
+entPhysicalIsFRUTxt : SWITCH : {entPhysicalIsFRU} 1=true,2=false
+
+entPhysicalIndex : INDEX : {entPhysicalContainedIn}
Added: trunk/templates/cisco-n6000/specs
===================================================================
--- trunk/templates/cisco-n6000/specs (rev 0)
+++ trunk/templates/cisco-n6000/specs 2016-05-26 14:22:12 UTC (rev 256)
@@ -0,0 +1,6 @@
+vendor : cisco
+model : n6000
+snmpver : 2
+sysdesc : Cisco NX-OS.*n6000.*
+#Cisco NX-OS(tm) n6000, Software (n6000-uk9), Version 7.0(5)N1(1), RELEASE SOFTWARE Copyright (c) 2002-2012 by Cisco Systems, Inc. Device Manager Version 6.0(2)N1(1), Compiled 10/29/2014 22:00:00
+#SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.12.3.1.3.1410
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|