Orphaned Relationship Health Metric & CMDB Remediation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 03:04 PM
Hello,
We have a requirement to ensure that orphaned CI relationships are managed. The OOB health metrics are capable of detecting orphaned CI relationships; however, there does not appear to be a way to create a CMDB Remediation record for these. It appears that all the functionality located in CMDB remdiations deal with the configuration item, but not the relationship.
We are currently using stale CI remediation to set stale ci's to retired (cannot be deleted due to business data retention policies). I am looking to use the same functionality in order to keep the cmdb_rel_ci tables clean. Is this possible using CMDB remediations or am I relegated to creating a custom business rule or scheduled job to achieve this functionality (operation support nightmare)?
Thank you,
Vlaho
- 2,129 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2020 07:52 AM
any solution found? I am looking at the same, especially after I found out that discovery creates a bunch of orphan relationships...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 04:17 PM
Can you please explain, what exactly you're trying to achieve? CMDB_REL_CI does not have a status field. As long as the CI pair exist in the system, it is a good relationship and should be kept.
You can either delete the relationships (since they are orphans) or archive them. This is for when at least one out of the pair is no longer in the system.
See this post for more info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 08:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 08:40 PM
What do you want to achieve in the end?
Whoever gets the task assigned will not be able to find the CI, and even if they do, the pair is no longer in a relationship as Discovery didn't find it. So fixing the relationship would be wrong.
If the CIs are still in the relationship, then on next Discovery run the system should make another record of the relationship between the two Cis if it cant find a match.
Maybe you can provide some examples so I better understand the issue.