Parent and child classes having reconciliation rules with same source and different priorities

Ivar Donado
Mega Sage

Hi everyone,

So, we have a case where we have many data sources for the CMDB and we were making some reconciliation rules for Computers. The problem is that Computer and Server classes share some discovery sources but with different priorities, and that's preventing us from creating those rules. I will elaborate on this:

 

Computer class sources by priority:

  1. Source A
  2. Source B
  3. Source C
  4. Source D

Server class sources by priority:

  • Source D
  • Source E
  • Source A

I didn't think that would be a problem since Child classes' rule override the parent's ones. But when adding Source A and Source D in the child class I get the following message:

 

The reconciliation rule is not unique. There is another rule with the same discovery source, overlapping attributes, and condition filter.

 

To avoid this conflict I'm thinking on simply adding a condition that will always apply for Servers and then to the Computer rules add a different condition that will always apply to computers. On paper that should work, but I guess there's a better, more solid way to do this.

1 ACCEPTED SOLUTION

Ivar Donado
Mega Sage

Apparently, adding the rule to the child class first does the trick. I still need to check if the rules work properly this way.

View solution in original post

2 REPLIES 2

Ivar Donado
Mega Sage

Apparently, adding the rule to the child class first does the trick. I still need to check if the rules work properly this way.

SN Arch Guy
Giga Guru

Thank you. Yes, this doesn't really work the way you might expect. Another solution I found is that when there is already an entry on the parent class, you can add a filter on the rule there, like "Class is not [Child Class]". Then you can create a new entry on the particular child class you want, without negatively affecting all the other child classes that might be inheriting the parent rule.