diff --git a/lib/icinga/externalcommand.cpp b/lib/icinga/externalcommand.cpp index c82846a53..04e18dd30 100644 --- a/lib/icinga/externalcommand.cpp +++ b/lib/icinga/externalcommand.cpp @@ -133,6 +133,11 @@ void ExternalCommand::ProcessServiceCheckResult(double time, const vectorProcessCheckResult(result); + + /* Reschedule the next check. The side effect of this is that for as long + * as we receive passive results for a service we won't execute any + * active checks. */ + service->UpdateNextCheck(); } void ExternalCommand::ScheduleSvcCheck(double time, const vector& arguments)