Setting up the CMDB Health Inclusion Rules for Compliance Metrics

mahadukurkute
Kilo Explorer

Hi,

CMDB Health Inclusion Rules are introduced in Jakarta release and helps selecting specific CI's from specific classes before running the CMDB Health Dashboard measurements. The inclusion rules are available for metrics Completeness (Recommended, Required) and Correctness (Staleness and Orphan). The inclusion rule for Duplicate (part of correctness) can be set through CI Metadata Editor.

Somehow I am not able to apply similar inclusion rule for Compliance. As I result when I run the CMDB dashboard for a specific class, the total number of CI for all submatrices are correct except for compliance. Even though the audit (compliance) runs only for filtered CI's and shows how many are certified/failed, the total shows all CIs from that class and hence the % is also wrong.

For example - attached snapshot shows total CI for all submatrices as 1174 (based on health inclusion rules) whereas total for Audit is 1422 (Audit ran for 1174 based on filter). Here 1422 are total number of CI within the class.

Any pointers to resolve this would be really helpful.

find_real_file.png

Thank you.

Mahadu Kurkute

1 REPLY 1

ajayr
Giga Expert

Hi Mahadu,



The health inclusion rule does not include 'Audit' Compliance. So, you need to do customization for that.


Same requirement I implemented recently where I needed to remove retired CIs from Dashboard, I did below things:


1) created BR on cmdb_ci (async) and on update if there was any CI changed to Status as Retired then find the same CI in cmdb_health_result and delete


2) set abort action on cmdb_health_result if there was any insert/update on the records which has CI.Status as retired