How to change the Label of Port CIs

book

Article ID: 19780

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

How can I change the Label of the Port CIs that are published from Spectrum into SOI ?



Environment

Spectrum integrated with CA Service Operations Insight

Resolution

Port Model CIs are published by the Spectrum IM Connector in SOI with Labels like the following example:

Port:mplsTunnel:00-00-00-00-00-00:Module:Unknown:1011:RH-NE40E-01

This can be modified to appear in SOI with DeviceName and Description or any other available property with Format2 Tag.

Create a backup of the SOI\resources\Core\Catalogpolicy\spectrumim_policy.xml file

Stop the CA SAM Integration Services Service.

Update the spectrumim_policy.xml file as follows:

*The bold marked code is new code.

<EventClass name="Port" extends="Item">
                <Format>
                ................
                </Format>
                <Format2>
                                <Field output="InstanceName" format="{0}:{1}" input="DeviceDnsName,Description" />
                                <Field output="Label" format="{0}:{1}" input="DeviceDnsName,Description" />
                </Format2>
 
</EventClass>

Save the modifications and start the CA SAM Integration Services Service.

If still Port showing old format, uncheck Perform Delta processing in SOI administration and restart the Connector.