Unable to see UIM groups on DOI

book

Article ID: 207433

calendar_today

Updated On:

Products

DX Operational Intelligence CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) DX Infrastructure Management

Issue/Introduction

 

After integrating CA UIM 20.3.2 to OI SaaS, the alarms are showing on OI SaaS however the groups are not imported into OI

An error message can be found in the apm_bridge log

ERROR [ForkJoinPool-1821-worker-9, apm_bridge] Failure reading groups from UIM
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
 at [Source: [email protected]; line: 6, column: 2]
 at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1702)
 at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:558)
 at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:456)
 at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2689)
 at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:878)
 at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:772)
 at com.uim.probe.bridge.apm.inventory.Reducer.reduceToCsIdGroupsMap(Reducer.java:369)
 at com.uim.probe.bridge.apm.uimapi.UimApiClient$GroupReducerResponseHandler.handleResponse(UimApiClient.java:464)
 at com.uim.probe.bridge.apm.uimapi.UimApiClient$GroupReducerResponseHandler.handleResponse(UimApiClient.java:454)
 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:223)
 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165)
 at com.uim.probe.bridge.apm.uimapi.UimApiClient.getAllGroups(UimApiClient.java:704)
 at com.uim.probe.bridge.apm.uimapi.UimApiClient.fetchAllUimDevices(UimApiClient.java:178)
 at com.uim.probe.bridge.apm.inventory.APMInventoryService.harvestAllUimDevices(APMInventoryService.java:953)
 at com.uim.probe.bridge.apm.inventory.APMInventoryService.inventoryProcessWithoutCsFilter(APMInventoryService.java:312)
 at com.uim.probe.bridge.apm.inventory.APMInventoryService.lambda$runOneIteration$0(APMInventoryService.java:214)
 at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
 at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
 at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
 at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
 at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:163)

INFO  [ForkJoinPool-1821-worker-9, apm_bridge] Inventory contains 0 groups
ERROR [ForkJoinPool-1821-worker-9, apm_bridge] Could not determine UIM devices to forward for profile 0 with origin <UIM data origin>. Exception: org.apache.http.client.HttpResponseException: 

ERROR [ForkJoinPool-1821-worker-9, apm_bridge] org.apache.http.client.HttpResponseException: 
 at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:70)
 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:223)
 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165)
 at com.uim.probe.bridge.apm.uimapi.UimApiClient.fetchAllUimDevices(UimApiClient.java:193)
 at com.uim.probe.bridge.apm.inventory.APMInventoryService.harvestAllUimDevices(APMInventoryService.java:953)
 at com.uim.probe.bridge.apm.inventory.APMInventoryService.inventoryProcessWithoutCsFilter(APMInventoryService.java:312)
 at com.uim.probe.bridge.apm.inventory.APMInventoryService.lambda$runOneIteration$0(APMInventoryService.java:214)
 at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
 at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
 at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
 at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
 at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:163)

 

 

Cause

 

The UIM installation had been upgraded from 9.x

The group information is taken from the UIM API, using the /groups call

When trying to run the API call from http://<primary OC server>/uimapi/swagger-ui.html it was discovered that it was not available
 
It was determined that the UIM API had not been updated as part of the upgrade.
 
 

Environment

Release : 20.2

Component : CA DOI Foundations

Resolution

 

The UIM API was brought up to the latest version and was then responding correctly.

As a result, the group information could then be successfully sent to OI

Additional Information

 

Details on updating the UIM API package are available here:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/ca-unified-infrastructure-management-probes/GA/probe-development-tools/restful-web-services/uimapi-apis.html#concept.dita_87e6e4f7e1bc7dd521dab8b37bffb71de76fc9a0_DeploytheuimapiPackage