Best Practice - Exclude child table from Health inclusion rule?

Henrik Jutterst
Tera Guru

Short and simple question: What is the preferred way to set up a Health inclusion rule for a CI Type, but not to include its child classes?

Example: I want to set up Stale Metrics only for CIs in cmdb_ci_hardware - but not in it's child classes.

Do I set up a filter for that specific class to only include CIs in cmdb_ci_hardware or can I delete the Health inclusion rule on its child classes?

Yes, I've seen this link, but it doesn't answer my question: Create health inclusion rule.

Anyone with ideas?

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi

you have to set the class name to "Hardware". That way, all child classes are excluded:

find_real_file.png

Maik

View solution in original post

3 REPLIES 3

Maik Skoddow
Tera Patron
Tera Patron

Hi

you have to set the class name to "Hardware". That way, all child classes are excluded:

find_real_file.png

Maik

Hi Maik and thanks.

 

But is that so? Look at this Example where I want to filter out Tomcat Application Server from Stale CIs.

 

Data is here:

 

Here is Class manager where I'm viewing Tomcat. I can see that the Inclusion Rules are from cmdb_ci_appl_server:

 

 

What should the filter look like if I want to Exclude a class then? Nothing is selected. Yes I understand that Logic is inherited, but what should I do to Exclude the class? Nothing is selected.

Guramandeep
Tera Contributor

Hi @Henrik Jutterst As per your follow up question, did you figure out how to exclude the tomcat class from the health metrics?