Create a CMDB Health orphan rule
Create an orphan rule to determine the percentage of orphan CIs in the CMDB. This sum is then aggregated into the correctness CMDB Health KPI. Orphan rules are defined per class, and only a single orphan rule can be defined per class.
Avant de commencer
Role required: sn_cmdb_editor and itil have read access, sn_cmdb_admin and itil_admin (on top) have full access
Pourquoi et quand exécuter cette tâche
Specify the conditions that CIs must meet to be considered an orphan CI. Specify attributes that a CI must have, relationships that a CI should not have, or both. In the relationship conditions,
you can either specify that the CI has no relationships, or a set of specific relationships that the CI doesn't have.
Remarque :
If there is a health inclusion rule for the orphan metric, then the conditions in the health inclusion rule and the conditions in the health orphan rule, shouldn't be
identical.
A health orphan rule can for example, identify a CI of the cmdb_ci_computer class as an orphan CI if the CI is not set with an owner or an asset. Or, for example, you can create an orphan rule for a CI in the Disk [cmdb_ci_disk] class. If that CI doesn't have a Contains::Contained by or Contained by::Contains relationship with a Computer CI, then it is an orphan CI.