mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user