]> 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>
Mon, 8 Feb 2016 08:46:01 +0000 (09:46 +0100)
refs #11020

lib/icinga/checkable-check.cpp

index 9fef6e1b5c2041c5d0f85d1600cca8789a346f21..b0d9faf6b3616b8da7f5e3592c10e8fa81efca6e 100644 (file)
@@ -454,7 +454,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);