How to change CI Label value in the connector policy

Document ID : KB000012546
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

We have installed Spectrum Connector and are able to see all CIs. But most of the CI names appear as "IP Address" rather hostname.

We want to change the Label so that it can show hostname rather IP Address

Question:

How to change CI Label value by modifying the connector policy.

Environment:
SOI 3.3 & 4.0Windows 2008 & 2012
Answer:

We can use <Format2> tag to override Label property by following these steps 

1) Stop "CA SAM Integration Services" Service on the IFW connector like Spectrum connector

2) Stop "CA Catalyst Container" services on the Catalyst Connector like UIM, CMDB etec

3) Create a backup of the connector policy

     Ex: For Spectrum Connector, the location of the policy is: \SOI\resources\Core\Catalogpolicy\spectrumim_policy.xml file 

     Ex: For Catalyst Connector, the location of the policy is: 

                        \CatalystConnector\registry\topology\physical\<HostName>_CatalystConnector\modules\policy\scom_policy.xml

In this case, we are updating the spectrumim_policy.xml file as follows:

 

<EventClass name="ComputerSystem" extends="NetworkEntity">

                <Format>

                ................

                </Format>

<!-- Updating Label for "ComputerSystem" CIs" -->

<Format2>

<Field output="Label" format="{0}" input="Model_Name "/> 

</Format2>

 

Note: This has to be updated in each EventClass definition

4) Delete cache files inside "\CatalystConnector\container\registry-cache" on Catalyst Connector

5) Start Connector services