mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6343 from Icinga/fix/checks-via-command_endpoint-are-not-executed-6337
Fix that checks with command_endpoint don't return any check results
This commit is contained in:
commit
ee37c8c68e
|
@ -107,7 +107,7 @@ void Checkable::ProcessCheckResult(const CheckResult::Ptr& cr, const MessageOrig
|
|||
m_CheckRunning = false;
|
||||
}
|
||||
|
||||
if (!cr || !IsActive())
|
||||
if (!cr)
|
||||
return;
|
||||
|
||||
double now = Utility::GetTime();
|
||||
|
@ -147,6 +147,9 @@ void Checkable::ProcessCheckResult(const CheckResult::Ptr& cr, const MessageOrig
|
|||
|
||||
}
|
||||
|
||||
if (!IsActive())
|
||||
return;
|
||||
|
||||
bool reachable = IsReachable();
|
||||
bool notification_reachable = IsReachable(DependencyNotification);
|
||||
|
||||
|
|
Loading…
Reference in New Issue