]> granicus.if.org Git - icinga2/commitdiff
Fix message routing for command_endpoint checks in satellite zones with >2 instances
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 19 Jul 2016 16:32:01 +0000 (18:32 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 19 Jul 2016 16:32:01 +0000 (18:32 +0200)
refs #12179

lib/icinga/clusterevents.cpp

index bcd80db785fe3ad49e2c5e289dff8ea381fe61ea..7d5a86713528a79bd4c33904334380519e753e75 100644 (file)
@@ -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);