search cancel

UIM apm_bridge probe stopped sending data to OI

book

Article ID: 241556

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

The apm_bridge probe is not uploading any data to OI.  The following error is seen: 

Apr 06 20:32:04:991 DBLOW [ForkJoinPool-1-worker-9, apm_bridge] Enter updateOrigin2DevId

Apr 06 20:32:04:993 ERROR [ForkJoinPool-1-worker-9, apm_bridge] Could not determine UIM or TAS devices to forward for profile 0 with origin xxxx,xxxxx,xxxxxx, 20

Apr 06 20:32:04:995 ERROR [ForkJoinPool-1-worker-9, apm_bridge] java.lang.ArrayIndexOutOfBoundsException: 20

                at org.mapdb.DataInput2$ByteArray.unpackLongArray(DataInput2.java:200)

                at org.mapdb.IndexTreeListJava$1.deserialize(IndexTreeListJava.java:64)

                at org.mapdb.IndexTreeListJava$1.deserialize(IndexTreeListJava.java:16)

                at org.mapdb.StoreDirectAbstract.deserialize(StoreDirectAbstract.kt:229)

                at org.mapdb.StoreWAL.get(StoreWAL.kt:527)

                at org.mapdb.IndexTreeListJava.treeFold(IndexTreeListJava.java:594)

                at org.mapdb.IndexTreeLongLongMap.forEachKeyValue(IndexTreeLongLongMap.kt:446)

                at org.mapdb.HTreeMap.clear(HTreeMap.kt:552)

                at org.mapdb.HTreeMap.clear(HTreeMap.kt:523)

                at com.uim.probe.bridge.apm.ComputerSystemIndex$Indices.updateOrigin2DevId(ComputerSystemIndex.java:378)

                at com.uim.probe.bridge.apm.ComputerSystemIndex.updateProfileOrigin2DevId(ComputerSystemIndex.java:872)

                at com.uim.probe.bridge.apm.uimapi.UimApiAllElementsTransformer.basicTransform(UimApiAllElementsTransformer.java:153)

                at com.uim.probe.bridge.apm.uimapi.UimApiAllElementsTransformer.transform(UimApiAllElementsTransformer.java:197)

                at com.uim.probe.bridge.apm.uimapi.UimApiClient$MinimalUimElementsResponseHandler.handleEntity(UimApiClient.java:576)

                at com.uim.probe.bridge.apm.uimapi.UimApiClient$MinimalUimElementsResponseHandler.handleEntity(UimApiClient.java:549)

                at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:73)

                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.fetchAllUimElementsCache(UimApiClient.java:450)

                at com.uim.probe.bridge.apm.inventory.APMInventoryService.fetchElementOriginCache(APMInventoryService.java:433)

                at com.uim.probe.bridge.apm.inventory.APMInventoryService.processTopology(APMInventoryService.java:406)

                at com.uim.probe.bridge.apm.inventory.APMInventoryService.inventoryProcessWithoutCsFilter(APMInventoryService.java:382)

                at com.uim.probe.bridge.apm.inventory.APMInventoryService.lambda$runOneIteration$0(APMInventoryService.java:205)

                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:175)

 

Apr 06 20:32:04:995 INFO  [ForkJoinPool-1-worker-9, apm_bridge] Ending APM Inventory Update for profile 0 / took 20536 ms to process

Apr 06 20:32:04:995 INFO  [APMInventoryService RUNNING, apm_bridge] Done updating APM Inventory

 

Environment

Release : 20.3

Component : UIM - APMGTW

Cause

A cause of this could be that the cache files (mapdb) are corrupted within the apm_bridge folder.

This issue can occur due to some invalid data (NULL values) fetched from the UIMAPI request. This may cause issues w.r.t serialization/deserialization of the values within the mapdb.

 

 

Resolution

  1. Deactivate the apm_bridge probe.
  2. Rename/delete cache & store folder within apm_bridge folder. Cache folder will have a large number of 1 KB files in most deployments so deleting will take a very long time, so         
      renaming the folder would work.
  3. Activate the probe.