This article describes the resolution for when the NetOps OI Connector stops sending inventory or metrics to DX Operational Intelligence (OI). This issue is often characterized by the OI Connector service stopping unexpectedly or failing to process inventory queries, potentially reporting an "OpenAPI Inventory Query Failed with Status: 400" error in the logs.
The default memory allocation for the OI Connector is often insufficient for large environments. When the connector attempts to process extensive inventory or metrics data, it exhausts the available heap space, leading to processing failures or service stops.
To resolve these issues, follow these steps to increase the maximum memory allocation and adjust the connection request size:
Adjust Java Memory:
wrapper.conf file (typically located in $OIConnector/conf/wrapper.conf) using a text editor.wrapper.java.maxmemory.wrapper.java.maxmemory=24576 for 24GB).Adjust OData Request Size:
conf directory.java.conf file using a text editor.-Dremote.connection.maxSize=262144000Restart the Service: