mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 21:24:41 +02:00
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 */
|
* for it and this is not a forced check */
|
||||||
if (!service->GetEnableChecks()) {
|
if (!service->GetEnableChecks()) {
|
||||||
if (!service->GetForceNextCheck()) {
|
if (!service->GetForceNextCheck()) {
|
||||||
|
Logger::Write(LogDebug, "checker", "Ignoring service check for disabled service: " + service->GetName());
|
||||||
|
|
||||||
service->UpdateNextCheck();
|
service->UpdateNextCheck();
|
||||||
|
|
||||||
idx.insert(service);
|
idx.insert(service);
|
||||||
|
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
service->SetForceNextCheck(false);
|
service->SetForceNextCheck(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user