]> granicus.if.org Git - icinga2/commitdiff
Increase grace period for agent-based checks
authorGunnar Beutner <gunnar@beutner.name>
Mon, 8 Feb 2016 08:46:01 +0000 (09:46 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 23 Feb 2016 09:51:12 +0000 (10:51 +0100)
refs #11020

lib/icinga/checkable-check.cpp

index 4459c15f5b1812260ef7d92e9351b626973f4b25..65747a02f346ffd23e4db3455bc0f0d5b6f7da78 100644 (file)
@@ -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);