Importing a VC in CA Performance Management fails with "Only 1 index attribute allowed in AttributeGroup" Error

book

Article ID: 144725

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration CA Performance Management - Data Polling DX NetOps

Issue/Introduction

We're trying to import a Vendor Certification, however, it generates the following error:
 
"An error occurred while importing the file <FILE_NAME>. Only one index attribute is allowed in an AttributeGroup."

Cause

The problem is there are more than one <IsIndex>true</IsIndex> in the file being imported as indicated by the Error:

"An error occurred while importing the file <FILE_NAME>. Only one index attribute is allowed in an AttributeGroup."

An attribute group should be created per table read and each table has an index, so only one per AttributeGroup. For example:

<Attribute name="CiscoInterfaceIndex" type="ObjectID">
  <Documentation />
  <Source>1.3.6.1.4.1.9.2.2.1.1.10</Source>
  <IsIndex>true</IsIndex>
  <IsKey>true</IsKey>
  <NeedsDelta>false</NeedsDelta>
</Attribute>

And:

<Attribute name="ifIndex" type="ObjectID">
  <Documentation />
  <Source>1.3.6.1.2.1.2.2.1.1</Source>
  <IsIndex>true</IsIndex>
  <IsKey>true</IsKey>
  <NeedsDelta>false</NeedsDelta>
</Attribute>

In the above example, the XML is trying to read both Cisco and ifxtable MIBs.

Environment

CAPM 3.x

Resolution

Remove the extra indexes. You can try to look at some other Cisco interface Vendor Certifications (VC), and see if any of them are reading the same OIDs as the custom VC being imported and then follow the same method to ascertain which indexes.