Some UIM groups displayed in the Operator Console inventory are not listed under uim.groups in DX OI under 'Manage Elements'
In DX OI->Manage Elements for Service has missing groups but the groups that are missing from the view, changes each time you view them. The first 40 out of 100, the last 40 out of 100, etc. It is not consistent. What shows/displays for the groups view is always changing.
When tested, nulls showed up and it is not known why so far in the UIM Inventory...oi_connector-side when we are filtering on an attribute of an element. The group information must be populated otherwise the group will not show up.
Logging
Please enable additional logging and share the data as described below:
Edit the apm_bridge.cfg configuration file with a text editor, or use Raw Configure to update key/value pairs. You can update or add the following key/value pairs to enable additional logs and for troubleshooting:
<topology_service>
save_incoming_graphs = 1
log_outgoing_request = 1
publish_config_items = 1
</topology_service>
After restart of the apm_bridge proble, a new "debug" directory will be created that includes subfolders, each will contain json files of the inventory and topology data.
Let it be run for approx. 2 hours and then deactivate the probe.
Then zip and upload the entire probe directory to the support case.
A KB Article describing the above steps with screenshots is listed below - see section on 'Enable additional logging...':
DX OI integration with UIM - Troubleshooting
applied apm_bridge debug build v1.09T3
1. Fix provided to get the older CI Vertices which has more than 2 days of alive time
To adjust the date we provided a new configuration parameter inventory_alive_time_days available in the setup section
2. Fix provided for vertex chunks payload to reduce the payload chunks based on space (1024 kb)
Please follow the steps below to capture the desired information:
Deactivate the existing version of apm_bridge.
Go to pthe robe directory and copy the entire folder into safe location.
Delete the probe from IM and also delete the probe directory from file explorer.
Now deploy the debug build v1.09T3 to the robot. Do not activate the probe yet.
Go to the backup directory as mentioned in step 2 and copy the apm_bridge.cfg.
Update the CFG in the probes' current directory and it will overwrite the default CFG.
Now adjust the logsize, it should be 999999 and loglevel should be set to 5. Also verify the values shown below:
<topology_service>
publish_config_items = 1
save_incoming_graphs = 1
log_outgoing_request = 1
</topology_service>
Verify the number of groups
1. Deactivate the apm_bridge
2. Set topology_service/save_incoming_graphs to 0
3. Enable topology_service/log_outgoing_request to 1
4. Activate the apm_bridge
The problem was due to the huge amount of group data, 3098 groups with 636 Container groups among them.
This level of processing requires a higher recursion value to cover all the groups in the group reduction processing. The solution for this problem is to increase the recursion depth value to 1000. For this please add the below property for the apm_bridge probe under setup/inventory_service:
grp_recursion_level = 1000
Deactivate the apm_bridge probe
Open Raw Configure
Add the grp_recursion_level property with value-> 1000
Activate the probe.
IMPORTANT: If the number of groups increases more than 4000 in future, then grp_recursion_level value must also be adjusted.
Due to the size of the payload, we have split origins across two profiles so that it would ease out the load on the processing of payloads to DX OI.
In case of more origins getting added in the future then its better to split the profile into 3 (from 1 or 2).
Also, the cache directory was filled up with partial chunks. To improve the performance we have deleted the unnecessary partial chunk files of 1 KB. This cleaning activity needs to be monitored from time to time so that the performance of apm_bridge is intact.
Note: In future releases of apm_bridge there is an ongoing development feature to delete the 1KB partial chunk files automatically.
Some computer system IDs (cs_ids) belong to the same group (uim.groups) - similar groups sets as shown above are normalized into one group for multiple cs_ids 421480, 424967, 424968 ingested into DX OI.
In the latest apm_bridge build, there is a new parameter:
inventory_alive_time_days
The group data and the group payload data which we retrieve is only for the last two days by default. This parameter value can be increased.
This is useful for exporting more data into DX OI.