mirror of https://github.com/Icinga/icinga2.git
parent
6d53bd1c8f
commit
5daedd2dea
|
@ -303,19 +303,6 @@ void ServiceDbObject::OnConfigUpdate(void)
|
|||
/* update comments and downtimes on config change */
|
||||
AddComments(service);
|
||||
AddDowntimes(service);
|
||||
|
||||
/* service host config update */
|
||||
Host::Ptr host = service->GetHost();
|
||||
|
||||
if (host->GetCheckService() != service)
|
||||
return;
|
||||
|
||||
DbObject::Ptr dbobj = GetOrCreateByObject(host);
|
||||
|
||||
if (!dbobj)
|
||||
return;
|
||||
|
||||
dbobj->SendConfigUpdate();
|
||||
}
|
||||
|
||||
void ServiceDbObject::OnStatusUpdate(void)
|
||||
|
|
Loading…
Reference in New Issue