Incorrect interface Speed In/Out of Datacom/Teracom device

book

Article ID: 212100

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration

Issue/Introduction

I have the new installation of CA PM 20.2.7 and when I discover a Datacom/Teracom device in PM, it is showing an incorrect interface speed.

 

When I compare it with Spectrum, it shows the correct port speed.

Cause

In the device's walk, we have both ifSpeed and ifHighSpeed values for the problematic interface, which is causing the issue in PM to properly show the correct port speed:

ifIndex - 1.3.6.1.2.1.2.2.1.1.20        , Integer     , 20
ifDescr - 1.3.6.1.2.1.2.2.1.2.20        , OctetString , eth8.2206
ifMtu   - 1.3.6.1.2.1.2.2.1.4.20        , Integer     , 1500
ifSpeed - 1.3.6.1.2.1.2.2.1.5.20        , Gauge       , 10240000
ifHighSpeed - 1.3.6.1.2.1.31.1.1.1.15.20    , Gauge       , 1000

 

If the ifHighSpeed is above 20, then PM will use it as port speed.

Metric Expression:

Speed In: isdef(SpeedInOverride) ? SpeedInOverride : isdef(ifHighSpeed) ? (((ifHighSpeed > 20.0) || ! isdef(ifSpeed) ) ? ifHighSpeed*1000000 : ifSpeed) : ifSpeed

Speed Out: isdef(SpeedOutOverride) ? SpeedOutOverride : isdef(ifHighSpeed) ? (((ifHighSpeed > 20.0) || ! isdef(ifSpeed) ) ? ifHighSpeed*1000000 : ifSpeed) : ifSpeed

 

Snip from the dcdebug log file:

Apr 06 09:08:39.041:  SnmpResponseVariable [oid=1.3.6.1.2.1.2.2.1.5.20, type=GAUGE, value=10240000, isDelta=false, isList=true, error=SUCCESS, isDynamicIndex=false, indexList=null]

Apr 06 09:08:39.041:  SnmpResponseVariable [oid=1.3.6.1.2.1.31.1.1.1.15.20, type=GAUGE, value=1000, isDelta=false, isList=true, error=SUCCESS, isDynamicIndex=false, indexList=null]

Apr 06 09:23:39.039:  SpeedInOverride: NULL
Apr 06 09:23:39.039:  SpeedOutOverride: NULL
Apr 06 09:23:39.039:  RawIfSpeed: 1000000000 (Long)
Apr 06 09:23:39.039:  CalculatedSpeedIn: 1000000000 (Long)
Apr 06 09:23:39.039:  CalculatedSpeedOut: 1000000000 (Long)
Apr 06 09:23:39.039:  maxOctets20Mbps: 786432000 (Long)
Apr 06 09:23:39.039:  CalculatedIfInOctets: 51 (Long)
Apr 06 09:23:39.039:  CalculatedIfOutOctets: 20 (Long)
Apr 06 09:23:39.039:  CalculatedIfHCInOctets: 78 (BigInteger)
Apr 06 09:23:39.039:  CalculatedIfHCOutOctets: 8 (BigInteger)
Apr 06 09:23:39.039:  CalculatedDuplexStatus: 3 (Integer)
Apr 06 09:23:39.039:  UtilizationMaxPercent: 2000 (Integer)

Environment

Release : 20.2

Component : PERFORMANCE MANAGEMENT INTEGRATIONS

Resolution

Either set the correct value of ifHighSpeed on the device's MIB, 0, or manually set the overriding value on the PM side as a workaround.

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/20-2/building/manage-interfaces/override-speed-in-and-speed-out-values-on-interfaces.html

Attachments