mirror of https://github.com/Icinga/icinga2.git
parent
2f98f56119
commit
8d8d1d8cd8
|
@ -515,6 +515,16 @@ void Service::ApplyCheckResult(const Dictionary::Ptr& cr)
|
|||
SetAcknowledgement(AcknowledgementNone);
|
||||
SetAcknowledgementExpiry(0);
|
||||
}
|
||||
|
||||
/* reschedule dependencies */
|
||||
String svc;
|
||||
BOOST_FOREACH(tie(tuples::ignore, svc), GetDependencies()) {
|
||||
if (!Service::Exists(svc))
|
||||
continue;
|
||||
|
||||
Service::Ptr service = Service::GetByName(svc);
|
||||
service->SetNextCheck(Utility::GetTime());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue