mirror of https://github.com/Icinga/icinga2.git
Bug fix: Continue executing checks even if the first matching service is disabled.
This commit is contained in:
parent
db6c89bc58
commit
7447d340cc
|
@ -74,11 +74,13 @@ void CheckerComponent::CheckTimerHandler(void)
|
|||
* for it and this is not a forced check */
|
||||
if (!service->GetEnableChecks()) {
|
||||
if (!service->GetForceNextCheck()) {
|
||||
Logger::Write(LogDebug, "checker", "Ignoring service check for disabled service: " + service->GetName());
|
||||
|
||||
service->UpdateNextCheck();
|
||||
|
||||
idx.insert(service);
|
||||
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
service->SetForceNextCheck(false);
|
||||
|
|
Loading…
Reference in New Issue