Unable to change device type in CAPM
search cancel

Unable to change device type in CAPM

book

Article ID: 99868

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration

Issue/Introduction

After updating the /opt/IMDataAggregator/data/custom/devicetypes/DeviceTypes.xml file on the Data Aggregator and rediscovering the device the device type does not change

Environment

CAPM 3.x

Cause

syntax error

Resolution

The following exception is seen in /opt/IMDataCollector/apache-karaf-2.4.3/data/log/Exception.log on the Data Collector:

An existing application exception RECURRED (Key=xxxxxxxxx), Recurrence count=1 : Unable to parse the device type definition XML file: Error on line 37: The element type "sysObjectID" must be terminated by the matching end-tag "</sysObjectID>". : Error on line 37: The element type "sysObjectID" must be terminated by the matching end-tag "</sysObjectID>". | (ExceptionLogger.java:104) 

Looking at  /opt/IMDataAggregator/data/custom/devicetypes/DeviceTypes.xml on the Data Aggregator we see:

        <sysObjectID>1.3.6.1.4.1.3417.1.5.1</SysObjectID>
        <sysObjectID>1.3.6.1.4.1.2620.1.6.123.1.49</sysObjectID>

The closing tag must be correct or the update to the device will not occur.  Change </SysObjectID> to </sysObjectID> and wait one minute for the change to take effect.  Then rediscover the device.  This should resolve the issue as you should now see the device type change

Additional Information

Override Device Types documentation:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/22-2/building/manage-devices/override-device-types.html