From: Gunnar Beutner Date: Mon, 8 Feb 2016 08:46:01 +0000 (+0100) Subject: Increase grace period for agent-based checks X-Git-Tag: v2.4.2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8195beadaff389222e9a19e26fa4a6b1916ceee;p=icinga2 Increase grace period for agent-based checks refs #11020 --- diff --git a/lib/icinga/checkable-check.cpp b/lib/icinga/checkable-check.cpp index 4459c15f5..65747a02f 100644 --- a/lib/icinga/checkable-check.cpp +++ b/lib/icinga/checkable-check.cpp @@ -448,7 +448,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() - 30) { + } else if (Application::GetInstance()->GetStartTime() < Utility::GetTime() - 300) { /* fail to perform check on unconnected endpoint */ cr->SetState(ServiceUnknown);