From 9075de67b1199a1c5eacb25297bfcd775bc7e71c Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 19 Jul 2016 18:32:01 +0200 Subject: [PATCH] Fix message routing for command_endpoint checks in satellite zones with >2 instances refs #12179 --- lib/icinga/clusterevents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/clusterevents.cpp b/lib/icinga/clusterevents.cpp index bcd80db78..7d5a86713 100644 --- a/lib/icinga/clusterevents.cpp +++ b/lib/icinga/clusterevents.cpp @@ -173,7 +173,7 @@ Value ClusterEvents::CheckResultAPIHandler(const MessageOrigin::Ptr& origin, con return Empty; } - if (Zone::GetLocalZone() == checkable->GetZone() && endpoint == checkable->GetCommandEndpoint()) + if (!checkable->IsPaused() && Zone::GetLocalZone() == checkable->GetZone() && endpoint == checkable->GetCommandEndpoint()) checkable->ProcessCheckResult(cr); else checkable->ProcessCheckResult(cr, origin);