Skip to content

Commit

Permalink
Don't generate 'UNKNOWN' results when the endpoint's log is still bei…
Browse files Browse the repository at this point in the history
…ng resynced

fixes #12844
  • Loading branch information
gunnarbeutner committed Nov 17, 2016
1 parent 46d7145 commit 0342197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/icinga/checkable-check.cpp
Expand Up @@ -475,7 +475,7 @@ void Checkable::ExecuteCheck(void)
a check result from the remote instance. The check will be re-scheduled
using the proper check interval once we've received a check result. */
SetNextCheck(Utility::GetTime() + GetCheckCommand()->GetTimeout() + 30);
} else if (Application::GetInstance()->GetStartTime() < Utility::GetTime() - 300) {
} else if (!endpoint->GetSyncing() && Application::GetInstance()->GetStartTime() < Utility::GetTime() - 300) {
/* fail to perform check on unconnected endpoint */
cr->SetState(ServiceUnknown);

Expand Down

0 comments on commit 0342197

Please sign in to comment.