mirror of https://github.com/Icinga/icinga2.git
Use check interval (rather than retry interval) when rescheduling passive checks.
This commit is contained in:
parent
a77aa596a8
commit
1bbd9d629e
|
@ -137,7 +137,7 @@ void ExternalCommand::ProcessServiceCheckResult(double time, const vector<String
|
|||
/* 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();
|
||||
service->SetNextCheck(Utility::GetTime() + service->GetCheckInterval());
|
||||
}
|
||||
|
||||
void ExternalCommand::ScheduleSvcCheck(double time, const vector<String>& arguments)
|
||||
|
|
Loading…
Reference in New Issue