Hello, experts.
We're currently facing an issue with missing nodes in the console event. These events are sent from an older integration with SCOM, and the event's server is included in the object. However, this information is not being forwarded to us through a typical policy, so we are not able to just set the node in there and easily resolve the issue.
To address this, we've implemented resolution hints in an EPC script as follows:(...)
String hostCI=event.getObject()
ResolutionHints hints = new ResolutionHints(false)
hints.setDnsName(scomServer) // SCOM server name
hints.setHint("nt:"+hostCI)
event.setSourceCiHints(hints)
event.setNodeHints(hints)
(...)
Example event:
<deleted_print>
Example event's resolver hints:
<deleted_print>
Despite implementing these hints, we're still experiencing issues with node identification. Is there anything else we need to adjust or consider to ensure the node is properly set?
Thank you in advance for your assistance.
EDIT: The SCOM server domain was miswritten and I think that was causing the node to not be set up, even if the Related CI was resolving correctly. I edited the code snippet and deleted the prints for privacy reasons.