This article provides advanced guidance on setting up the oi_connector and apm_bridge for integrating DX UIM into DXOI/DXO2.
Best practice for latest versions to run as of February 2026:
For DX UIM 23.4.4 and earlier
oi_connector 2.03 latest GA probe (includes previous fixes)
apm_bridge latest fix compatible with pre Java_jre21: apm-bridge-probe-2.0.1-20260204.100630-5
The oi_connector must be on a robot connected to/under the Primary hub but ideally not on the Primary hub robot itself. It can also be installed to a secondary hub connected directly to the Primary hub.
The oi_connector and apm_bridge should be co-located on the same robot.
If both probes are already on the Primary Hub, then establish and use a dedicated robot for both the oi_connector and apm_bridge and deactivate the oi_connector on the Primary.Steps required to install the oi_connector on a robot under the Primary hub
For an oi_connector instance deployed on a remote robot machine connected to the primary hub, the following keys must be set via Raw configure:
The values of the following parameters can be set from Infrastructure Manager -> Setup -> Raw Configure. To do so, deactivate if the running probe is running, set the parameter values, and activate the probe again.
For example:data_engine_address = /<domain_name>/ <primary_hub_name>/<primary_robotname>/data_engineprimary_hub_address = /<domain_name>/ <primary_hub_name>/<primary_robotname>/hubconnect_to_primary_hub = true
IMPORTANT: Ensure you copy the certificate.pem file from the Primary hub to the dedicated robot and reference its location in the robot.cfg otherwise the oi_connector will turn red and not continue to operate. See section below for more details.
Add/adjust the following recommended keys and value:
skip_second_pass_ci_fetch = true
The keys listed below should already be present and set in the oi_connector but it's best to double-check and adjust their values as well. These parameter values have been used in several large environments running the latest GA versions of oi_connector and apm_bridge v2.03, with great success in alleviating the axagateway.uimQos queue when it backs up and/or stops processing and turns yellow.
get_ci_details_alive_time_days = Change from 10 to 2 for large environmentsqos_bulk_size = 5000qos_payload_bulk_size = 5000get_ci_details_by_met_id_list = true
task_count = 1000bulk_size = 2000db_conn_max_pool_size = 15 (Change from default of 10 to 15)
schedule_time_minutes = 300 (Change from default of 30 to 300)
This oi_connector parameter needs to be set to false but under good processing could be set to true.
enable_alive_time_batches = false
Change loglevel = 2 (after troubleshooting is completed)
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded Currently, the CI cache refresh runs every 30 minutes. In environments with large metadata volume (1.2M+ entries and growing), this frequent refresh gradually consumes:
Over time, this can lead to resource exhaustion and increase the likelihood of thread starvation.
As the data volume continues to grow, the refresh interval should be adjusted accordingly.
We recommend updating: ci_cache_update_thread_
Refreshing once every 24 hours significantly reduces DB pressure compared to the default of every 30 minutes.
Click 'Ok' to save the updated configuration.
Note that there is a file (oi_connector setup parameters) attached to this article which includes a partial extract to serve as a short example reference for the <setup> section parameter values used in a very large environment which processes millions of messages.
When the apm_bridge is deployed on the same robot as the oi_connector, it needs the following parameters updated with the relevant information:
primary_hub_address = /<domain_name>/ <primary_hub_name>/<primary_robotname>/hub
connect_to_primary_hub = true
inventory_alive_time_days
In apm_bridge 2.03 or earlier the inventory_alive_time_days parameter is only configurable in the range of 1 to 7.
Note that the inventory related to certain probes (such as url_response and net_connect) are not being published because these probes do not periodically update the alive_time in the cm_computer_system table. Therefore, with these settings the inventory count in DX UIM may not correspond/differs with inventory count in DXO2 as it would be missing those devices.
To avoid this, the patch for apm_bridge included in this KB can be deployed: Not all devices / inventory are published from DX UIM to DXO2
After following the steps above, if the any issues persist such as message backlog/queuing, attach the oi_connector.log and apm_bridge.log to your support case.
Configure the security certificate on the secondary hub (hub->robot) or robot under the hub
Copy the certificate FROM the Primary hub TO the dedicated robot where the probe is deployed and add the path of the certificate pointing to the target robot's controller configuration file e.g., .../opt/nimsoft/robot/robot.cfg
For example, you may take a look at the Primary Hub's controller configuration file.
Linux robot example:
cryptkey = /opt/nimsoft/security/certificate.pem
Windows robot example:
Upgrade oi_connector and apm_bridge
To upgrade oi_connector and amp_bridge follow the Best Practices to upgrade oi_connector and apm_bridge
[QOS_PROCESSOR_THREAD-337, oi_connector] Error while posting the qos data net.sf.ehcache.CacheException: Faulting from repository failed
Related KBs/Documents: