From: Joshua K. <fo...@tr...> - 2008-05-13 12:03:33
|
I modified my templates to work with 64 bit counters instead of 32 bit counters because we have all gig switches in our network and some 10gig hardware also. The Issue I am seeing is that now in the devmon.log I see "Timed out waiting for delta transform on oid ifOutOps_T for gsonc-spg-6509-2 to complete. My question is do I need to modify the transforms for the DELTA transforms and force it to use the 64 bit counter. I wasn't sure if it is trying to go through and do some 32bit counters and some 64 bit counters. Didn't know if anyone has any ideas? Below is my how I am setup: ### OIDS ### 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 ifHighSpeed : .1.3.6.1.2.1.31.1.1.1.15 : branch ifHCInOctets : .1.3.6.1.2.1.31.1.1.1.6 : branch ifHCOutOctets : .1.3.6.1.2.1.31.1.1.1.10 : branch ifAdminStatNum : .1.3.6.1.2.1.2.2.1.7 : branch ifOperStatNum : .1.3.6.1.2.1.2.2.1.8 : branch ### TRANSFORMS ### # Create a human-readable ifc speed ifSpeed_T : MATH : {ifHighSpeed} x 1000000 ifHighSpeed_T : SPEED : {ifSpeed_T} # Get bit speed delta (so we dont have to provide custom delta limit) ifInOps_T : DELTA : {ifHCInOctets} ifOutOps_T : DELTA : {ifHCOutOctets} # Convert our octets delta into bits per second ifInBps_T : MATH : {ifInOps_T} x 8 ifOutBps_T : MATH : {ifOutOps_T} x 8 # Make some easily readable speed variables ifInSpeed_T : SPEED : {ifInBps_T} ifOutSpeed_T : SPEED : {ifOutBps_T} # Now determine our percentage load, based on traffic and ifc speed ifInLoad_T : MATH : ({ifInBps_T} / {ifSpeed_T}) x 100 ifOutLoad_T : MATH : ({ifOutBps_T} / {ifSpeed_T}) x 100 # Create an alias in a bracketed box, or nothing if alias is blank ifAliasBox : REGSUB : {ifAlias} /(\S+.*)/ [$1]/ ### MESSAGE ### <b>Interface error rates:</b> Input load: yellow={ifInLoad_T.thresh:yellow}%, red={ifInLoad_T.thresh:red}% Output load: yellow={ifOutLoad_T.thresh:yellow}%, red={ifOutLoad_T.thresh:red}% TABLE: noalarmsmsg,rrd(DS:ds0:ifHCInOctets:COUNTER; DS:ds1:ifHCOutOctets:COUNTER) Interface Name|Interface Speed|Rate in (load %)|Rate out (load %)|Status {ifName}{ifAliasBox}|{ifHighSpeed_T}|{ifInLoad_T.color}{ifInSpeed_T} ({ifInLoad_T}%){ifInLoad_T.errors}|{ifOutLoad_T.color}{ifOutSpeed_T} ({ifOutLoad_T}%){if OutLoad_T.errors}|{ifStat} Thanks, -Josh |