mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Fixed ExternalCommand::ScheduleHostSvcChecks().
This commit is contained in:
parent
fae0cf8b0d
commit
495caa664a
@ -206,8 +206,8 @@ void ExternalCommand::ScheduleHostSvcChecks(double time, const vector<String>& a
|
|||||||
|
|
||||||
if (planned_check > service->GetNextCheck()) {
|
if (planned_check > service->GetNextCheck()) {
|
||||||
Logger::Write(LogInformation, "icinga", "Ignoring reschedule request for service '" +
|
Logger::Write(LogInformation, "icinga", "Ignoring reschedule request for service '" +
|
||||||
arguments[1] + "' (next check is already sooner than requested check time)");
|
service->GetName() + "' (next check is already sooner than requested check time)");
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
Logger::Write(LogInformation, "icinga", "Rescheduling next check for service '" + service->GetName() + "'");
|
Logger::Write(LogInformation, "icinga", "Rescheduling next check for service '" + service->GetName() + "'");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user