Unable to apply Vendor Certification Priorities from the metric families
search cancel

Unable to apply Vendor Certification Priorities from the metric families

book

Article ID: 187936

calendar_today

Updated On:

Products

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

Issue/Introduction

I am transferring custom metric families and vendor certifications from an old system to my new environment using rest.

After importing the files, we are unable to see any VC’s under the MF in the console.

Environment

Release : 3.x

Component : IM Reporting / Admin / Configuration

Cause

The MF FacetType name value must be the same in the VC ExpressionGroup destCert value.

Resolution

Each VC has 3 parts and they must be loaded in this exact order:

  1. Components
  2. Metric family
  3. Vendor cert

 

The metric family has a reference to what components if uses:

 <ComponentFacets>

      <Facet>{http://im.ca.com/inventory}YOUR_CUSTOM_NAME</Facet>

    </ComponentFacets>

 

A custom MF can use both custom and OOTB components

……………

The vendor cert has a reference to what MF it is linked to:

      <ExpressionGroup destCert="{http://im.ca.com/normalizer}YOUR_CUSTOM_NAME" name=" YOUR_CUSTOM_NAME ">

You get this from the MF:

<FacetType name="YOUR_CUSTOM_NAME" descriptorClass="com.ca.im.core.datamodel.certs.NormalizedFacetDescriptorImpl">

 

………….

You can use rest to copy the old certs from the old system.

 

You need the internal name to pull them.

Then you can just do a GET to:

 

http://DA:8581/typecatalog/components/internal-name

http://DA:8581/typecatalog/certifications/snmp/internal-name

http://DA:8581/typecatalog/metricfamilies/internal-name

……

Then you can post them to the new system:

If they are new use POST

If you are editing them once loaded, use PUT

 

You would only post them to the main tree, and it adds the name:

http://DA:8581/typecatalog/components/

http://DA:8581/typecatalog/certifications/snmp/

http://DA:8581/typecatalog/metricfamilies/

………..

Then they should be available in the new console with the correct VC listed under the desired MF.

Additional Information

You should use a rest client, choose one you are comfortable with.