mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
parent
2f98f56119
commit
8d8d1d8cd8
@ -515,6 +515,16 @@ void Service::ApplyCheckResult(const Dictionary::Ptr& cr)
|
|||||||
SetAcknowledgement(AcknowledgementNone);
|
SetAcknowledgement(AcknowledgementNone);
|
||||||
SetAcknowledgementExpiry(0);
|
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…
x
Reference in New Issue
Block a user