Increase grace period for agent-based checks

refs #11020
This commit is contained in:
Gunnar Beutner 2016-02-08 09:46:01 +01:00
parent 6e11836791
commit b8195beada
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ void Checkable::ExecuteCheck(void)
a check result from the remote instance. The check will be re-scheduled 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. */ using the proper check interval once we've received a check result. */
SetNextCheck(Utility::GetTime() + GetCheckCommand()->GetTimeout() + 30); 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 */ /* fail to perform check on unconnected endpoint */
cr->SetState(ServiceUnknown); cr->SetState(ServiceUnknown);