mirror of https://github.com/Icinga/icinga2.git
Fix message routing for command_endpoint checks in satellite zones with >2 instances
refs #12179
This commit is contained in:
parent
3d06df96bc
commit
9075de67b1
|
@ -173,7 +173,7 @@ Value ClusterEvents::CheckResultAPIHandler(const MessageOrigin::Ptr& origin, con
|
||||||
return Empty;
|
return Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Zone::GetLocalZone() == checkable->GetZone() && endpoint == checkable->GetCommandEndpoint())
|
if (!checkable->IsPaused() && Zone::GetLocalZone() == checkable->GetZone() && endpoint == checkable->GetCommandEndpoint())
|
||||||
checkable->ProcessCheckResult(cr);
|
checkable->ProcessCheckResult(cr);
|
||||||
else
|
else
|
||||||
checkable->ProcessCheckResult(cr, origin);
|
checkable->ProcessCheckResult(cr, origin);
|
||||||
|
|
Loading…
Reference in New Issue