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