UIM data source does not appear in DX OI after configuring oi_connector and apm_bridge probes
search cancel

UIM data source does not appear in DX OI after configuring oi_connector and apm_bridge probes

book

Article ID: 229487

calendar_today

Updated On:

Products

DX Operational Intelligence DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

The inventory data is not getting published into DOI. The following error message is in the apm_bridge.log file:

INFO  [ForkJoinPool-12-worker-1, apm_bridge] Ending APM Inventory Update for profile 0 / took 464412 ms to process
INFO  [APMInventoryService RUNNING, apm_bridge] Running APM Inventory Update
INFO  [ForkJoinPool-14-worker-1, apm_bridge] reduceToCsIdGroupsMapFinal: getAllGroups: Inventory contains 11 groups
INFO  [ForkJoinPool-14-worker-1, apm_bridge] Total Devices Fetches 6
INFO  [ForkJoinPool-14-worker-1, apm_bridge] Total Devices6
INFO  [ForkJoinPool-14-worker-1, apm_bridge] Total Groups11
INFO  [ForkJoinPool-14-worker-1, apm_bridge] Inventory sent to APM for profile 0 : CS vertices: 17 / CI vertices: 0 and edges: 0
ERROR [ForkJoinPool-14-worker-1, apm_bridge] Could not retrieve hosting edges from TAS. profile id: 0, host: https://<apmgtwFQDN>
ERROR [ForkJoinPool-14-worker-1, apm_bridge] Could not determine UIM or TAS devices to forward for profile 0 with origin <primaryhubname>. Exception: java.net.UnknownHostException: https
ERROR [ForkJoinPool-14-worker-1, apm_bridge] java.net.UnknownHostException: https
 at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
 at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)

In the apm_bridge configuration http is used for the UIM hosts and https for the <apmgtwFQDN> host.

<resources>
   <0>
      origin = <UIM host>
      edgeTtlInSec = 2592000
      token = 
      use_ssl = true
      port = 443
      host = https://<apmgtwFQDN>
      operatorConsoleHost = http://<OCHost>
      adminConsoleHost = http://<PrimaryHubHost>
      vertexTtlInSec = 2592000
      <metric_feed>
         use_ssl = true
         path = /apm/appmap/private/metricFeed/write
         host = https://<apmgtwFQDN>
      </metric_feed>
   </0>
</resources>

Environment

  • Release: 21.3+
  • Component: UIM, DX OI
  • UIM 20.33+
  • uimapi 20.33HF2+
  • apm_bridge 1.06+

Cause

Hosts do not need the "https://" to be identified.  Only the FQDN is needed for configuration.

Resolution

  1. Deactivate the apm_bridge probe.

  2. In the apm_bridge.cfg, change from

    host = https://apmservices-gateway.<defaultSubDomain>
       to
    host = apmservices-gateway.<defaultSubDomain>

    Important: This appears twice so needs to be changed in both.

  3. Rename/delete cache & store folder within apm_bridge folder

  4. Activate the probe