IPSLA Data missing polls on certain tests on the same device other tests look good no missing data
Model: Cisco ASR 9006
Description: Cisco IOS XR Software (Cisco ASR9K Series), Version 6.4.2[Default] Copyright (c) 2020 by Cisco Systems, Inc.
Release : 20.2
Component : IM Reporting / Admin / Configuration
When DCDebug turned on
You can check below points
Apr 08 10:42:34.978: SnmpResponseVariable [oid=1.3.6.1.4.1.9.9.42.1.3.5.1.4.120, type=COUNTER, value=2400, isDelta=true, isList=true, error=SUCCESS, isDynamicIndex=true, indexList=null]
Apr 08 10:42:34.978: SnmpResponseVariable [oid=1.3.6.1.4.1.9.9.42.1.3.5.1.5.120, type=COUNTER, value=16759, isDelta=true, isList=true, error=SUCCESS, isDynamicIndex=true, indexList=null]
Apr 08 10:47:34.976: SnmpResponseVariable [oid=1.3.6.1.4.1.9.9.42.1.3.5.1.4.120, type=COUNTER, value=2400, isDelta=true, isList=true, error=SUCCESS, isDynamicIndex=true, indexList=null]
Apr 08 10:47:34.976: SnmpResponseVariable [oid=1.3.6.1.4.1.9.9.42.1.3.5.1.5.120, type=COUNTER, value=16759, isDelta=true, isList=true, error=SUCCESS, isDynamicIndex=true, indexList=null]
Apr 08 10:47:34.955: CiscoIPSLADynamicDiscovery processed discovery: baseOID=1.3.6.1.4.1.9.9.42.1.3.5.1.4.120
userObject=ItemBasedRequestState[responseReceivedTimestamp=1617875254955(Thu Apr 08 10:47:34 BST 2021), itemList=[14446387]] ,discoveryIntf=com.ca.im.d[email protected]77f2c46,
discoveryResult=sysUpTime=2233207822, fullOID=1.3.6.1.4.1.9.9.42.1.3.5.1.4.120.2233225071, dynamicIndex=2233225071 ,discoveryState=CURRENT, currentDynamicIndex=2232865071
As you can see the sysUpTime read is 2233207822, and new bucketID is 2233225071 which is about 20000 timeticks in the future.
CAPM will not read the new bucket until current sysUpTime > bucketID (aka sysUpTime),
Data should not be written to it until the test is run after sysUpTime >= bucketID.
Hence CAPM read from the old bucket 2232865071 instead of 2233225071.
So the values that make up that metric are:
rttMonJitterStatsNumOfRTT > 0 ? (rttMonJitterStatsRTTSum/rttMonJitterStatsNumOfRTT)
rttMonJitterStatsNumOfRTT = 1.3.6.1.4.1.9.9.42.1.3.5.1.4.120.bucket = raw (2400) - prev 10:42 (2400) - delta (0)
rttMonJitterStatsRTTSum = 1.3.6.1.4.1.9.9.42.1.3.5.1.5.120.bucket = raw (16759) - prev 10:42 (16759) - delta (0)
Apr 08 10:47:34.976: Poll response after delta processing: SnmpPollResponse [itemID=14446387, deviceItemId=14446355, internetAddress=172.16.46.64, pollGroupId=5354712, cycleTimestamp=1617875100000
Apr 08 10:47:34.976: SnmpResponseVariable [oid=1.3.6.1.4.1.9.9.42.1.3.5.1.4.120, type=COUNTER, value=0, isDelta=true, isList=true, error=SUCCESS, isDynamicIndex=true, indexList=null]
Apr 08 10:47:34.976: SnmpResponseVariable [oid=1.3.6.1.4.1.9.9.42.1.3.5.1.5.120, type=COUNTER, value=0, isDelta=true, isList=true, error=SUCCESS, isDynamicIndex=true, indexList=null]
So we return NULL.
poll data returned, we see:
Apr 08 10:47:34.980: DCMResponseVariable [name={http://im.ca.com/normalizer}NormalizedJitterInfo.AvgResponseTime, value=NULL ]
Cisco confirmed as a bug
Details of the bug:
Cisco Bug: CSCvn30103 - ipsla statistics report wrong Latest and Next operation start times.