DX NetOps

  • 1.       Vendor Certification XML  - Multi-MIB Table

    Posted Mar 19, 2019 11:23 AM

    Hi,

     

    I'm trying to build a new vendor certification using 2 MIB tables.
    To parse different indexes(and create only one Item) I tried with Index TagList:

       <IndexTagList>
       <PrimaryTag>LigoWaveWireless</PrimaryTag>
       <IndexTag>
       <Name>RemoteNode</Name>
       <PrimaryKeyExpression>LigoWaveWirelessHostIndex</PrimaryKeyExpression>
       <ThisTagKeyExpression>RemoteNodeHostIndex</ThisTagKeyExpression>
       </IndexTag>
       </IndexTagList>

     

    From:Multi-MIB Table Support - CA Performance Management - 3.6 - CA Technologies Documentation 

     

    And:

    <Expressions>
    <ExpressionGroup destCert="{http://im.ca.com/normalizer}MWwifiConf" name="LigoWaveConfTable.WifiConf">
    <Expression destAttr="Indexes">"createIndexArray({LigoWaveWirelessHostIndex, RemoteNodeHostIndex})"</Expression>

     

    But it's only sending one index(Index List={[8]}).

    From debug:

    Polled Items(1)      Item ID=89707, Name=LigoWave Wifi Interface, Index List={[8]}


     Any idea why?

     

    BR,

    Pedro Lourenço



  • 2.  Re:      Vendor Certification XML  - Multi-MIB Table

    Broadcom Employee
    Posted Mar 19, 2019 11:34 AM

    Hi Pedro,

     

    Can you share a full copy of the custom VC involved?

     

    Thanks,

    Michael



  • 3.  Re:      Vendor Certification XML  - Multi-MIB Table

    Posted Mar 19, 2019 11:39 AM

    Hi,

     

     

    Files attached.

    Thanks.

     

    BR,

    Pedro Lourenço

    Attachment(s)



  • 4.  Re:      Vendor Certification XML  - Multi-MIB Table

    Posted Mar 20, 2019 06:59 AM

    Hi polmi05,

     

    I did some progess on the debug.

     

    I found that the <ThisTagKeyExpression>RemoteNodeHostIndex</ThisTagKeyExpression> was returning null.

     

    I attached 2 xml, one with IndexTagList and another without(v2 file).

    If I use the one without IndexTagList I can get the correct value for "RemoteNodeHostIndex".

    With IndexTagList for the same value i'm getting null.

     

    Any ideia why?

     

    BR,

    Pedro Lourenço



  • 5.  Re:      Vendor Certification XML  - Multi-MIB Table

    Broadcom Employee
    Posted Mar 20, 2019 06:17 PM

    VC shows we defined that OID as:

     

    <Attribute name="RemoteNodeHostIndex" type="ObjectID">
    <Documentation>A variable generated when a MIB table is imported. It serves as the index for the other variables in the same table.</Documentation>
    <Source>1.3.6.1.4.1.32750.3.10.1.3.2.1.1</Source>
    <IsIndex>true</IsIndex>
    <IsKey>true</IsKey>
    <NeedsDelta>false</NeedsDelta>
    </Attribute>

     

    Further review searching google for that OID and it's MIB it would appear that is a MAC ADDRESS value that would be in that OID.

     

    Appears per a sample I saw it would be something like:

    LIGO-WIRELESS-MIB::ligoWiRmtNodeMacAddress.8.'..;...' = STRING: 0:19:3b:8:f7:f1

     

    Where .8 is the index for a given WiRmtNodeMacAddress in the table of values for that OID.

     

    So you're trying to get the list of MAC addresses... combine them with the list of hosts names and report on that as a metric? Is that the goal here?



  • 6.  Re:      Vendor Certification XML  - Multi-MIB Table

    Posted Mar 21, 2019 02:06 PM

    Hi,

     

    I solved my problem using PrimaryKeyExpression and ThisTagKeyExpression like this:

     

    <IndexTagList>
    <PrimaryTag>LigoWaveWirelessTAG</PrimaryTag>
    <IndexTag>
    <Name>RemoteNodeTAG</Name>
    <PrimaryKeyExpression>snmpOIDParser(LigoWaveWirelessHostIndex,1,9)</PrimaryKeyExpression>
    <ThisTagKeyExpression>snmpOIDParser(RemoteNodeHostIndex,1,9)</ThisTagKeyExpression>
    </IndexTag>
    </IndexTagList>

     

    The goal was to use 2 different tables. Table number 1 whit one index and table number 2 with another index.

     

    It looks like the only way is using IndexTagList but with this we need to "combine/match" the 2 tables.

    But for my case I have 2 different tables and they don't have any equal instance/index/value.

     

    I stlii can't undersatnd how  PrimaryKeyExpression and ThisTagKeyExpression it's working.

     

    Can you explain how IndexTagList expression compare the 2 keys, what they need to have to match and return true? 

     

    BR,

    Pedro Lourenço



  • 7.  Re:      Vendor Certification XML  - Multi-MIB Table
    Best Answer

    Posted Mar 27, 2019 11:45 AM

    Hi,

     

    Hi already understand how IndexTagList work.

     

    On PrimaryKeyExpression we need to send the Instaces/index from table1 that will match with the instaces/index in ThisTagKeyExpression table2.

     

    BR,

    Pedro Lourenço