mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
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
|
/* 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
|
* as we receive passive results for a service we won't execute any
|
||||||
* active checks. */
|
* active checks. */
|
||||||
service->UpdateNextCheck();
|
service->SetNextCheck(Utility::GetTime() + service->GetCheckInterval());
|
||||||
}
|
}
|
||||||
|
|
||||||
void ExternalCommand::ScheduleSvcCheck(double time, const vector<String>& arguments)
|
void ExternalCommand::ScheduleSvcCheck(double time, const vector<String>& arguments)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user