DX NetOps

  • 1.  How to Poll SNMP Data for Multiple Instances(Instance ID Changes each time)

    Posted Aug 09, 2016 06:26 AM


    I am trying to get this Huawei NQA working by making Custom Metric Family and then vendor certification, because it is not supported by CA PC yet.

    I am using MIB Tool to get the stats of NQA from Routers. But problem is this that against one particular OID, multiple instances are returned, and each time the Instance ID is changing.

     

    For Example,

    If I poll the OID of ICMP Jitter, I don't just get one value, infact I get multiple values as a response and the Complete OID (OID + Instance ID). So If i poll value of ICMP Jitter, I would get values of 5mins. i.e. 5 values having different Instance IDs

     

    Like for

    nqaJitterStatsJitterOut (OID :    1.3.6.1.4.1.2011.5.25.111.4.3.1.51 ) I am getting 5 instance IDs which represents value of last 5mins (1 value for each minute). In below table 1390 , 1391 , 1392, 1393 , 1394 are reprsenting each minute.

    Now when after lets says 20mins I poll the data again these Instance IDs wont be there. There would be new instance IDs with ending something like 14xx.

     

    How can I tackle such situations, keeping this behaviour in view, I am even unable to figure it out that how can I generate the Metric Family for it.

     

         

    NameInstanceObject IDValueType
    nqaJitterStatsJitterOut7.49.48.48.48.48.55.53.13.112.109.115.46.117.50.48.48.48.46.110.109.115.13901.3.6.1.4.1.2011.5.25.111.4.3.1.512.1759946Octet String
    nqaJitterStatsJitterOut7.49.48.48.48.48.55.53.13.112.109.115.46.117.50.48.48.48.46.110.109.115.13911.3.6.1.4.1.2011.5.25.111.4.3.1.511.7762845Octet String
    nqaJitterStatsJitterOut7.49.48.48.48.48.55.53.13.112.109.115.46.117.50.48.48.48.46.110.109.115.13921.3.6.1.4.1.2011.5.25.111.4.3.1.512.3655543Octet String
    nqaJitterStatsJitterOut7.49.48.48.48.48.55.53.13.112.109.115.46.117.50.48.48.48.46.110.109.115.13931.3.6.1.4.1.2011.5.25.111.4.3.1.512.7791717Octet String
    nqaJitterStatsJitterOut7.49.48.48.48.48.55.53.13.112.109.115.46.117.50.48.48.48.46.110.109.115.13941.3.6.1.4.1.2011.5.25.111.4.3.1.511.8737417Octet String

     

    PS: Same behaviour was observed for Redline (WiMax), they return performance for last 15mins against one OID. and Instance IDs keep on changing with time like in this case.

     


    Thanks!



  • 2.  Re: How to Poll SNMP Data for Multiple Instances(Instance ID Changes each time)

    Posted Aug 09, 2016 09:31 AM

    Check out the OOtB vendor cert "CiscoIPSLAJitterPrecisionMib".  I think it will put you in the right direction.

     

    This vendor cert employs the "UsesDynamicIndex" attribute to accommodate what you're seeing; ie: bucket indexes.



  • 3.  Re: How to Poll SNMP Data for Multiple Instances(Instance ID Changes each time)

    Posted Aug 09, 2016 10:16 AM

    Thanks Justin, I just had a look on "CiscoIPSLAJitterPrecisionMib"  and found indexes to be  "createIndexArray({JitterPrecisionStatsIndex, EchoAdminPrecIndex})" .

     

    But how can I know that time based on Instance ID that polled data is of what time.

    It would be data of last 5 mins (i.e. 5 different instance), and any idea about the polling rate that should I keep it 5mins or what??

    I went through "CA Performance Management Data Aggregator power user certification guide" but couldn't find anything related to it in detail. If you have idea that how can I proceed with it, please let me know.

     

    Thanks



  • 4.  Re: How to Poll SNMP Data for Multiple Instances(Instance ID Changes each time)

    Broadcom Employee
    Posted Aug 15, 2016 03:19 PM

    Sajid - you may want to open a certification request with support - this looks like it may be a complex certification.



  • 5.  Re: How to Poll SNMP Data for Multiple Instances(Instance ID Changes each time)

    Posted Aug 16, 2016 02:18 AM

    Thanks Bob, yeah I have been trying to explore different options, and doesn't seems that I would be able to do it myself.

    But in my case I have to do it for 4,5 different products (WiMax, Microwave).



  • 6.  Re: How to Poll SNMP Data for Multiple Instances(Instance ID Changes each time)

    Posted Aug 15, 2016 08:34 PM

    Hi Sajid,

     

    The OID is a Octet String type. I believe that by adding the snmpOctetStringFloat function to the Vendor Cert expressions for the octet string OIDs ( eg snmpOctetStringFloat(nqaJitterStatsJitterOut) ) should address this problem.

    Functions and Global Variables:

     

    https://docops.ca.com/ca-performance-management/2-8/en/building/self-certification/create-or-edit-vendor-certification-expressions/functions-and-global-variables#FunctionsandGlobalVariables-snmpOIDParserFunction



  • 7.  Re: How to Poll SNMP Data for Multiple Instances(Instance ID Changes each time)

    Posted Aug 16, 2016 02:19 AM

    Thanks Marlos, I'll explore it. Not pretty sure that it can server purpose or not. But seems to be quite useful.

     

    Thanks!



  • 8.  Re: How to Poll SNMP Data for Multiple Instances(Instance ID Changes each time)

    Posted Sep 28, 2018 04:06 AM

    Did you get it working?



  • 9.  Re: How to Poll SNMP Data for Multiple Instances(Instance ID Changes each time)
    Best Answer

    Broadcom Employee
    Posted Aug 16, 2016 10:48 AM

    Below outlines the information required when opening a certification required for CA Performance Management:

     

    Requirements for Performance Management Certification Request