how to create the relationship rule for cmdb dashboard and what are the best practices to create that relationship rules?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-13-2022 03:48 AM
what are the best practices to view and create this relationship rule for cmdb dashboard how can we make changes in them
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-13-2022 04:53 AM
You don't have to necessarily create your own rule .CMDB provides OOTB metrices for that. You just have to maintain the integrity of relationship. You can create rule for specific classes via cmdb group view.
You have to follow the cmdb Relationship governance rule.
Relationship governance rules is a set of relationship rules used to ensure consistency and validity in modeling relationships between configuration items (CIs) in the CMDB. Use relationship governance rules to prevent the selection of relationship types or directions that are not allowed between specific CI types.
CMDB Health measures CI relationship health using a separate KPI and metrics.
- Orphan relationship
- A relationship that is missing parent, child, or relationship type.
- Make sure on cmdb_rel_ci, none of them are missing.
- This happens when a CI is deleted, but relationships are still there.
- Duplicate relationship
- Relationships that have identical parent, child, and relationship type.
- This happens many times. you have to clean it up regularly . see below KB article attached
- Stale relationship
- A relationship in which one of the CIs is stale. For a stale CI ā its associated relationships are also stale.
How to identify and delete duplicate CMDB CI Relationship records, or ones that have orphan or missing parent/child relationships
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0780988
If its helpful, mark answer as correct
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-12-2024 09:37 PM
Hello @Sanem ,
I'm on the same page as you were. How did you manage to run the relationship score job to consider only selected classes?