apm_bridge only syncs one UIM device due to to DX Operational Intelligence (OI); uimapi 404 error
search cancel

apm_bridge only syncs one UIM device due to to DX Operational Intelligence (OI); uimapi 404 error

book

Article ID: 435412

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

After upgrading Unified Infrastructure Management (UIM) to version 23.4.6 and updating the apm_bridge probe to 2.10, users may observe that only a single device (or no devices) syncs to DX Operational Intelligence (OI).

Error in apm_bridge.log

[APMInventoryService RUNNING 0, apm_bridge] Enter reduceToCsIdGroupsMap: getAllGroups
 [APMInventoryService RUNNING 0, apm_bridge] reduceToCsIdGroupsMap: getAllGroups: Failure reading groups from UIM
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
 at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 11, column: 1]

ERROR [APMInventoryService RUNNING 0, apm_bridge] Exception occurred during uimapi fetchAllUimDevices : status code: 404
 [APMInventoryService RUNNING 0, apm_bridge] Could not determine UIM or TAS devices to forward for profile 0 with origin ..... Exception: java.lang.NullPointerException: Cannot invoke "com.uim.probe.bridge.apm.graph.MinimalGraph.getVertices()" because "graph" is null

Environment

UIM Version: 23.4.6 CU6 GA or later

OC Version: 23.4.5 CU6 GA or later

Probes: apm_bridge 2.10+

Integration: DX Operational Intelligence 25.1 On-Prem

Cause

The uimapi webapp on the Operator Console (OC) is either disabled, running an older version incompatible with UIM 23.4.6, or lacks the necessary configuration in the wasp probe to load correct

Resolution

1. Deactivate the wasp probe on the Operator Console.

2. Ensure that both uimapi and webservices-rest webapps are updated to version 23.4.6.

3. Configure wasp.cfg: Navigate to the wasp configuration and ensure the uimapi webapp is enabled with the following parameters:

    <uimapi>
        reloadable = true
        cross_context = true
        load_on_startup = true
        unpack_war = true
        <custom>
            <uncrypted>
                thread_count = 1
            </uncrypted>
        </custom>
        path = /uimapi
        doc_base = uimapi
    </uimapi>

4. Activate the wasp probe on the OC.

5. Restart apm_bridge: Deactivate and then activate the apm_bridge probe on the Primary hub to re-initiate the inventory sync.