mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 15:44:11 +02:00
Reschedule services after receiving passive check results.
This commit is contained in:
parent
dbe1e7cdd5
commit
a77aa596a8
@ -133,6 +133,11 @@ void ExternalCommand::ProcessServiceCheckResult(double time, const vector<String
|
||||
|
||||
Logger::Write(LogInformation, "icinga", "Processing passive check result for service '" + arguments[1] + "'");
|
||||
service->ProcessCheckResult(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<String>& arguments)
|
||||
|
Loading…
x
Reference in New Issue
Block a user