diff --git a/lib/icinga/service.cpp b/lib/icinga/service.cpp index ba3fa5ef5..f80849475 100644 --- a/lib/icinga/service.cpp +++ b/lib/icinga/service.cpp @@ -213,9 +213,10 @@ void Service::OnAttributeChanged(const String& name, const Value& oldValue) OnNextCheckChanged(GetSelf(), oldValue); else if (name == "servicegroups") ServiceGroup::InvalidateMembersCache(); - else if (name == "host_name" || name == "short_name") + else if (name == "host_name" || name == "short_name") { Host::InvalidateServicesCache(); - else if (name == "downtimes") + UpdateSlaveNotifications(); + } else if (name == "downtimes") Service::InvalidateDowntimeCache(); else if (name == "comments") Service::InvalidateCommentCache();