You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(34) |
Feb
(22) |
Mar
(2) |
Apr
(4) |
May
|
Jun
(2) |
Jul
(2) |
Aug
|
Sep
(2) |
Oct
(4) |
Nov
(2) |
Dec
(22) |
2009 |
Jan
(20) |
Feb
(7) |
Mar
(5) |
Apr
(7) |
May
(10) |
Jun
|
Jul
(2) |
Aug
|
Sep
(21) |
Oct
(6) |
Nov
(10) |
Dec
(6) |
2010 |
Jan
(1) |
Feb
(4) |
Mar
(14) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
(5) |
Dec
(3) |
2011 |
Jan
(35) |
Feb
(1) |
Mar
(12) |
Apr
(9) |
May
(2) |
Jun
|
Jul
(2) |
Aug
(3) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2012 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(3) |
2013 |
Jan
(3) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
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. |
From: Buchan M. <bg...@st...> - 2012-01-06 13:34:48
|
On Friday, 6 January 2012 02:26:57 Jeremy Laidman wrote: > Hi > > I just worked out why all of my if_err and if_dsc pages try to show 3 > extra graphs with no RRD files. It's because of the way Xymon counts > lines after the "<!--DEVMON" string appears. The messages files under > if_dsc and if_err for almost all Cisco devices have an extra 3 lines: > > Note: > Error rates are per second. > Load percentages are based on error/bit ratio. > > This is not a problem for if_dsc for cisco-857, cisco-871 and > cisco-asa templates because these have the 3 "note" lines above the > TABLE instead of below it. Indeed Buchan fixed the ASA template with > the comment "Move notes above the table to avoid spurious graph icons" > (see > http://devmon.svn.sourceforge.net/viewvc/devmon/trunk/templates/cisco-asa/ > if_dsc/message?r1=22&r2=64). But only the one template was fixed. > > I propose that this fix-up be applied to all templates that have extra > "Note" details after the table. > > Preferably, Xymon needs to be able to accommodate post-data notes like > this. As it already recognises the "<!--DEVMON" marker comment, it > makes sense that it count non-blank lines until the closing comment. > > But it's easier to change a template than to change code. Feel free to submit a patch fixing either side ... Regards, Buchan |
From: Jeremy L. <jla...@re...> - 2012-01-06 00:27:25
|
Hi I just worked out why all of my if_err and if_dsc pages try to show 3 extra graphs with no RRD files. It's because of the way Xymon counts lines after the "<!--DEVMON" string appears. The messages files under if_dsc and if_err for almost all Cisco devices have an extra 3 lines: Note: Error rates are per second. Load percentages are based on error/bit ratio. This is not a problem for if_dsc for cisco-857, cisco-871 and cisco-asa templates because these have the 3 "note" lines above the TABLE instead of below it. Indeed Buchan fixed the ASA template with the comment "Move notes above the table to avoid spurious graph icons" (see http://devmon.svn.sourceforge.net/viewvc/devmon/trunk/templates/cisco-asa/if_dsc/message?r1=22&r2=64). But only the one template was fixed. I propose that this fix-up be applied to all templates that have extra "Note" details after the table. Preferably, Xymon needs to be able to accommodate post-data notes like this. As it already recognises the "<!--DEVMON" marker comment, it makes sense that it count non-blank lines until the closing comment. But it's easier to change a template than to change code. Cheers Jeremy |
From: W.J.M. N. <Wim...@nl...> - 2011-10-17 07:19:43
|
Hello, the patch below disables capturing of fields when evaluating the 'except' directive. This directive is taken from the DEVMON tag in the hosts.cfg file of Xymon (bb-hosts file in case of Hobbit). It decreases the CPU utilization and lowers the Devmon run-time. In our environment, Devmon is run in single-node mode, with 15 childs, on a HP DL 380, dual CPU with two cores each. Devmon checks 777 devices, and for 95 of them an 'except' directive is used. (Most of those devices are Cisco switches. 'Except' is used to ignore the interfaces which are disabled.) Using the patch below, the run-time of Devmon has decreased with about 1.4 [s], and the CPU utilization has decreased with 2%. The patch on Devmon r216 is: Index: dm_tests.pm =================================================================== --- dm_tests.pm (revision 37) +++ dm_tests.pm (working copy) @@ -1848,12 +1848,12 @@ my $a_val = $dev->{'except'}{$test}{$pri}{'alarm'} || $dev->{'except'}{'all'}{$pri}{'alarm'} || $tmpl->{'oids'}{$pri}{'except'}{'alarm'}; - $alarm = ($pri_val =~ /^($a_val)$/) ? 1 : 0 if defined $a_val; + $alarm = ($pri_val =~ /^(?:$a_val)$/) ? 1 : 0 if defined $a_val; my $na_val = $dev->{'except'}{$test}{$pri}{'noalarm'} || $dev->{'except'}{'all'}{$pri}{'noalarm'} || $tmpl->{'oids'}{$pri}{'except'}{'noalarm'}; - $alarm = 0 if defined $na_val and $pri_val =~ /^($na_val)$/; + $alarm = 0 if defined $na_val and $pri_val =~ /^(?:$na_val)$/; # Now go through all the oids in our table row and replace them for my $root ($row_data =~ /\{(.+?)}/g) { @@ -1881,8 +1881,8 @@ my $only = $dev->{'except'}{$test}{$oid}{'only'} || $dev->{'except'}{'all'}{$oid}{'only'} || $tmpl->{'oids'}{$oid}{'except'}{'only'}; - next T_LEAF if defined $ignore and $val =~ /^($ignore)$/; - next T_LEAF if defined $only and $val !~ /^($only)$/; + next T_LEAF if defined $ignore and $val =~ /^(?:$ignore)$/; + next T_LEAF if defined $only and $val !~ /^(?:$only)$/; # If we arent alarming on a value, its green by default @@ -2210,28 +2210,28 @@ if(defined $dev->{'except'}{$test}{$oid}{'noalarm'}) { my $match = $dev->{'except'}{$test}{$oid}{'noalarm'}; - return 1 if $val =~ /^($match)$/; + return 1 if $val =~ /^(?:$match)$/; } elsif(defined $dev->{'except'}{'all'}{$oid}{'noalarm'}) { my $match = $dev->{'except'}{'all'}{$oid}{'noalarm'}; - return 1 if $val =~ /^($match)$/; + return 1 if $val =~ /^(?:$match)$/; } elsif(defined $tmpl->{'oids'}{$oid}{'except'}{'noalarm'}) { my $match = $tmpl->{'oids'}{$oid}{'except'}{'noalarm'}; - return 1 if $val =~ /^($match)$/; + return 1 if $val =~ /^(?:$match)$/; } if(defined $dev->{'except'}{$test}{$oid}{'alarm'}) { my $match = $dev->{'except'}{$test}{$oid}{'alarm'}; - return 1 if $val !~ /^($match)$/; + return 1 if $val !~ /^(?:$match)$/; } elsif(defined $dev->{'except'}{'all'}{$oid}{'alarm'}) { my $match = $dev->{'except'}{'all'}{$oid}{'alarm'}; - return 1 if $val !~ /^($match)$/; + return 1 if $val !~ /^(?:$match)$/; } elsif(defined $tmpl->{'oids'}{$oid}{'except'}{'alarm'}) { my $match = $tmpl->{'oids'}{$oid}{'except'}{'alarm'}; - return 1 if $val !~ /^($match)$/; + return 1 if $val !~ /^(?:$match)$/; } } Kind regards, Wim Nelis. ****************************************************************************************************************** The NLR disclaimer is valid for NLR e-mail messages. This message is only meant for providing information. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of the sender. This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. Sender accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages. ****************************************************************************************************************** |
From: SourceForge.net <no...@so...> - 2011-08-30 14:12:36
|
Bugs item #3400778, was opened at 2011-08-30 16:12 Message generated for change (Tracker Item Submitted) made by wnelis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=816977&aid=3400778&group_id=160720 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Devmon Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Wim Nelis (wnelis) Assigned to: Nobody/Anonymous (nobody) Summary: Thresholds remain undefined Initial Comment: If an OID is used in tests (templates) called A and B, and in test A no thresholds are defined for the OID, but in test B thresholds are defined for the OID, the thresholds are unknown to Devmon when performing test B. Thus no alerts will be triggered, and displaying the threshold value in the status message will show value 'undefined'. This behaviour is caused by an optimisation of Devmon, module dm_tests.pm. The tests are performed in sorted order. During test A, the OID will get defined in a cache (hash %oids). During test B, the presence of the OID in the cache will inhibit retrieval of the thresholds defined in test B. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=816977&aid=3400778&group_id=160720 |
From: <buc...@us...> - 2011-08-25 08:30:47
|
Revision: 233 http://devmon.svn.sourceforge.net/devmon/?rev=233&view=rev Author: buchanmilne Date: 2011-08-25 08:30:41 +0000 (Thu, 25 Aug 2011) Log Message: ----------- Adjust Ironport template to support Security Management devices, which have sysDescr as 'IronPort Appliance' Modified Paths: -------------- trunk/templates/ironport-asyncos/specs Modified: trunk/templates/ironport-asyncos/specs =================================================================== --- trunk/templates/ironport-asyncos/specs 2011-05-13 11:38:24 UTC (rev 232) +++ trunk/templates/ironport-asyncos/specs 2011-08-25 08:30:41 UTC (rev 233) @@ -2,4 +2,5 @@ model : asyncos snmpver : 2 #IronPort Model X1050, AsyncOS Version: 6.1.0-306, Build Date: 2008-05-05, Serial #: XXXXXXXXXXXX-XXXXXXX -sysdesc : IronPort.*AsyncOS +#IronPort Appliance +sysdesc : IronPort.*(AsyncOS|Appliance) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Jeremy L. <jla...@re...> - 2011-08-08 21:40:38
|
On Thu, Jul 14, 2011 at 11:41 PM, Neil Simmonds < Nei...@ex...> wrote: > upsAlarmsPresent : .1.3.6.1.2.1.33.1.6.1.0 : leaf > > xupsAlarmDescr : .1.3.6.1.4.1.534.1.7.2.1.2 : branch**** > > xupsAlarmTime : .1.3.6.1.4.1.534.1.7.2.1.3 : branch**** > > > UPS Alarms ({upsAlarmsPresent.color}{upsAlarmsPresent} alarms) > > {upsAlarmsPresent.errors}**** > > ** ** > > Last Alarm : {xupsAlarmDescr}**** > > Alarm Time : {xupsAlarmTime}**** > > > I currently have no transforms and the data is showing in xymon as, > > ** ** > > Last Alarm : HASH(0xf6a4cf0)**** > > Alarm Time : HASH(0xf714350) > > I'm guessing, but I think you can't reference branches in the messages file without declaring it as a repeater table. Look at the "TEMPLATES" file for an example. Also note that this is the "dev" list. You should send such queries to the user list "de...@li...". Cheers Jeremy |
From: Scott, B. <bri...@de...> - 2011-07-26 07:05:46
|
Hi, I just installed devmon (0.3.1-beta1 - apparently the latest release). >From some error messages I received when I went to run it, I notice that there is a reference to the log_fatal sub from the dm_templates.pm file. log_fatal isn't in the dm_templates namespace so the call fails. If you add the cm_config:: namespace to the log_fatal calls it all works as expected. And yes, I did get an error message that helped me to get devmon going eventually so it was all worthwhile. Thanks for the software, Brian Scott ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ********************************************************************** |
From: Neil S. <Nei...@ex...> - 2011-07-14 14:08:43
|
Hi all, This may be a bit of a Newbie question but I hope someone can help. I've recently configured a set of templates for monitoring 2 UPS devices from Xymon using devmon. I've ended up using the standard UPS mib (OID .1.3.6.1.2.1.33) and the Powerware xUPS mib (OID .1.3.6.1.4.1.534.1) as neither of them gives me everything I want on these particular devices. The problem I'm having is in monitoring alarms in the msgs section. In my oids file I have the following, upsAlarmsPresent : .1.3.6.1.2.1.33.1.6.1.0 : leaf xupsAlarmDescr : .1.3.6.1.4.1.534.1.7.2.1.2 : branch xupsAlarmTime : .1.3.6.1.4.1.534.1.7.2.1.3 : branch You can see the mix of OIDs here. In my messages file I have this, UPS Alarms ({upsAlarmsPresent.color}{upsAlarmsPresent} alarms) {upsAlarmsPresent.errors} Last Alarm : {xupsAlarmDescr} Alarm Time : {xupsAlarmTime} This is working fine for the UPS Alarms bit but not for the Last Alarm or Alarm Time. If I do an snmpget on the xupsAlarmDescr OID I get the following data, enterprises.534.1.7.2.1.2.1 = OID: enterprises.534.1.7.5 from the xupsAlarmTime I get, enterprises.534.1.7.2.1.3.1 = Timeticks: (0) 0:00:00.00 Where I am struggling is in the Transforms, I currently have no transforms and the data is showing in xymon as, Last Alarm : HASH(0xf6a4cf0) Alarm Time : HASH(0xf714350) Can anyone help me with a suitable Transform for this? Regards, Neil Simmonds Operations Analyst Operations Support Group Express Gifts Ltd. nei...@ex... Tel :- 01254 303092 Fax :- 01254 303100 Name & Registered Office: EXPRESS GIFTS LIMITED, 2 GREGORY ST, HYDE, CHESHIRE, ENGLAND, SK14 4TH, Company No. 00718151. Express Gifts Limited is authorised and regulated by the Financial Services Authority ------------ NOTE: This email and any information contained within or attached in a separate file is confidential and intended solely for the Individual to whom it is addressed. The information or data included is solely for the purpose indicated or previously agreed. Any information or data included with this e-mail remains the property of Findel PLC and the recipient will refrain from utilising the information for any purpose other than that indicated and upon request will destroy the information and remove it from their records. Any views or opinions presented are solely those of the author and do not necessarily represent those of Findel PLC. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. No warranties or assurances are made in relation to the safety and content of this e-mail and any attachments. No liability is accepted for any consequences arising from it. Findel Plc reserves the right to monitor all e-mail communications through its internal and external networks. If you have received this email in error please notify our IT helpdesk on +44(0) 1254 303030 |
From: <buc...@us...> - 2011-05-13 11:38:30
|
Revision: 232 http://devmon.svn.sourceforge.net/devmon/?rev=232&view=rev Author: buchanmilne Date: 2011-05-13 11:38:24 +0000 (Fri, 13 May 2011) Log Message: ----------- Update to version that supports using Xymon::Client that returns arrays rather than requiring the caller to process the raw string Modified Paths: -------------- trunk/extras/devmongraphtitle.pl Modified: trunk/extras/devmongraphtitle.pl =================================================================== --- trunk/extras/devmongraphtitle.pl 2011-05-13 11:24:27 UTC (rev 231) +++ trunk/extras/devmongraphtitle.pl 2011-05-13 11:38:24 UTC (rev 232) @@ -21,16 +21,35 @@ } my ($testname,$intname) = split(/\./,$files[0],3); $intname =~ s/_/\//g if ($intname); +print "Looking for $intname\n" if $ENV{'DEBUG'}; -my $bb=Xymon::Client->new; +my $bb; +if ($ENV{'DEBUG'}) { + $bb=Xymon::Client->new(undef,debug=>1); +} else { + $bb=Xymon::Client->new; +} my $result = $bb->hobbitdlog("$hostname.$testname"); + +#For api returning string +if (0) { while (<$result>) { chomp; + print if $ENV{'DEBUG'}; if (m(^<tr><td>$intname ([^<]+)?<\/td><td>)) { $intdesc = $1; print "Network Traffic on $intname ($intdesc) $period\n"; exit 0; } } +} +foreach (@{$result}) { + print if $ENV{'DEBUG'}; + if (m(^<tr><td>$intname ([^<]+)?<\/td><td>)) { + $intdesc = $1; + print "Network Traffic on $intname ($intdesc) $period\n"; + exit 0; + } +} print "Network Traffic on $intname $period\n"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <buc...@us...> - 2011-05-13 11:24:33
|
Revision: 231 http://devmon.svn.sourceforge.net/devmon/?rev=231&view=rev Author: buchanmilne Date: 2011-05-13 11:24:27 +0000 (Fri, 13 May 2011) Log Message: ----------- Add initial devmongraphtitle script (using older Xymon::Client interface), and commented usage example in devmon-graph.cfg Modified Paths: -------------- trunk/extras/devmon-graph.cfg Added Paths: ----------- trunk/extras/devmongraphtitle.pl Modified: trunk/extras/devmon-graph.cfg =================================================================== --- trunk/extras/devmon-graph.cfg 2011-04-04 12:17:05 UTC (rev 230) +++ trunk/extras/devmon-graph.cfg 2011-05-13 11:24:27 UTC (rev 231) @@ -1,6 +1,7 @@ [if_load] FNPATTERN if_load.(.*).rrd TITLE Network Traffic + #TITLE exec:$BBHOME/ext/devmongraphtitle.pl YAXIS Bits/second DEF:in@RRDIDX@=@RRDFN@:ds0:AVERAGE CDEF:inbytes@RRDIDX@=in@RRDIDX@,8,* Added: trunk/extras/devmongraphtitle.pl =================================================================== --- trunk/extras/devmongraphtitle.pl (rev 0) +++ trunk/extras/devmongraphtitle.pl 2011-05-13 11:24:27 UTC (rev 231) @@ -0,0 +1,36 @@ +#!/usr/bin/perl +# Script to get the interface name from the current devmon if_load test +# to use as dynamic graph title command (see hobbitgraph.cfg(5)) +# Copyright (c) Buchan Milne <bg...@st...> 2009 +# License GPLv2 + +use strict; +use warnings; +use Xymon::Client; + +my $hostname = shift || ""; +my $graphinstance = shift || ""; +my $period = shift||""; +my @files = @ARGV; + +my $intdesc; + +if (@files gt 1 or @files eq 0) { + print "Network Traffic $period\n"; + exit 0 +} +my ($testname,$intname) = split(/\./,$files[0],3); +$intname =~ s/_/\//g if ($intname); + +my $bb=Xymon::Client->new; +my $result = $bb->hobbitdlog("$hostname.$testname"); + +while (<$result>) { + chomp; + if (m(^<tr><td>$intname ([^<]+)?<\/td><td>)) { + $intdesc = $1; + print "Network Traffic on $intname ($intdesc) $period\n"; + exit 0; + } +} +print "Network Traffic on $intname $period\n"; Property changes on: trunk/extras/devmongraphtitle.pl ___________________________________________________________________ Added: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <buc...@us...> - 2011-04-04 12:17:11
|
Revision: 230 http://devmon.svn.sourceforge.net/devmon/?rev=230&view=rev Author: buchanmilne Date: 2011-04-04 12:17:05 +0000 (Mon, 04 Apr 2011) Log Message: ----------- White space changes for previous commit Modified Paths: -------------- trunk/modules/dm_config.pm Modified: trunk/modules/dm_config.pm =================================================================== --- trunk/modules/dm_config.pm 2011-04-04 12:10:45 UTC (rev 229) +++ trunk/modules/dm_config.pm 2011-04-04 12:17:05 UTC (rev 230) @@ -283,29 +283,29 @@ # PID file handling if($g{'daemonize'}) { - # Check to see if a pid file exists - if(-e $g{'pidfile'}) { - # One exists, let see if its stale - my $pid_handle = new IO::File $g{'pidfile'}, 'r' - or log_fatal("Can't read from pid file '$g{'pidfile'}' ($!).", 0); + # Check to see if a pid file exists + if(-e $g{'pidfile'}) { + # One exists, let see if its stale + my $pid_handle = new IO::File $g{'pidfile'}, 'r' + or log_fatal("Can't read from pid file '$g{'pidfile'}' ($!).", 0); - # Read in the old PID - my ($old_pid) = <$pid_handle>; - chomp $old_pid; - $pid_handle->close; + # Read in the old PID + my ($old_pid) = <$pid_handle>; + chomp $old_pid; + $pid_handle->close; - # If it exists, die silently - log_fatal("Devmon already running, quitting.", 1) if kill 0, $old_pid; - } + # If it exists, die silently + log_fatal("Devmon already running, quitting.", 1) if kill 0, $old_pid; + } - # Now write our pid to the pidfile - my $pid_handle = new IO::File $g{'pidfile'}, 'w' - or log_fatal("Cant write to pidfile $g{'pidfile'} ($!)",0); - $pid_handle->print($g{'mypid'}); - $pid_handle->close; + # Now write our pid to the pidfile + my $pid_handle = new IO::File $g{'pidfile'}, 'w' + or log_fatal("Cant write to pidfile $g{'pidfile'} ($!)",0); + $pid_handle->print($g{'mypid'}); + $pid_handle->close; } - # Autodetect our nodename on user request + # Autodetect our nodename on user request if($g{'nodename'} eq 'HOSTNAME') { my $hostname_bin = bin_path('hostname'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <buc...@us...> - 2011-04-04 12:10:51
|
Revision: 229 http://devmon.svn.sourceforge.net/devmon/?rev=229&view=rev Author: buchanmilne Date: 2011-04-04 12:10:45 +0000 (Mon, 04 Apr 2011) Log Message: ----------- Only do pid file checks when daemonizing, allows non-daemonized copy to run (e.g. for use with -f, specifically when working on templates with -f -p -h xxx) Modified Paths: -------------- trunk/modules/dm_config.pm Modified: trunk/modules/dm_config.pm =================================================================== --- trunk/modules/dm_config.pm 2011-04-04 11:26:02 UTC (rev 228) +++ trunk/modules/dm_config.pm 2011-04-04 12:10:45 UTC (rev 229) @@ -280,6 +280,9 @@ # Set our pid $g{'mypid'} = $$; + + # PID file handling + if($g{'daemonize'}) { # Check to see if a pid file exists if(-e $g{'pidfile'}) { # One exists, let see if its stale @@ -296,7 +299,6 @@ } # Now write our pid to the pidfile - if($g{'daemonize'}) { my $pid_handle = new IO::File $g{'pidfile'}, 'w' or log_fatal("Cant write to pidfile $g{'pidfile'} ($!)",0); $pid_handle->print($g{'mypid'}); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <buc...@us...> - 2011-04-04 11:26:08
|
Revision: 228 http://devmon.svn.sourceforge.net/devmon/?rev=228&view=rev Author: buchanmilne Date: 2011-04-04 11:26:02 +0000 (Mon, 04 Apr 2011) Log Message: ----------- Allow '*' as multiplication operator Modified Paths: -------------- trunk/docs/TEMPLATES trunk/modules/dm_templates.pm Modified: trunk/docs/TEMPLATES =================================================================== --- trunk/docs/TEMPLATES 2011-04-04 10:59:18 UTC (rev 227) +++ trunk/docs/TEMPLATES 2011-04-04 11:26:02 UTC (rev 228) @@ -431,7 +431,8 @@ operators: '+' (Addition) '-' (Subtraction) - ' x ' (Multiplication - note white space on each side) + '*' (Muliplication) + ' x ' (Multiplication - note white space on each side) (deprecated) '/' (Division) '^' (Exponentiation) '%' (Modulo or Remainder) @@ -440,7 +441,7 @@ ' . ' (string concatenation - note white space each side) '(' and ')' (Expression nesting) - This transform is not whitespace sensitive, except in the case of ' x ' and ' . ' , so both: + This transform is not whitespace sensitive, except in the case of ' x ' and ' . ' , so both: {sysUpTime} / 100 and {sysUpTime}/100 @@ -452,7 +453,8 @@ will work, while: {ifInOps}x8 will not. This is to avoid problems with oid names containing the character - 'x'. + 'x'. New templates should rather use the '*' operator to avoid problems, e.g.: + {ifInOps}*8 The mathematical expressions you can perform can be quite complex, such as: Modified: trunk/modules/dm_templates.pm =================================================================== --- trunk/modules/dm_templates.pm 2011-04-04 10:59:18 UTC (rev 227) +++ trunk/modules/dm_templates.pm 2011-04-04 11:26:02 UTC (rev 228) @@ -544,7 +544,7 @@ $func_type eq 'math' and do { $temp =~ s/:\s*\d+\s*$//; - $temp =~ s/\{\s*\S+?\s*\}|\s\.\s|\sx\s|\+|\/|-|\^|%|\||&|\d+(\.\d*)?|\(|\)\s*//g; + $temp =~ s/\{\s*\S+?\s*\}|\s\.\s|\sx\s|\*|\+|\/|-|\^|%|\||&|\d+(\.\d*)?|\(|\)\s*//g; do_log("MATH transform uses only math/numeric symbols and an " . "optional precision number at $trans_file, line $l_num", 0) and next LINE if $temp !~ /^\s*$/; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <buc...@us...> - 2011-04-04 10:59:24
|
Revision: 227 http://devmon.svn.sourceforge.net/devmon/?rev=227&view=rev Author: buchanmilne Date: 2011-04-04 10:59:18 +0000 (Mon, 04 Apr 2011) Log Message: ----------- Fix propagation of HUP signal to forks - Only log re-opening of logs when in debug Modified Paths: -------------- trunk/modules/dm_config.pm Modified: trunk/modules/dm_config.pm =================================================================== --- trunk/modules/dm_config.pm 2011-04-04 10:47:24 UTC (rev 226) +++ trunk/modules/dm_config.pm 2011-04-04 10:59:18 UTC (rev 227) @@ -1033,12 +1033,20 @@ # Allow Rotation of log files sub reopen_log { my ($signal) = @_; - do_log("Received signal $signal, closing and re-opening log file",3) if $signal; + if ($g{'parent'}) { + do_log("Sending signal $signal to forks",3) if $g{'debug'}; + for my $fork (keys %{$g{'forks'}}) { + my $pid = $g{'forks'}{$fork}{'pid'}; + kill $signal, $pid if defined $pid; + } + } + + do_log("Received signal $signal, closing and re-opening log file",3) if $g{'debug'}; if (defined $g{'log'}) { undef $g{'log'}; &open_log; } - do_log("Re-opened log file $g{'logfile'}",3); + do_log("Re-opened log file $g{'logfile'}",3) if $g{'debug'}; return 1; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <buc...@us...> - 2011-04-04 10:47:30
|
Revision: 226 http://devmon.svn.sourceforge.net/devmon/?rev=226&view=rev Author: buchanmilne Date: 2011-04-04 10:47:24 +0000 (Mon, 04 Apr 2011) Log Message: ----------- Suppress SNMP warnings if not in debug Modified Paths: -------------- trunk/modules/dm_snmp.pm Modified: trunk/modules/dm_snmp.pm =================================================================== --- trunk/modules/dm_snmp.pm 2011-04-04 10:45:05 UTC (rev 225) +++ trunk/modules/dm_snmp.pm 2011-04-04 10:47:24 UTC (rev 226) @@ -39,7 +39,7 @@ my $max_pdu_len = 16384; # default is 8000 # Set some of our global SNMP variables $BER::pretty_print_timeticks = 0; - $SNMP_Session::suppress_warnings = 0; + $SNMP_Session::suppress_warnings = $g{'debug'} ? 0 : 1; # Fiddle with some of our storable settings to correct byte order... $Storable::interwork_56_64bit = 1; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <buc...@us...> - 2011-04-04 10:45:12
|
Revision: 225 http://devmon.svn.sourceforge.net/devmon/?rev=225&view=rev Author: buchanmilne Date: 2011-04-04 10:45:05 +0000 (Mon, 04 Apr 2011) Log Message: ----------- Reduce verbosity of checks on NET tag Modified Paths: -------------- trunk/modules/dm_config.pm Modified: trunk/modules/dm_config.pm =================================================================== --- trunk/modules/dm_config.pm 2011-04-04 10:42:20 UTC (rev 224) +++ trunk/modules/dm_config.pm 2011-04-04 10:45:05 UTC (rev 225) @@ -1313,10 +1313,10 @@ my ($ip, $host, $bbopts) = ($1, $2, $3); # Skip if the NET tag does not match this site - do_log("Checking if $bbopts matches NET:" . $g{'bblocation'} . ".",2); + do_log("Checking if $bbopts matches NET:" . $g{'bblocation'} . ".",4) if $g{'debug'}; if ($g{'bblocation'} ne '') { if ($bbopts !~ / NET:$g{'bblocation'}/) { - do_log("The NET for $host is not $g{'bblocation'}. Skipping.",1); + do_log("The NET for $host is not $g{'bblocation'}. Skipping.",3); next; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <buc...@us...> - 2011-04-04 10:42:26
|
Revision: 224 http://devmon.svn.sourceforge.net/devmon/?rev=224&view=rev Author: buchanmilne Date: 2011-04-04 10:42:20 +0000 (Mon, 04 Apr 2011) Log Message: ----------- RH-style init script: provide pid file to calls to status function, fixes 'status' and 'rotate' Modified Paths: -------------- trunk/extras/devmon.initd.redhat Modified: trunk/extras/devmon.initd.redhat =================================================================== --- trunk/extras/devmon.initd.redhat 2011-04-04 10:40:46 UTC (rev 223) +++ trunk/extras/devmon.initd.redhat 2011-04-04 10:42:20 UTC (rev 224) @@ -185,13 +185,13 @@ RETVAL=$? ;; rotate) - if status devmon >/dev/null + if status -p $PIDFILE devmon >/dev/null then rotate fi RETVAL=$? ;; status) - status devmon + status -p $PIDFILE devmon RETVAL=$? ;; *) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <buc...@us...> - 2011-04-04 10:40:53
|
Revision: 223 http://devmon.svn.sourceforge.net/devmon/?rev=223&view=rev Author: buchanmilne Date: 2011-04-04 10:40:46 +0000 (Mon, 04 Apr 2011) Log Message: ----------- Correct some exception messages, and provide more detail of messages being sent to display server Modified Paths: -------------- trunk/modules/dm_msg.pm Modified: trunk/modules/dm_msg.pm =================================================================== --- trunk/modules/dm_msg.pm 2011-04-04 10:32:02 UTC (rev 222) +++ trunk/modules/dm_msg.pm 2011-04-04 10:40:46 UTC (rev 223) @@ -63,13 +63,13 @@ # Open our socket to the host do_log("DEBUG: Opening socket to $host:$g{'dispport'}",3) if $g{'debug'}; eval { - local $SIG{ALRM} = sub { die "Socket timed out" }; + local $SIG{ALRM} = sub { die "Socket timed out\n" }; alarm 10; socket(SOCK, PF_INET, SOCK_STREAM, getprotobyname('tcp')) or do_log("Failed to create socket ($!)",0) and $g{'msgxfrtime'} = time - $g{'msgxfrtime'} and return; alarm 0; - local $SIG{ALRM} = sub { die "Connect timed out" }; + local $SIG{ALRM} = sub { die "Connect timed out\n" }; alarm 10; if (!connect(SOCK, $p_addr)) { do_log("Can't connect to display server $host ($!)",0); @@ -86,7 +86,7 @@ # Tell the display server that we are sending a combo msg eval { - local $SIG{ALRM} = sub { die "Print timed out" }; + local $SIG{ALRM} = sub { die "Print timed out\n" }; alarm 10; print SOCK "combo\n"; alarm 0; @@ -115,16 +115,18 @@ # Nuts, this is a huge message, bigger than our msg size. Well want # to send it by itself to minimize how much it gets truncated if($msg_size == 0) { - do_log("DEBUG: Printing single combo message",3) if $g{'debug'}; + my $thismsgsize = length $msg; # Okay, we are clear, send the message eval { - local $SIG{ALRM} = sub { die "Printing message timed out" }; + local $SIG{ALRM} = sub { die "Printing message timed out\n" }; alarm 10; + do_log("DEBUG: Printing single combo message size $thismsgsize",3) if $g{'debug'}; print SOCK "$msg\n"; + do_log("DEBUG: Finished printing single combo message",3) if $g{'debug'}; alarm 0; }; if ($@) { - do_log("Timed out printing to display server: $!",0); + do_log("Timed out printing to display server: $@ - $!",0); close SOCK; return; } @@ -154,7 +156,7 @@ else { do_log("DEBUG: Printing combo message with multiple messages",3) if $g{'debug'}; eval { - local $SIG{ALRM} = sub { die "Printing message timed out" }; + local $SIG{ALRM} = sub { die "Printing message timed out\n" }; alarm 10; print SOCK "$msg\n"; alarm 0; @@ -165,6 +167,7 @@ return; } $msg_size += length $msg; + do_log("DEBUG: Finished printing combo message with multiple messages",3) if $g{'debug'}; } } # End MSGLOOP @@ -180,7 +183,7 @@ do_log("DEBUG: Connecting and sending dm message",3) if $g{'debug'}; my $dm_msg = dm_stat_msg(); eval { - local $SIG{ALRM} = sub { die "Connecting and sending dm message timed out" }; + local $SIG{ALRM} = sub { die "Connecting and sending dm message timed out\n" }; alarm 10; socket(SOCK, PF_INET, SOCK_STREAM, getprotobyname('tcp')) or do_log("Failed to create socket ($!)",0) and return; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <buc...@us...> - 2011-04-04 10:32:09
|
Revision: 222 http://devmon.svn.sourceforge.net/devmon/?rev=222&view=rev Author: buchanmilne Date: 2011-04-04 10:32:02 +0000 (Mon, 04 Apr 2011) Log Message: ----------- Try and avoid CPU racing by forks if master is unresponsive Modified Paths: -------------- trunk/modules/dm_snmp.pm Modified: trunk/modules/dm_snmp.pm =================================================================== --- trunk/modules/dm_snmp.pm 2011-03-22 07:58:22 UTC (rev 221) +++ trunk/modules/dm_snmp.pm 2011-04-04 10:32:02 UTC (rev 222) @@ -522,11 +522,14 @@ # Our getline timed out, which means we haven't gotten any data # in a while. Make sure our parent is still there if($@) { - do_log("Fork $fork_num timed out waiting for data from parent: $@",4); + do_log("Fork $fork_num timed out waiting for data from parent: $@",3); if (!kill 0, $g{'mypid'}) { do_log("Parent is no longer running, fork $fork_num exiting"); exit 1; } + my $sleeptime = $g{'cycletime'} / 2; + do_log("Parent ($g{'mypid'}) seems to be running, fork $fork_num sleeping for $sleeptime",3); + sleep $sleeptime; } $serialized .= $string_in if defined $string_in; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dba...@us...> - 2011-03-22 07:58:28
|
Revision: 221 http://devmon.svn.sourceforge.net/devmon/?rev=221&view=rev Author: dbaldwin Date: 2011-03-22 07:58:22 +0000 (Tue, 22 Mar 2011) Log Message: ----------- clean up matching brace patterns in regexps Modified Paths: -------------- trunk/modules/dm_tests.pm Modified: trunk/modules/dm_tests.pm =================================================================== --- trunk/modules/dm_tests.pm 2011-03-18 01:22:42 UTC (rev 220) +++ trunk/modules/dm_tests.pm 2011-03-22 07:58:22 UTC (rev 221) @@ -462,7 +462,7 @@ $expr =~ s/\^/**/g; # Exponentiation # Extract all our our parent oids from the expression, first - my @dep_oids = $expr =~ /\{(.+?)}/g; + my @dep_oids = $expr =~ /\{(.+?)\}/g; # Validate our dependencies validate_deps($device, $oids, $oid, \@dep_oids, '^[-+]?\d+(\.\d+)?$') @@ -601,7 +601,7 @@ my $oid_h = \%{$oids->{$oid}}; # Extract all our our parent oids from the expression, first - my @dep_oids = $oid_h->{'trans_data'} =~ /\{(.+?)}/g; + my @dep_oids = $oid_h->{'trans_data'} =~ /\{(.+?)\}/g; # Validate our dependencies validate_deps($device, $oids, $oid, \@dep_oids, '^[-+]?\d+(\.\d+)?$') @@ -689,7 +689,7 @@ my $oid_h = \%{$oids->{$oid}}; # Extract all our our parent oids from the expression, first - my @dep_oids = $oid_h->{'trans_data'} =~ /\{(.+?)}/g; + my @dep_oids = $oid_h->{'trans_data'} =~ /\{(.+?)\}/g; # Validate our dependencies validate_deps($device, $oids, $oid, \@dep_oids, '^[-+]?\d+(\.\d+)?$') @@ -879,7 +879,7 @@ my $oid_h = \%{$oids->{$oid}}; # Extract all our our parent oids from the expression, first - my @dep_oids = $oid_h->{'trans_data'} =~ /\{(.+?)}/g; + my @dep_oids = $oid_h->{'trans_data'} =~ /\{(.+?)\}/g; # Validate our dependencies validate_deps($device, $oids, $oid, \@dep_oids) @@ -947,7 +947,7 @@ my $oid_h = \%{$oids->{$oid}}; # Extract all our our parent oids from the expression, first - my @dep_oids = $oid_h->{'trans_data'} =~ /\{(.+?)}/g; + my @dep_oids = $oid_h->{'trans_data'} =~ /\{(.+?)\}/g; # Validate our dependencies validate_deps($device, $oids, $oid, \@dep_oids) or return; @@ -1441,7 +1441,7 @@ if $trans_data =~ /^\{\s*(\S+?)\s*\}\s*(\/.+\/.*\/)\s*$/; # Extract all our our parent oids from the expression, first - my @dep_oids = $trans_data =~ /\{(.+?)}/g; + my @dep_oids = $trans_data =~ /\{(.+?)\}/g; # Validate our dependencies validate_deps($device, $oids, $oid, \@dep_oids) or return; @@ -1529,7 +1529,7 @@ my $oid_h = \%{$oids->{$oid}}; # Extract all our our parent oids from the expression, first - my ($src_oid, $trg_oid) = $oid_h->{'trans_data'} =~ /\{(.+?)}/g; + my ($src_oid, $trg_oid) = $oid_h->{'trans_data'} =~ /\{(.+?)\}/g; # Validate our dependencies, have to do them seperately validate_deps($device, $oids, $oid, [$src_oid], '^\.?(\d+\.)*\d+$') @@ -1618,7 +1618,7 @@ my $oid_h = \%{$oids->{$oid}}; # Extract our parent oids from the expression, first - my ($src_oid) = $oid_h->{'trans_data'} =~ /\{(.+?)}/g; + my ($src_oid) = $oid_h->{'trans_data'} =~ /\{(.+?)\}/g; validate_deps($device, $oids, $oid, [$src_oid], '.+') ; # Validate our dependencies, have to do them seperately @@ -1784,7 +1784,7 @@ # If we have seen a TABLE: placeholder, do table logic if(defined $table) { # First check and see if this is our table header - if($line !~ /\{(.+?)}/) { + if($line !~ /\{(.+?)\}/) { # Format the line accordingly if(defined $t_opts{'nonhtml'}) { @@ -1811,7 +1811,7 @@ else {$line =~ s/\|/<\/td><td>/g} # Make the first oid (from left to right) the primary one - my $pri = $1 if $line =~ /\{(.+?)}/; + my $pri = $1 if $line =~ /\{(.+?)\}/; if(!defined $pri) { do_log("No primary OID found for $test test for $device", 0); $msg .= "&yellow No primary OID found.\n"; @@ -1870,7 +1870,7 @@ $alarm = 0 if defined $na_val and $pri_val =~ /^($na_val)$/; # Now go through all the oids in our table row and replace them - for my $root ($row_data =~ /\{(.+?)}/g) { + for my $root ($row_data =~ /\{(.+?)\}/g) { # Chop off any flags and store them for later my $oid = $root; @@ -2067,7 +2067,7 @@ # Not table data, so it should be a non-repeater type variable else { - for my $root ($line =~ /\{(.+?)}/g) { + for my $root ($line =~ /\{(.+?)\}/g) { # Chop off any flags and store them for later my $oid = $root; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Buchan M. <bg...@st...> - 2011-03-18 09:07:49
|
----- dba...@us... wrote: > Revision: 220 > http://devmon.svn.sourceforge.net/devmon/?rev=220&view=rev > Author: dbaldwin > Date: 2011-03-18 01:22:42 +0000 (Fri, 18 Mar 2011) > > Log Message: > ----------- > add templates for Falconstor, Brocade interfaces, Sentry PDU, HDS > DF600 > > Added Paths: > ----------- > trunk/templates/brocade-fcsw/if_load/ > trunk/templates/brocade-fcsw/if_load/exceptions > trunk/templates/brocade-fcsw/if_load/message > trunk/templates/brocade-fcsw/if_load/oids > trunk/templates/brocade-fcsw/if_load/thresholds > trunk/templates/brocade-fcsw/if_load/transforms > trunk/templates/brocade-fcsw/if_stat/ > trunk/templates/brocade-fcsw/if_stat/exceptions > trunk/templates/brocade-fcsw/if_stat/message > trunk/templates/brocade-fcsw/if_stat/oids > trunk/templates/brocade-fcsw/if_stat/thresholds > trunk/templates/brocade-fcsw/if_stat/transforms Could you have a look at the tracker item about brocade FC switches: https://sourceforge.net/tracker/?func=detail&aid=3041135&group_id=160720&atid=816979 Regards, Buchan |
From: Buchan M. <bg...@st...> - 2011-03-18 06:18:29
|
----- "David Baldwin" <dav...@au...> wrote: > Buchan, > > My apologies for my previous message - I wasn't reading the TEMPLATES > file from the latest SVN when I wrote my reply. > > I have added an now probably superfluous additional clarification. > > I still think it would be desirable to support '*' as an alternative > to > 'x' (and less work!). Agreed. I discussed this somewhere, but couldn't find the mail or tracker item yesterday. > My earlier commit changing s/ x / \* / to s/\bx\b/\*/ doesn't handle > cases like 2x3 anyway :( I was concerned that it might still be confusing in some cases, but didn't have an example. > It would probably be necessary to parse the > expression, similar to what is done in dm_templates to tokenise the > expression and then do the substitutions and then reassemble the > expression. cost/benefit of just recommending/enforcing white space around 'x' is much lower, and maybe we should introduce '*' before releasing 0.3.1. I haven't seen any more cases of devmon going purple with current svn (plus some minor local changes), so I think we should look at finalising 0.3.1 soon (maybe next week. I'll have another look through the tracker today or Tuesday. Regards, Buchan |
From: <dba...@us...> - 2011-03-18 01:22:50
|
Revision: 220 http://devmon.svn.sourceforge.net/devmon/?rev=220&view=rev Author: dbaldwin Date: 2011-03-18 01:22:42 +0000 (Fri, 18 Mar 2011) Log Message: ----------- add templates for Falconstor, Brocade interfaces, Sentry PDU, HDS DF600 Added Paths: ----------- trunk/templates/brocade-fcsw/if_load/ trunk/templates/brocade-fcsw/if_load/exceptions trunk/templates/brocade-fcsw/if_load/message trunk/templates/brocade-fcsw/if_load/oids trunk/templates/brocade-fcsw/if_load/thresholds trunk/templates/brocade-fcsw/if_load/transforms trunk/templates/brocade-fcsw/if_stat/ trunk/templates/brocade-fcsw/if_stat/exceptions trunk/templates/brocade-fcsw/if_stat/message trunk/templates/brocade-fcsw/if_stat/oids trunk/templates/brocade-fcsw/if_stat/thresholds trunk/templates/brocade-fcsw/if_stat/transforms trunk/templates/falconstor/ trunk/templates/falconstor/README trunk/templates/falconstor/fsres/ trunk/templates/falconstor/fsres/exceptions trunk/templates/falconstor/fsres/message trunk/templates/falconstor/fsres/oids trunk/templates/falconstor/fsres/thresholds trunk/templates/falconstor/fsres/transforms trunk/templates/falconstor/fstor/ trunk/templates/falconstor/fstor/exceptions trunk/templates/falconstor/fstor/message trunk/templates/falconstor/fstor/oids trunk/templates/falconstor/fstor/thresholds trunk/templates/falconstor/fstor/transforms trunk/templates/falconstor/specs trunk/templates/hds-df600/ trunk/templates/hds-df600/README trunk/templates/hds-df600/raid/ trunk/templates/hds-df600/raid/exceptions trunk/templates/hds-df600/raid/message trunk/templates/hds-df600/raid/oids trunk/templates/hds-df600/raid/thresholds trunk/templates/hds-df600/raid/transforms trunk/templates/hds-df600/specs trunk/templates/sentry-pdu/ trunk/templates/sentry-pdu/README trunk/templates/sentry-pdu/power/ trunk/templates/sentry-pdu/power/exceptions trunk/templates/sentry-pdu/power/message trunk/templates/sentry-pdu/power/oids trunk/templates/sentry-pdu/power/thresholds trunk/templates/sentry-pdu/power/transforms trunk/templates/sentry-pdu/specs Added: trunk/templates/brocade-fcsw/if_load/exceptions =================================================================== --- trunk/templates/brocade-fcsw/if_load/exceptions (rev 0) +++ trunk/templates/brocade-fcsw/if_load/exceptions 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,2 @@ +ifName : alarm : .+ +ifName : ignore : Nu.+|Vl.+ Added: trunk/templates/brocade-fcsw/if_load/message =================================================================== --- trunk/templates/brocade-fcsw/if_load/message (rev 0) +++ trunk/templates/brocade-fcsw/if_load/message 2011-03-18 01:22:42 UTC (rev 220) @@ -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/brocade-fcsw/if_load/oids =================================================================== --- trunk/templates/brocade-fcsw/if_load/oids (rev 0) +++ trunk/templates/brocade-fcsw/if_load/oids 2011-03-18 01:22:42 UTC (rev 220) @@ -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.2 : 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/brocade-fcsw/if_load/thresholds =================================================================== --- trunk/templates/brocade-fcsw/if_load/thresholds (rev 0) +++ trunk/templates/brocade-fcsw/if_load/thresholds 2011-03-18 01:22:42 UTC (rev 220) @@ -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/brocade-fcsw/if_load/transforms =================================================================== --- trunk/templates/brocade-fcsw/if_load/transforms (rev 0) +++ trunk/templates/brocade-fcsw/if_load/transforms 2011-03-18 01:22:42 UTC (rev 220) @@ -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/brocade-fcsw/if_stat/exceptions =================================================================== --- trunk/templates/brocade-fcsw/if_stat/exceptions (rev 0) +++ trunk/templates/brocade-fcsw/if_stat/exceptions 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1 @@ +ifName : ignore : Nu.+|Vl.+ Added: trunk/templates/brocade-fcsw/if_stat/message =================================================================== --- trunk/templates/brocade-fcsw/if_stat/message (rev 0) +++ trunk/templates/brocade-fcsw/if_stat/message 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,3 @@ +TABLE: +Ifc name|Ifc speed|Ifc status +{ifName}{ifAliasBox}|{ifSpeed}|{ifStat.color}{ifStat}{ifStat.errors} Added: trunk/templates/brocade-fcsw/if_stat/oids =================================================================== --- trunk/templates/brocade-fcsw/if_stat/oids (rev 0) +++ trunk/templates/brocade-fcsw/if_stat/oids 2011-03-18 01:22:42 UTC (rev 220) @@ -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.2 : 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/brocade-fcsw/if_stat/thresholds =================================================================== --- trunk/templates/brocade-fcsw/if_stat/thresholds (rev 0) +++ trunk/templates/brocade-fcsw/if_stat/thresholds 2011-03-18 01:22:42 UTC (rev 220) @@ -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/brocade-fcsw/if_stat/transforms =================================================================== --- trunk/templates/brocade-fcsw/if_stat/transforms (rev 0) +++ trunk/templates/brocade-fcsw/if_stat/transforms 2011-03-18 01:22:42 UTC (rev 220) @@ -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/falconstor/README =================================================================== --- trunk/templates/falconstor/README (rev 0) +++ trunk/templates/falconstor/README 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,8 @@ +This template was created by David Baldwin + +NOTE: This does not imply any support responsibilities, liability in +case of this template or devmon causing physical, monetary or emotional +damages, or any other such obligations. It is merely to provide +credit to the original author of the template. + +Status for Falconstor storage virtualisation Added: trunk/templates/falconstor/fsres/exceptions =================================================================== Added: trunk/templates/falconstor/fsres/message =================================================================== --- trunk/templates/falconstor/fsres/message (rev 0) +++ trunk/templates/falconstor/fsres/message 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,14 @@ +SAN Clients: +TABLE:plain,noalarmsmsg +ID Name +{sanClientID}|{sanClientName} + +SAN Resources: +TABLE:noalarmsmsg +ID|Name|Alloc Type|Size|Config|MirrSync|ReplDev|ReplSched|SnapStat +{sanResourceID}|{sanResourceName}|{srAllocationType}|{srTotalSize}|{srConfigStatus}|{srMirrorSyncStatus.errors}{srMirrorSyncStatus.color}{srMirrorSyncStatus}|{srReplicaDevice}|{srReplicatingSchedule}|{srSnapshotCopyStatus} + +SAN Physical Allocation Layout: +TABLE:noalarmsmsg +ID|Res Name|SRID|SRName|SRType|Adp#|SCSI|LUN|FrstSect|LastSect|Size|FC Client|SAN Res|Access|Conn +{physicalAllocLayoutIndex}|{srpaSANResourceName}|{srpaSANResourceID}|{srpaName}|{srpaType}|{srpaAdapterNo}|{srpaScsiID}|{srpaLun}|{srpaFirstSector}|{srpaLastSector}|{srpaSize}|{srFCName} ({srFCClientNo})|{srFCSANResourceName} ({srFCSANResourceID})|{srFCAccess}|{srFCConnAccess} Added: trunk/templates/falconstor/fsres/oids =================================================================== --- trunk/templates/falconstor/fsres/oids (rev 0) +++ trunk/templates/falconstor/fsres/oids 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,161 @@ +numOfLogicalResources : .1.3.6.1.4.1.7368.3.3.1 : branch +numOfSANResources : .1.3.6.1.4.1.7368.3.3.3.1 : branch +sanResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.1 : branch +sanResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.2 : branch +srAllocationType : .1.3.6.1.4.1.7368.3.3.3.2.1.3 : branch +srTotalSectors : .1.3.6.1.4.1.7368.3.3.3.2.1.4 : branch +srTotalSize : .1.3.6.1.4.1.7368.3.3.3.2.1.5 : branch +srConfigStatus : .1.3.6.1.4.1.7368.3.3.3.2.1.6 : branch +srMirrorSyncStatus : .1.3.6.1.4.1.7368.3.3.3.2.1.7 : branch +srReplicaDevice : .1.3.6.1.4.1.7368.3.3.3.2.1.8 : branch +srReplicatingSchedule : .1.3.6.1.4.1.7368.3.3.3.2.1.9 : branch +srSnapshotCopyStatus : .1.3.6.1.4.1.7368.3.3.3.2.1.10 : branch +physicalAllocLayoutIndex : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.1 : branch +srpaSANResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.2 : branch +srpaSANResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.3 : branch +srpaName : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.4 : branch +srpaType : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.5 : branch +srpaAdapterNo : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.6 : branch +srpaChannelNo : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.7 : branch +srpaScsiID : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.8 : branch +srpaLun : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.9 : branch +srpaFirstSector : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.10 : branch +srpaLastSector : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.11 : branch +srpaSize : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.12 : branch +srFCClientNo : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.1 : branch +srFCName : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.2 : branch +srFCSANResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.3 : branch +srFCSANResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.4 : branch +srFCInitatorWWPN : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.5 : branch +srFCTargetWWPN : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.6 : branch +srFCAccess : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.8 : branch +srFCConnAccess : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.9 : branch +#srSnapShotResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.1 : branch +#srSnapShotResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.2 : branch +#srSnapShotOption : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.3 : branch +#srSnapShotSize : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.4 : branch +#srSnapShotThreshold : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.5 : branch +#srSnapShotReachTH : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.6 : branch +#srSnapShotIncSize : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.7 : branch +#srSnapShotMaxSize : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.8 : branch +#srSnapShotResourceFull : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.9 : branch +#srSnapShotUsedSize : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.10 : branch +#srSnapShotFreeSize : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.11 : branch +#srSnapShotUsedPercent : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.12 : branch +#srTimeMarkResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.1 : branch +#srTimeMarkResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.2 : branch +#srTimeMarkOption : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.3 : branch +#srTimeMarkCounts : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.4 : branch +#srTimeMarkSchedule : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.5 : branch +#srTimeMarkLastTimeStamp : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.6 : branch +#srTimeMarkSnapshotImage : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.7 : branch +#srBackupResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.1 : branch +#srBackupResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.2 : branch +#srBackupOption : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.3 : branch +#srBackupWindow : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.4 : branch +#srBackupSessionLen : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.5 : branch +#srBackupRelativeTime : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.6 : branch +#srBackupWaitTime : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.7 : branch +#srBackupSelectCriteria : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.8 : branch +#srReplicationResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.1 : branch +#srReplicationResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.2 : branch +#srReplicationOption : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.3 : branch +#srReplicaServer : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.4 : branch +#srReplicaDeviceID : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.5 : branch +#srReplicaSchedule : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.6 : branch +#srReplicaWatermark : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.7 : branch +#srReplicaWatermarkRetry : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.8 : branch +#srReplicaTime : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.9 : branch +#srReplicaInterval : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.10 : branch +#srCacheResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.1 : branch +#srCacheResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.2 : branch +#srCacheOption : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.3 : branch +#srCacheSuspend : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.4 : branch +#srCacheTotalSize : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.5 : branch +#srCacheFreeSize : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.6 : branch +#srCacheUsage : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.7 : branch +#srCacheThreshold : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.8 : branch +#srCacheFlushTime : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.9 : branch +#srCacheFlushCommand : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.10 : branch +#srWriteCacheProperty : .1.3.6.1.4.1.7368.3.3.3.2.1.19 : branch +#srMirrorType : .1.3.6.1.4.1.7368.3.3.3.2.1.20 : branch +#numOfNASResources : .1.3.6.1.4.1.7368.3.3.4.1 : branch +#numOfReplica : .1.3.6.1.4.1.7368.3.3.6.1 : branch +#numOfGroup : .1.3.6.1.4.1.7368.3.3.7.1 : branch +#numOfSANClients : .1.3.6.1.4.1.7368.3.4.1 : branch +sanClientID : .1.3.6.1.4.1.7368.3.4.2.1.1 : branch +sanClientName : .1.3.6.1.4.1.7368.3.4.2.1.2 : branch +#scfcResourceID : .1.3.6.1.4.1.7368.3.4.2.1.4.1.1 : branch +#scfcResourceName : .1.3.6.1.4.1.7368.3.4.2.1.4.1.2 : branch +#scfcClientID : .1.3.6.1.4.1.7368.3.4.2.1.4.1.3 : branch +#scfcClientName : .1.3.6.1.4.1.7368.3.4.2.1.4.1.4 : branch +#scfcResourceAllocType : .1.3.6.1.4.1.7368.3.4.2.1.4.1.5 : branch +#scfcLUN : .1.3.6.1.4.1.7368.3.4.2.1.4.1.6 : branch +#scfcInitatorWWPN : .1.3.6.1.4.1.7368.3.4.2.1.4.1.7 : branch +#scfcTargetWWPN : .1.3.6.1.4.1.7368.3.4.2.1.4.1.8 : branch +#scfcAccess : .1.3.6.1.4.1.7368.3.4.2.1.4.1.9 : branch +#scfcTotalsize : .1.3.6.1.4.1.7368.3.4.2.1.4.1.10 : branch +#scfcTotalSectors : .1.3.6.1.4.1.7368.3.4.2.1.4.1.11 : branch +#scfcSectorSize : .1.3.6.1.4.1.7368.3.4.2.1.4.1.12 : branch +#sanClientEntry : .1.3.6.1.4.1.7368.3.4.2.1 : branch +#numOfNFSClients : .1.3.6.1.4.1.7368.3.5.2.1 : branch +#numOfNFSShares : .1.3.6.1.4.1.7368.3.5.2.2 : branch +#vrsNumOfVirResources : .1.3.6.1.4.1.7368.3.6.1 : branch +#vrsVirResourceID : .1.3.6.1.4.1.7368.3.6.2.1.1 : branch +#vrsVirResourceName : .1.3.6.1.4.1.7368.3.6.2.1.2 : branch +#vrsInquiry : .1.3.6.1.4.1.7368.3.6.2.1.3 : branch +#vrsCmdPending : .1.3.6.1.4.1.7368.3.6.2.1.4 : branch +#vrsSize : .1.3.6.1.4.1.7368.3.6.2.1.5 : branch +#vrsBlockSize : .1.3.6.1.4.1.7368.3.6.2.1.6 : branch +#vrsKBRead : .1.3.6.1.4.1.7368.3.6.2.1.7 : branch +#vrsKBWritten : .1.3.6.1.4.1.7368.3.6.2.1.8 : branch +#vrsSCSIReadCmd : .1.3.6.1.4.1.7368.3.6.2.1.9 : branch +#vrsSCSIWriteCmd : .1.3.6.1.4.1.7368.3.6.2.1.10 : branch +#vrsOtherSCSICmd : .1.3.6.1.4.1.7368.3.6.2.1.11 : branch +#vrsReadError : .1.3.6.1.4.1.7368.3.6.2.1.12 : branch +#vrsWriteError : .1.3.6.1.4.1.7368.3.6.2.1.13 : branch +#vrsrdVirResourceID : .1.3.6.1.4.1.7368.3.6.2.1.14.1.1 : branch +#vrsrdType : .1.3.6.1.4.1.7368.3.6.2.1.14.1.2 : branch +#vrsrdAdapterNo : .1.3.6.1.4.1.7368.3.6.2.1.14.1.3 : branch +#vrsrdChannelNo : .1.3.6.1.4.1.7368.3.6.2.1.14.1.4 : branch +#vrsrdScsiID : .1.3.6.1.4.1.7368.3.6.2.1.14.1.5 : branch +#vrsrdLun : .1.3.6.1.4.1.7368.3.6.2.1.14.1.6 : branch +#vrsrdFirstSector : .1.3.6.1.4.1.7368.3.6.2.1.14.1.7 : branch +#vrsrdLastSector : .1.3.6.1.4.1.7368.3.6.2.1.14.1.8 : branch +#vrsrdKBRead : .1.3.6.1.4.1.7368.3.6.2.1.14.1.9 : branch +#vrsrdKBWritten : .1.3.6.1.4.1.7368.3.6.2.1.14.1.10 : branch +#vrsrdSCSIReadCmd : .1.3.6.1.4.1.7368.3.6.2.1.14.1.11 : branch +#vrsrdSCSIWriteCmd : .1.3.6.1.4.1.7368.3.6.2.1.14.1.12 : branch +#vrsrdOtherSCSICmd : .1.3.6.1.4.1.7368.3.6.2.1.14.1.13 : branch +#vrsrdReadError : .1.3.6.1.4.1.7368.3.6.2.1.14.1.14 : branch +#vrsrdWriteError : .1.3.6.1.4.1.7368.3.6.2.1.14.1.15 : branch +#vrsclClientName : .1.3.6.1.4.1.7368.3.6.2.1.15.1.1 : branch +#vrsclClientID : .1.3.6.1.4.1.7368.3.6.2.1.15.1.2 : branch +#vrsclVirResourceName : .1.3.6.1.4.1.7368.3.6.2.1.15.1.3 : branch +#vrsclVirResourceID : .1.3.6.1.4.1.7368.3.6.2.1.15.1.4 : branch +#vrsclAccess : .1.3.6.1.4.1.7368.3.6.2.1.15.1.5 : branch +#vrsclConnAccess : .1.3.6.1.4.1.7368.3.6.2.1.15.1.6 : branch +#vrsclConnected : .1.3.6.1.4.1.7368.3.6.2.1.15.1.7 : branch +#vrsclKBRead : .1.3.6.1.4.1.7368.3.6.2.1.15.1.8 : branch +#vrsclKBWritten : .1.3.6.1.4.1.7368.3.6.2.1.15.1.9 : branch +#vrsclSCSIReadCmd : .1.3.6.1.4.1.7368.3.6.2.1.15.1.10 : branch +#vrsclSCSIWriteCmd : .1.3.6.1.4.1.7368.3.6.2.1.15.1.11 : branch +#vrsclOtherSCSICmd : .1.3.6.1.4.1.7368.3.6.2.1.15.1.12 : branch +#vrsclReadError : .1.3.6.1.4.1.7368.3.6.2.1.15.1.13 : branch +#vrsclWriteError : .1.3.6.1.4.1.7368.3.6.2.1.15.1.14 : branch +#trapAuthtrapenable : .1.3.6.1.4.1.7368.3.7.1.0 : leaf +#trapCommunity : .1.3.6.1.4.1.7368.3.7.2.0 : leaf +#trIndex : .1.3.6.1.4.1.7368.3.7.3.1.1 : branch +#trHost : .1.3.6.1.4.1.7368.3.7.3.1.2 : branch +#trCommunity : .1.3.6.1.4.1.7368.3.7.3.1.3 : branch +#alarmIndex : .1.3.6.1.4.1.7368.3.8.1.1 : branch +#alarmName : .1.3.6.1.4.1.7368.3.8.1.2 : branch +#alarmVariable : .1.3.6.1.4.1.7368.3.8.1.3 : branch +#alarmMonitor : .1.3.6.1.4.1.7368.3.8.1.4 : branch +#alarmInterval : .1.3.6.1.4.1.7368.3.8.1.5 : branch +#alarmValue : .1.3.6.1.4.1.7368.3.8.1.6 : branch +#alarmRisingThreshold : .1.3.6.1.4.1.7368.3.8.1.7 : branch +#alarmFallingThreshold : .1.3.6.1.4.1.7368.3.8.1.8 : branch +alarmStatus : .1.3.6.1.4.1.7368.3.8.1.9 : branch +#companyName : .1.3.6.1.4.1.7368.10.1 : branch +#productName : .1.3.6.1.4.1.7368.10.2 : branch Added: trunk/templates/falconstor/fsres/thresholds =================================================================== --- trunk/templates/falconstor/fsres/thresholds (rev 0) +++ trunk/templates/falconstor/fsres/thresholds 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1 @@ +srMirrorSyncStatus : red : Not Synchronized : {sanResourceName} - mirror not synchronized Added: trunk/templates/falconstor/fsres/transforms =================================================================== --- trunk/templates/falconstor/fsres/transforms (rev 0) +++ trunk/templates/falconstor/fsres/transforms 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1 @@ +alarmStatusTxt : SWITCH : {alarmStatus} 0=disable,1=enable Added: trunk/templates/falconstor/fstor/exceptions =================================================================== Added: trunk/templates/falconstor/fstor/message =================================================================== --- trunk/templates/falconstor/fstor/message (rev 0) +++ trunk/templates/falconstor/fstor/message 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,34 @@ +Server: {serverName} - {isServerOrClient} - {loginMachineName} +Ver: {serverVersion} +OS: {osVersion} kernel: {kernelVersion} + +Processors: +TABLE:plain,noalarmsmsg +No Info +{processorNo}| {processorInfo} + +Memory: {memory} Swap: {swap} + +Failover: +TABLE:noalarmsmsg +No|Name|Value +{foIndex}|{foName}|{foValue} + +Fibre Channel: +TABLE:noalarmsmsg +No|WWPN|Mode +{fcIndex}|{fcWWPN}|{fcMode} + +Options: +NAS: {nasOption} FC: {fibreChannelOption} Repl: {replicationOption} SyncMirr: {syncMirroringOption} +sanIP: {sanIPOption} TmMark: {timemarkOption} ZrImpact: {zeroimpactOption} + +Adapters: {numOfAdapters} +TABLE:plain,noalarmsmsg +ID No Info +{adapterIndex}|{adapterNumber}|{adapterInfo} + +Devices: {numOfDevicesL} +TABLE:noalarmsmsg +No|Type|Vendor|Product|FW Rev|Adap #|SCSI ID|LUN|Size|Config Status +{deviceNo}|{deviceType}|{vendorID}|{productID}|{firmwareRev}|{adapterNo}|{scsiID}|{lun}|{totalSize}|{configStatus} Added: trunk/templates/falconstor/fstor/oids =================================================================== --- trunk/templates/falconstor/fstor/oids (rev 0) +++ trunk/templates/falconstor/fstor/oids 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,207 @@ +#revisionNumber : .1.3.6.1.4.1.7368.1.0 : leaf +isServerOrClient : .1.3.6.1.4.1.7368.2.0 : leaf +serverName : .1.3.6.1.4.1.7368.3.1.1.0 : leaf +loginMachineName : .1.3.6.1.4.1.7368.3.1.2.0 : leaf +serverVersion : .1.3.6.1.4.1.7368.3.1.3.0 : leaf +osVersion : .1.3.6.1.4.1.7368.3.1.4.0 : leaf +kernelVersion : .1.3.6.1.4.1.7368.3.1.5.0 : leaf +processorNo : .1.3.6.1.4.1.7368.3.1.6.1.1 : branch +processorInfo : .1.3.6.1.4.1.7368.3.1.6.1.2 : branch +memory : .1.3.6.1.4.1.7368.3.1.7.0 : leaf +swap : .1.3.6.1.4.1.7368.3.1.8.0 : leaf +##netInterfaceNo : .1.3.6.1.4.1.7368.3.1.9.1.1 : branch +netInterfaceInfo : .1.3.6.1.4.1.7368.3.1.9.1.2 : branch +foIndex : .1.3.6.1.4.1.7368.3.1.10.1.1 : branch +foName : .1.3.6.1.4.1.7368.3.1.10.1.2 : branch +foValue : .1.3.6.1.4.1.7368.3.1.10.1.3 : branch +fcIndex : .1.3.6.1.4.1.7368.3.1.11.1.1 : branch +fcWWPN : .1.3.6.1.4.1.7368.3.1.11.1.2 : branch +fcMode : .1.3.6.1.4.1.7368.3.1.11.1.3 : branch +nasOption : .1.3.6.1.4.1.7368.3.1.12.1.0 : leaf +fibreChannelOption : .1.3.6.1.4.1.7368.3.1.12.2.0 : leaf +replicationOption : .1.3.6.1.4.1.7368.3.1.12.3.0 : leaf +syncMirroringOption : .1.3.6.1.4.1.7368.3.1.12.4.0 : leaf +sanIPOption : .1.3.6.1.4.1.7368.3.1.12.5.0 : leaf +timemarkOption : .1.3.6.1.4.1.7368.3.1.12.6.0 : leaf +zeroimpactOption : .1.3.6.1.4.1.7368.3.1.12.7.0 : leaf +serverOption : .1.3.6.1.4.1.7368.3.1.12 : branch +numOfAdapters : .1.3.6.1.4.1.7368.3.2.1.0 : leaf +numOfDevicesL : .1.3.6.1.4.1.7368.3.2.2.0 : leaf +numOfDevices : .1.3.6.1.4.1.7368.3.2.2 : branch +adapterIndex : .1.3.6.1.4.1.7368.3.2.3.1.1 : branch +adapterNumber : .1.3.6.1.4.1.7368.3.2.3.1.2 : branch +adapterInfo : .1.3.6.1.4.1.7368.3.2.3.1.3 : branch +deviceNo : .1.3.6.1.4.1.7368.3.2.4.1.1 : branch +deviceType : .1.3.6.1.4.1.7368.3.2.4.1.2 : branch +vendorID : .1.3.6.1.4.1.7368.3.2.4.1.3 : branch +productID : .1.3.6.1.4.1.7368.3.2.4.1.4 : branch +firmwareRev : .1.3.6.1.4.1.7368.3.2.4.1.5 : branch +adapterNo : .1.3.6.1.4.1.7368.3.2.4.1.6 : branch +channelNo : .1.3.6.1.4.1.7368.3.2.4.1.7 : branch +scsiID : .1.3.6.1.4.1.7368.3.2.4.1.8 : branch +lun : .1.3.6.1.4.1.7368.3.2.4.1.9 : branch +totalSectors : .1.3.6.1.4.1.7368.3.2.4.1.10 : branch +sectorSize : .1.3.6.1.4.1.7368.3.2.4.1.11 : branch +totalSize : .1.3.6.1.4.1.7368.3.2.4.1.12 : branch +configStatus : .1.3.6.1.4.1.7368.3.2.4.1.13 : branch +#numOfLogicalResources : .1.3.6.1.4.1.7368.3.3.1 : branch +#numOfSANResources : .1.3.6.1.4.1.7368.3.3.3.1 : branch +#sanResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.1 : branch +#sanResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.2 : branch +#srAllocationType : .1.3.6.1.4.1.7368.3.3.3.2.1.3 : branch +#srTotalSectors : .1.3.6.1.4.1.7368.3.3.3.2.1.4 : branch +#srTotalSize : .1.3.6.1.4.1.7368.3.3.3.2.1.5 : branch +#srConfigStatus : .1.3.6.1.4.1.7368.3.3.3.2.1.6 : branch +#srMirrorSyncStatus : .1.3.6.1.4.1.7368.3.3.3.2.1.7 : branch +#srReplicaDevice : .1.3.6.1.4.1.7368.3.3.3.2.1.8 : branch +#srReplicatingSchedule : .1.3.6.1.4.1.7368.3.3.3.2.1.9 : branch +#srSnapshotCopyStatus : .1.3.6.1.4.1.7368.3.3.3.2.1.10 : branch +#physicalAllocLayoutIndex : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.1 : branch +#srpaSANResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.2 : branch +#srpaSANResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.3 : branch +#srpaName : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.4 : branch +#srpaType : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.5 : branch +#srpaAdapterNo : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.6 : branch +#srpaChannelNo : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.7 : branch +#srpaScsiID : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.8 : branch +#srpaLun : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.9 : branch +#srpaFirstSector : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.10 : branch +#srpaLastSector : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.11 : branch +#srpaSize : .1.3.6.1.4.1.7368.3.3.3.2.1.11.1.12 : branch +#srFCClientNo : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.1 : branch +#srFCName : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.2 : branch +#srFCSANResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.3 : branch +#srFCSANResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.4 : branch +#srFCInitatorWWPN : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.5 : branch +#srFCTargetWWPN : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.6 : branch +#srFCAccess : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.8 : branch +#srFCConnAccess : .1.3.6.1.4.1.7368.3.3.3.2.1.13.1.9 : branch +#srSnapShotResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.1 : branch +#srSnapShotResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.2 : branch +#srSnapShotOption : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.3 : branch +#srSnapShotSize : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.4 : branch +#srSnapShotThreshold : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.5 : branch +#srSnapShotReachTH : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.6 : branch +#srSnapShotIncSize : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.7 : branch +#srSnapShotMaxSize : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.8 : branch +#srSnapShotResourceFull : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.9 : branch +#srSnapShotUsedSize : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.10 : branch +#srSnapShotFreeSize : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.11 : branch +#srSnapShotUsedPercent : .1.3.6.1.4.1.7368.3.3.3.2.1.14.1.12 : branch +#srTimeMarkResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.1 : branch +#srTimeMarkResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.2 : branch +#srTimeMarkOption : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.3 : branch +#srTimeMarkCounts : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.4 : branch +#srTimeMarkSchedule : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.5 : branch +#srTimeMarkLastTimeStamp : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.6 : branch +#srTimeMarkSnapshotImage : .1.3.6.1.4.1.7368.3.3.3.2.1.15.1.7 : branch +#srBackupResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.1 : branch +#srBackupResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.2 : branch +#srBackupOption : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.3 : branch +#srBackupWindow : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.4 : branch +#srBackupSessionLen : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.5 : branch +#srBackupRelativeTime : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.6 : branch +#srBackupWaitTime : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.7 : branch +#srBackupSelectCriteria : .1.3.6.1.4.1.7368.3.3.3.2.1.16.1.8 : branch +#srReplicationResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.1 : branch +#srReplicationResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.2 : branch +#srReplicationOption : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.3 : branch +#srReplicaServer : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.4 : branch +#srReplicaDeviceID : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.5 : branch +#srReplicaSchedule : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.6 : branch +#srReplicaWatermark : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.7 : branch +#srReplicaWatermarkRetry : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.8 : branch +#srReplicaTime : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.9 : branch +#srReplicaInterval : .1.3.6.1.4.1.7368.3.3.3.2.1.17.1.10 : branch +#srCacheResourceID : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.1 : branch +#srCacheResourceName : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.2 : branch +#srCacheOption : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.3 : branch +#srCacheSuspend : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.4 : branch +#srCacheTotalSize : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.5 : branch +#srCacheFreeSize : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.6 : branch +#srCacheUsage : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.7 : branch +#srCacheThreshold : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.8 : branch +#srCacheFlushTime : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.9 : branch +#srCacheFlushCommand : .1.3.6.1.4.1.7368.3.3.3.2.1.18.1.10 : branch +#srWriteCacheProperty : .1.3.6.1.4.1.7368.3.3.3.2.1.19 : branch +#srMirrorType : .1.3.6.1.4.1.7368.3.3.3.2.1.20 : branch +#numOfNASResources : .1.3.6.1.4.1.7368.3.3.4.1 : branch +#numOfReplica : .1.3.6.1.4.1.7368.3.3.6.1 : branch +#numOfGroup : .1.3.6.1.4.1.7368.3.3.7.1 : branch +#numOfSANClients : .1.3.6.1.4.1.7368.3.4.1 : branch +#sanClientID : .1.3.6.1.4.1.7368.3.4.2.1.1 : branch +#sanClientName : .1.3.6.1.4.1.7368.3.4.2.1.2 : branch +#scfcResourceID : .1.3.6.1.4.1.7368.3.4.2.1.4.1.1 : branch +#scfcResourceName : .1.3.6.1.4.1.7368.3.4.2.1.4.1.2 : branch +#scfcClientID : .1.3.6.1.4.1.7368.3.4.2.1.4.1.3 : branch +#scfcClientName : .1.3.6.1.4.1.7368.3.4.2.1.4.1.4 : branch +#scfcResourceAllocType : .1.3.6.1.4.1.7368.3.4.2.1.4.1.5 : branch +#scfcLUN : .1.3.6.1.4.1.7368.3.4.2.1.4.1.6 : branch +#scfcInitatorWWPN : .1.3.6.1.4.1.7368.3.4.2.1.4.1.7 : branch +#scfcTargetWWPN : .1.3.6.1.4.1.7368.3.4.2.1.4.1.8 : branch +#scfcAccess : .1.3.6.1.4.1.7368.3.4.2.1.4.1.9 : branch +#scfcTotalsize : .1.3.6.1.4.1.7368.3.4.2.1.4.1.10 : branch +#scfcTotalSectors : .1.3.6.1.4.1.7368.3.4.2.1.4.1.11 : branch +#scfcSectorSize : .1.3.6.1.4.1.7368.3.4.2.1.4.1.12 : branch +#sanClientEntry : .1.3.6.1.4.1.7368.3.4.2.1 : branch +#numOfNFSClients : .1.3.6.1.4.1.7368.3.5.2.1 : branch +#numOfNFSShares : .1.3.6.1.4.1.7368.3.5.2.2 : branch +#vrsNumOfVirResources : .1.3.6.1.4.1.7368.3.6.1 : branch +#vrsVirResourceID : .1.3.6.1.4.1.7368.3.6.2.1.1 : branch +#vrsVirResourceName : .1.3.6.1.4.1.7368.3.6.2.1.2 : branch +#vrsInquiry : .1.3.6.1.4.1.7368.3.6.2.1.3 : branch +#vrsCmdPending : .1.3.6.1.4.1.7368.3.6.2.1.4 : branch +#vrsSize : .1.3.6.1.4.1.7368.3.6.2.1.5 : branch +#vrsBlockSize : .1.3.6.1.4.1.7368.3.6.2.1.6 : branch +#vrsKBRead : .1.3.6.1.4.1.7368.3.6.2.1.7 : branch +#vrsKBWritten : .1.3.6.1.4.1.7368.3.6.2.1.8 : branch +#vrsSCSIReadCmd : .1.3.6.1.4.1.7368.3.6.2.1.9 : branch +#vrsSCSIWriteCmd : .1.3.6.1.4.1.7368.3.6.2.1.10 : branch +#vrsOtherSCSICmd : .1.3.6.1.4.1.7368.3.6.2.1.11 : branch +#vrsReadError : .1.3.6.1.4.1.7368.3.6.2.1.12 : branch +#vrsWriteError : .1.3.6.1.4.1.7368.3.6.2.1.13 : branch +#vrsrdVirResourceID : .1.3.6.1.4.1.7368.3.6.2.1.14.1.1 : branch +#vrsrdType : .1.3.6.1.4.1.7368.3.6.2.1.14.1.2 : branch +#vrsrdAdapterNo : .1.3.6.1.4.1.7368.3.6.2.1.14.1.3 : branch +#vrsrdChannelNo : .1.3.6.1.4.1.7368.3.6.2.1.14.1.4 : branch +#vrsrdScsiID : .1.3.6.1.4.1.7368.3.6.2.1.14.1.5 : branch +#vrsrdLun : .1.3.6.1.4.1.7368.3.6.2.1.14.1.6 : branch +#vrsrdFirstSector : .1.3.6.1.4.1.7368.3.6.2.1.14.1.7 : branch +#vrsrdLastSector : .1.3.6.1.4.1.7368.3.6.2.1.14.1.8 : branch +#vrsrdKBRead : .1.3.6.1.4.1.7368.3.6.2.1.14.1.9 : branch +#vrsrdKBWritten : .1.3.6.1.4.1.7368.3.6.2.1.14.1.10 : branch +#vrsrdSCSIReadCmd : .1.3.6.1.4.1.7368.3.6.2.1.14.1.11 : branch +#vrsrdSCSIWriteCmd : .1.3.6.1.4.1.7368.3.6.2.1.14.1.12 : branch +#vrsrdOtherSCSICmd : .1.3.6.1.4.1.7368.3.6.2.1.14.1.13 : branch +#vrsrdReadError : .1.3.6.1.4.1.7368.3.6.2.1.14.1.14 : branch +#vrsrdWriteError : .1.3.6.1.4.1.7368.3.6.2.1.14.1.15 : branch +#vrsclClientName : .1.3.6.1.4.1.7368.3.6.2.1.15.1.1 : branch +#vrsclClientID : .1.3.6.1.4.1.7368.3.6.2.1.15.1.2 : branch +#vrsclVirResourceName : .1.3.6.1.4.1.7368.3.6.2.1.15.1.3 : branch +#vrsclVirResourceID : .1.3.6.1.4.1.7368.3.6.2.1.15.1.4 : branch +#vrsclAccess : .1.3.6.1.4.1.7368.3.6.2.1.15.1.5 : branch +#vrsclConnAccess : .1.3.6.1.4.1.7368.3.6.2.1.15.1.6 : branch +#vrsclConnected : .1.3.6.1.4.1.7368.3.6.2.1.15.1.7 : branch +#vrsclKBRead : .1.3.6.1.4.1.7368.3.6.2.1.15.1.8 : branch +#vrsclKBWritten : .1.3.6.1.4.1.7368.3.6.2.1.15.1.9 : branch +#vrsclSCSIReadCmd : .1.3.6.1.4.1.7368.3.6.2.1.15.1.10 : branch +#vrsclSCSIWriteCmd : .1.3.6.1.4.1.7368.3.6.2.1.15.1.11 : branch +#vrsclOtherSCSICmd : .1.3.6.1.4.1.7368.3.6.2.1.15.1.12 : branch +#vrsclReadError : .1.3.6.1.4.1.7368.3.6.2.1.15.1.13 : branch +#vrsclWriteError : .1.3.6.1.4.1.7368.3.6.2.1.15.1.14 : branch +#trapAuthtrapenable : .1.3.6.1.4.1.7368.3.7.1.0 : leaf +#trapCommunity : .1.3.6.1.4.1.7368.3.7.2.0 : leaf +#trIndex : .1.3.6.1.4.1.7368.3.7.3.1.1 : branch +#trHost : .1.3.6.1.4.1.7368.3.7.3.1.2 : branch +#trCommunity : .1.3.6.1.4.1.7368.3.7.3.1.3 : branch +#alarmIndex : .1.3.6.1.4.1.7368.3.8.1.1 : branch +#alarmName : .1.3.6.1.4.1.7368.3.8.1.2 : branch +#alarmVariable : .1.3.6.1.4.1.7368.3.8.1.3 : branch +#alarmMonitor : .1.3.6.1.4.1.7368.3.8.1.4 : branch +#alarmInterval : .1.3.6.1.4.1.7368.3.8.1.5 : branch +#alarmValue : .1.3.6.1.4.1.7368.3.8.1.6 : branch +#alarmRisingThreshold : .1.3.6.1.4.1.7368.3.8.1.7 : branch +#alarmFallingThreshold : .1.3.6.1.4.1.7368.3.8.1.8 : branch +alarmStatus : .1.3.6.1.4.1.7368.3.8.1.9 : branch +#companyName : .1.3.6.1.4.1.7368.10.1 : branch +#productName : .1.3.6.1.4.1.7368.10.2 : branch Added: trunk/templates/falconstor/fstor/thresholds =================================================================== Added: trunk/templates/falconstor/fstor/transforms =================================================================== --- trunk/templates/falconstor/fstor/transforms (rev 0) +++ trunk/templates/falconstor/fstor/transforms 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1 @@ +alarmStatusTxt : SWITCH : {alarmStatus} 0=disable,1=enable Added: trunk/templates/falconstor/specs =================================================================== --- trunk/templates/falconstor/specs (rev 0) +++ trunk/templates/falconstor/specs 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,4 @@ +vendor : falconstor +model : ipstor +snmpver : 2 +sysdesc : Linux Added: trunk/templates/hds-df600/README =================================================================== --- trunk/templates/hds-df600/README (rev 0) +++ trunk/templates/hds-df600/README 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,9 @@ +This template was created by David Baldwin + +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. + +Support for Hitachi Data Systems DF600 RAID subsystem +uses SNMPv1 Added: trunk/templates/hds-df600/raid/exceptions =================================================================== Added: trunk/templates/hds-df600/raid/message =================================================================== --- trunk/templates/hds-df600/raid/message (rev 0) +++ trunk/templates/hds-df600/raid/message 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,15 @@ +TABLE: noalarmsmsg +Name|SystemRev|Serial Num|StatusCode +{dfSystemProductName}|{dfSystemMicroRevision}|{dfSystemSerialNumber}|{dfRegressionStatus} + +Controller status: +TABLE: noalarmsmsg +#Drive|Spare +#{dfRegressionStatusDrv.color}|{dfRegressionStatusSpr.color} +Drive|Spare|DataDrv|Encl|Warn|Ctrlr|UPS|Loop|Path|Batt|PSU|AC|BK|Fan|Cache|SATASp|SATADr|SATAEnc|HostCon +{dfRegressionStatusDrv.color}|{dfRegressionStatusSpr.color}|{dfRegressionStatusDDrv.color}|{dfRegressionStatusENC.color}|{dfRegressionStatusWarn.color}|{dfRegressionStatusCtl.color}|{dfRegressionStatusUPS.color}|{dfRegressionStatusLoop.color}|{dfRegressionStatusPath.color}|{dfRegressionStatusBatt.color}|{dfRegressionStatusPSU.color}|{dfRegressionStatusAC.color}|{dfRegressionStatusBK.color}|{dfRegressionStatusFan.color}|{dfRegressionStatusCache.color}|{dfRegressionStatusSATAS.color}|{dfRegressionStatusSATAD.color}|{dfRegressionStatusSENC.color}|{dfRegressionStatusHostC.color} + +Port status: +TABLE: noalarmsmsg +ID|Kind|FibreTopol|CtlStatus|Disp Name|WWN +{dfPortID}|{dfPortKind}|{dfPortFibreTopologyTxt}|{dfPortControlStatus}|{dfPortDisplayName}|{dfPortWWNAddr} Added: trunk/templates/hds-df600/raid/oids =================================================================== --- trunk/templates/hds-df600/raid/oids (rev 0) +++ trunk/templates/hds-df600/raid/oids 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,10 @@ +dfSystemProductName : .1.3.6.1.4.1.116.5.11.1.2.1.1 : branch +dfSystemMicroRevision : .1.3.6.1.4.1.116.5.11.1.2.1.2 : branch +dfSystemSerialNumber : .1.3.6.1.4.1.116.5.11.1.2.1.3 : branch +dfRegressionStatus : .1.3.6.1.4.1.116.5.11.1.2.2.1 : branch +dfPortID : .1.3.6.1.4.1.116.5.11.1.2.6.1.1.2 : branch +dfPortKind : .1.3.6.1.4.1.116.5.11.1.2.6.1.1.3 : branch +dfPortFibreTopology : .1.3.6.1.4.1.116.5.11.1.2.6.1.1.6 : branch +dfPortControlStatus : .1.3.6.1.4.1.116.5.11.1.2.6.1.1.7 : branch +dfPortDisplayName : .1.3.6.1.4.1.116.5.11.1.2.6.1.1.8 : branch +dfPortWWN : .1.3.6.1.4.1.116.5.11.1.2.6.1.1.9 : branch Added: trunk/templates/hds-df600/raid/thresholds =================================================================== --- trunk/templates/hds-df600/raid/thresholds (rev 0) +++ trunk/templates/hds-df600/raid/thresholds 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,39 @@ +dfRegressionStatusDrv : green : 0 : +dfRegressionStatusDrv : red : >0 : Drive Error +dfRegressionStatusSpr : green : 0 : +dfRegressionStatusSpr : red : >0 : Spare Drive Error +dfRegressionStatusDDrv : green : 0 : +dfRegressionStatusDDrv : red : >0 : Data Drive Error +dfRegressionStatusENC : green : 0 : +dfRegressionStatusENC : red : >0 : Enclosure Error +dfRegressionStatusWarn : green : 0 : +dfRegressionStatusWarn : red : >0 : Warning +dfRegressionStatusCtl : green : 0 : +dfRegressionStatusCtl : red : >0 : Controller Error +dfRegressionStatusUPS : green : 0 : +dfRegressionStatusUPS : red : >0 : UPS Error +dfRegressionStatusLoop : green : 0 : +dfRegressionStatusLoop : red : >0 : Loop Error +dfRegressionStatusPath : green : 0 : +dfRegressionStatusPath : red : >0 : Path Error +dfRegressionStatusBatt : green : 0 : +dfRegressionStatusBatt : red : >0 : Battery Error +dfRegressionStatusPSU : green : 0 : +dfRegressionStatusPSU : red : >0 : Power Supply Error +dfRegressionStatusAC : green : 0 : +dfRegressionStatusAC : red : >0 : AC Error +dfRegressionStatusBK : green : 0 : +dfRegressionStatusBK : red : >0 : BK Error +dfRegressionStatusFan : green : 0 : +dfRegressionStatusFan : red : >0 : Fan Error +dfRegressionStatusCache : green : 0 : +dfRegressionStatusCache : red : >0 : Cache Memory Error +dfRegressionStatusSATAS : green : 0 : +dfRegressionStatusSATAS : red : >0 : SATA Spare Drive Error +dfRegressionStatusSATAD : green : 0 : +dfRegressionStatusSATAD : red : >0 : SATA Data Drive Error +dfRegressionStatusSENC : green : 0 : +dfRegressionStatusSENC : red : >0 : SATA Enclosure Error +dfRegressionStatusHostC : green : 0 : +dfRegressionStatusHostC : red : >0 : HostConnector Error + Added: trunk/templates/hds-df600/raid/transforms =================================================================== --- trunk/templates/hds-df600/raid/transforms (rev 0) +++ trunk/templates/hds-df600/raid/transforms 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,22 @@ +dfRegressionStatusDrv : MATH : {dfRegressionStatus} & 1 : 0 +dfRegressionStatusSpr : MATH : {dfRegressionStatus} & 2 : 0 +dfRegressionStatusDDrv : MATH : {dfRegressionStatus} & (2 ^ 2) : 0 +dfRegressionStatusENC : MATH : {dfRegressionStatus} & (2 ^ 3) : 0 +dfRegressionStatusWarn : MATH : {dfRegressionStatus} & (2 ^ 6) : 0 +dfRegressionStatusCtl : MATH : {dfRegressionStatus} & (2 ^ 7) : 0 +dfRegressionStatusUPS : MATH : {dfRegressionStatus} & (2 ^ 8) : 0 +dfRegressionStatusLoop : MATH : {dfRegressionStatus} & (2 ^ 9) : 0 +dfRegressionStatusPath : MATH : {dfRegressionStatus} & (2 ^ 10) : 0 +dfRegressionStatusBatt : MATH : {dfRegressionStatus} & (2 ^ 16) : 0 +dfRegressionStatusPSU : MATH : {dfRegressionStatus} & (2 ^ 17) : 0 +dfRegressionStatusAC : MATH : {dfRegressionStatus} & (2 ^ 18) : 0 +dfRegressionStatusBK : MATH : {dfRegressionStatus} & (2 ^ 19) : 0 +dfRegressionStatusFan : MATH : {dfRegressionStatus} & (2 ^ 20) : 0 +dfRegressionStatusCache : MATH : {dfRegressionStatus} & (2 ^ 24) : 0 +dfRegressionStatusSATAS : MATH : {dfRegressionStatus} & (2 ^ 25) : 0 +dfRegressionStatusSATAD : MATH : {dfRegressionStatus} & (2 ^ 26) : 0 +dfRegressionStatusSENC : MATH : {dfRegressionStatus} & (2 ^ 27) : 0 +dfRegressionStatusHostC : MATH : {dfRegressionStatus} & (2 ^ 28) : 0 +dfPortFibreTopologyTxt : SWITCH : {dfPortFibreTopology} 1=Fabric(on)&FCAL,2=Fabric(off)&FCAL,3=Fabric(on)&PointToPoint,4=Fabric(off)&PointToPoint,5=Not Fibre +dfPortWWNStr : UNPACK : {dfPortWWN} H16 +dfPortWWNAddr : REGSUB : {dfPortWWNStr} /(\w\w)(\w\w)(\w\w)(\w\w)(\w\w)(\w\w)(\w\w)(\w\w)/$1-$2-$3-$4-$5-$6-$7-$8/ Added: trunk/templates/hds-df600/specs =================================================================== --- trunk/templates/hds-df600/specs (rev 0) +++ trunk/templates/hds-df600/specs 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,5 @@ +vendor : hds +model : df600 +snmpver : 1 +#sysdesc : linux|Linux +sysdesc : HITACHI DF600F Added: trunk/templates/sentry-pdu/README =================================================================== --- trunk/templates/sentry-pdu/README (rev 0) +++ trunk/templates/sentry-pdu/README 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,32 @@ +This template was created by David Baldwin + +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. + +Support for Sentry switched PDU + +RRD data collection for power must be setup +If using integrated devmon, add to TEST2RRD line: +power=devmon + +Otherwise ensure being processed by --extra-script option + +Also add to GRAPHS: power + +Graph definition: + +[current] + FNPATTERN current.(.+).rrd + TITLE Current Monitoring + YAXIS Amps + DEF:craw@RRDIDX@=@RRDFN@:current:AVERAGE + CDEF:current@RRDIDX@=craw@RRDIDX@,100,/ + LINE2:current@RRDIDX@#@COLOR@:@RRDPARAM@ Input Current + GPRINT:current@RRDIDX@:LAST: \: %5.1lf (cur) + GPRINT:current@RRDIDX@:MAX: \: %5.1lf (max) + GPRINT:current@RRDIDX@:MIN: \: %5.1lf (min) + GPRINT:current@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n + + Added: trunk/templates/sentry-pdu/power/exceptions =================================================================== Added: trunk/templates/sentry-pdu/power/message =================================================================== --- trunk/templates/sentry-pdu/power/message (rev 0) +++ trunk/templates/sentry-pdu/power/message 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,16 @@ +Sentry PDU +Version: {systemVersion} +NIC ser#: {systemNICSerialNumber} +Location: {systemLocation} +Towers: {systemTowerCount} +EnvMon: {systemEnvMonCount} + +Towers +TABLE: noalarmsmsg +ID|Name|Status|Infeeds# +{towerID}|{towerName}|{towerStatusTxt.color}{towerStatusTxt}|{towerInfeedCount} + +Infeeds +TABLE: noalarmsmsg,rrd(name:current; pri:infeedID; DS:current:infeedLoadValue:GAUGE; ) +ID|Name|Sts|LoadSts|Load|Hi Thresh|# Outlets|OnSense|LoadSense|PwrCtrl|FailSafe|DfltOff|VSense|PwrSense +{infeedID}|{infeedName}|{infeedStatusTxt.color}{infeedStatusTxt}|{infeedLoadStatusTxt.color}{infeedLoadStatusTxt}|{infeedLoadValueAmps} A|{infeedLoadHighThreshAmps} A|{infeedOutletCount}|{infeedCapaOnSense}|{infeedCapaLoadSense}|{infeedCapaPowerCont}|{infeedCapaFailSafe}|{infeedCapaDefOff}|{infeedCapaVoltSense}|{infeedCapaPowerSense} Added: trunk/templates/sentry-pdu/power/oids =================================================================== --- trunk/templates/sentry-pdu/power/oids (rev 0) +++ trunk/templates/sentry-pdu/power/oids 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,27 @@ +systemVersion : .1.3.6.1.4.1.1718.3.1.1.0 : leaf +systemNICSerialNumber : .1.3.6.1.4.1.1718.3.1.2.0 : leaf +systemLocation : .1.3.6.1.4.1.1718.3.1.3.0 : leaf +systemTowerCount : .1.3.6.1.4.1.1718.3.1.4.0 : leaf +systemEnvMonCount : .1.3.6.1.4.1.1718.3.1.5.0 : leaf +towerID : .1.3.6.1.4.1.1718.3.2.1.1.2 : branch +towerName : .1.3.6.1.4.1.1718.3.2.1.1.3 : branch +towerStatus : .1.3.6.1.4.1.1718.3.2.1.1.4 : branch +towerInfeedCount : .1.3.6.1.4.1.1718.3.2.1.1.5 : branch +infeedID : .1.3.6.1.4.1.1718.3.2.2.1.2 : branch +infeedName : .1.3.6.1.4.1.1718.3.2.2.1.3 : branch +infeedCapabilities : .1.3.6.1.4.1.1718.3.2.2.1.4 : branch +infeedStatus : .1.3.6.1.4.1.1718.3.2.2.1.5 : branch +infeedLoadStatus : .1.3.6.1.4.1.1718.3.2.2.1.6 : branch +infeedLoadValue : .1.3.6.1.4.1.1718.3.2.2.1.7 : branch +infeedLoadHighThresh : .1.3.6.1.4.1.1718.3.2.2.1.8 : branch +infeedOutletCount : .1.3.6.1.4.1.1718.3.2.2.1.9 : branch +outletID : .1.3.6.1.4.1.1718.3.2.3.1.2 : branch +outletName : .1.3.6.1.4.1.1718.3.2.3.1.3 : branch +outletCapabilities : .1.3.6.1.4.1.1718.3.2.3.1.4 : branch +outletStatus : .1.3.6.1.4.1.1718.3.2.3.1.5 : branch +outletLoadStatus : .1.3.6.1.4.1.1718.3.2.3.1.6 : branch +outletLoadValue : .1.3.6.1.4.1.1718.3.2.3.1.7 : branch +outletLoadLowThresh : .1.3.6.1.4.1.1718.3.2.3.1.8 : branch +outletLoadHighThresh : .1.3.6.1.4.1.1718.3.2.3.1.9 : branch +outletControlState : .1.3.6.1.4.1.1718.3.2.3.1.10 : branch +outletControlAction : .1.3.6.1.4.1.1718.3.2.3.1.11 : branch Added: trunk/templates/sentry-pdu/power/thresholds =================================================================== --- trunk/templates/sentry-pdu/power/thresholds (rev 0) +++ trunk/templates/sentry-pdu/power/thresholds 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,22 @@ +towerStatusTxt : green : normal : +towerStatusTxt : yellow : noComm : +towerStatusTxt : red : fanFail|overTemp : +infeedStatusTxt : green : on : +infeedStatusTxt : yellow : off|offWait|onWait|offError|onError|noComm : +infeedStatusTxt : red : : +infeedLoadStatusTxt : green : normal : +infeedLoadStatusTxt : yellow : notOn|reading|loadLow|loadHigh|overLoad|readError|noComm : +infeedLoadStatusTxt : red : : +outletStatusTxt : green : on : +outletStatusTxt : yellow : off|offWait|onWait|offError|onError|noComm|reading|offFuse|onFuse : +outletStatusTxt : red : : +outletLoadStatusTxt : green : normal : +outletLoadStatusTxt : yellow : notOn|reading|loadLow|loadHigh|overLoad|readError|noComm : +outletLoadStatusTxt : red : : +outletControlStateTxt : green : on|lockedOff|lockedOn : +outletControlStateTxt : yellow : idleOff|idleOn|wakeOff|wakeOn|off|reboot|shutdown|pendOn|pendOff|minimumOff|minimumOn|eventOff|eventOn|eventReboot|eventShutdown : +outletControlStateTxt : red : : +outletControlActionTxt : green : on : +outletControlActionTxt : yellow : none|off|reboot : +outletControlActionTxt : red : : + Added: trunk/templates/sentry-pdu/power/transforms =================================================================== --- trunk/templates/sentry-pdu/power/transforms (rev 0) +++ trunk/templates/sentry-pdu/power/transforms 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,19 @@ +towerStatusTxt : SWITCH : {towerStatus} 0=normal,1=noComm,2=fanFail,3=overTemp +infeedCapabInt : UNPACK : {infeedCapabilities} C1 +infeedCapaOnSense : MATH : ({infeedCapabInt} & 128) / 128 : 0 +infeedCapaLoadSense : MATH : ({infeedCapabInt} & 64) / 64 : 0 +infeedCapaPowerCont : MATH : ({infeedCapabInt} & 32) / 32 : 0 +infeedCapaFailSafe : MATH : ({infeedCapabInt} & 16) / 16 : 0 +infeedCapaDefOff : MATH : ({infeedCapabInt} & 8) / 8 : 0 +infeedCapaVoltSense : MATH : ({infeedCapabInt} & 4) / 4 : 0 +infeedCapaPowerSense : MATH : ({infeedCapabInt} & 2) / 2 : 0 + +infeedStatusTxt : SWITCH : {infeedStatus} 0=off,1=on,2=offWait,3=onWait,4=offError,5=onError,6=noComm +infeedLoadStatusTxt : SWITCH : {infeedLoadStatus} 0=normal,1=notOn,2=reading,3=loadLow,4=loadHigh,5=overLoad,6=readError,7=noComm +infeedLoadValueAmps : MATH : {infeedLoadValue} / 100 : 2 +infeedLoadHighThreshAmps : MATH : {infeedLoadHighThresh} / 100 : 2 +outletStatusTxt : SWITCH : {outletStatus} 0=off,1=on,2=offWait,3=onWait,4=offError,5=onError,6=noComm,7=reading,8=offFuse,9=onFuse +outletLoadStatusTxt : SWITCH : {outletLoadStatus} 0=normal,1=notOn,2=reading,3=loadLow,4=loadHigh,5=overLoad,6=readError,7=noComm +outletControlStateTxt : SWITCH : {outletControlState} 0=idleOff,1=idleOn,2=wakeOff,3=wakeOn,4=off,5=on,6=lockedOff,7=lockedOn,8=reboot,9=shutdown,10=pendOn,11=pendOff,12=minimumOff,13=minimumOn,14=eventOff,15=eventOn,16=eventReboot,17=eventShutdown +outletControlActionTxt : SWITCH : {outletControlAction} 0=none,1=on,2=off,3=reboot + Added: trunk/templates/sentry-pdu/specs =================================================================== --- trunk/templates/sentry-pdu/specs (rev 0) +++ trunk/templates/sentry-pdu/specs 2011-03-18 01:22:42 UTC (rev 220) @@ -0,0 +1,4 @@ +vendor : sentry +model : pdu +snmpver : 2c +sysdesc : Sentry Switched CDU This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dba...@us...> - 2011-03-18 00:24:23
|
Revision: 219 http://devmon.svn.sourceforge.net/devmon/?rev=219&view=rev Author: dbaldwin Date: 2011-03-18 00:24:17 +0000 (Fri, 18 Mar 2011) Log Message: ----------- enforce whitespace surrounded x in MATH transforms file template checking Modified Paths: -------------- trunk/modules/dm_templates.pm Modified: trunk/modules/dm_templates.pm =================================================================== --- trunk/modules/dm_templates.pm 2011-03-18 00:17:03 UTC (rev 218) +++ trunk/modules/dm_templates.pm 2011-03-18 00:24:17 UTC (rev 219) @@ -544,10 +544,10 @@ $func_type eq 'math' and do { $temp =~ s/:\s*\d+\s*$//; - $temp =~ s/\{\s*\S+?\s*\}|\s|\s\.\s|x|\+|\/|-|\^|%|\||&|\d+(\.\d*)?|\(|\)\s*//g; + $temp =~ s/\{\s*\S+?\s*\}|\s\.\s|\sx\s|\+|\/|-|\^|%|\||&|\d+(\.\d*)?|\(|\)\s*//g; do_log("MATH transform uses only math/numeric symbols and an " . "optional precision number at $trans_file, line $l_num", 0) - and next LINE if $temp ne ''; + and next LINE if $temp !~ /^\s*$/; last CASE; }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |