Contact inheritance for service does not work after update
Posted: Tue Nov 10, 2020 4:33 am
I am having a problem with "contact inheritance" after Update from Core 4.4.5 to 4.4.6.
We have a lot of services defined with "contact_groups +<group>" and before this was working fine (adding the group <group> to the list of groups). Now it just replaces the contact_groups with <group>".
Example:
I would expect that for service1 to have "contact_groups = group_a" and service2 to have "contact_groups = group_a,group_b", but with 4.4.6 this is not the case. In 4.4.6 the result is that service2 ONLY have "contact_groups = group_b" (the "+" is ignored).
Any quick fix for this issue (short of change all services with "contact_groups +")?
Or have I misunderstood the use of "+<group>" and it was just luck that it worked before?
Use of "+<contact>" works fine for both Hosts and Services.
Regards,
We have a lot of services defined with "contact_groups +<group>" and before this was working fine (adding the group <group> to the list of groups). Now it just replaces the contact_groups with <group>".
Example:
Code: Select all
define host {
use host-template
host_name testhost
contact_groups group_a
}
define service {
use service-defs
service_description service1
host_name testhost
check_command check_service1
}
define service {
use service-defs
service_description service2
host_name testhost
check_command check_service2
contact_groups +group_b
}
Any quick fix for this issue (short of change all services with "contact_groups +")?
Or have I misunderstood the use of "+<group>" and it was just luck that it worked before?
Use of "+<contact>" works fine for both Hosts and Services.
Regards,