From f99feab08c8929b8e2db8a49689b8f09bd3c3448 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Sat, 5 Mar 2016 17:55:14 +0100 Subject: [PATCH] Revert "Fix check scheduling w/ retry_interval" This reverts commit a51e647cc760bd5f7c4de6182961a477478c11a9. This patch causes trouble with check results received 1) passively 2) throughout the cluster. A proper patch for setting the retry_interval on NOT-OK state changes is required. refs #11248 refs #11257 refs #11273 (the old issue) refs #7287 --- lib/icinga/checkable-check.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/icinga/checkable-check.cpp b/lib/icinga/checkable-check.cpp index 9916093de..398b8dfbe 100644 --- a/lib/icinga/checkable-check.cpp +++ b/lib/icinga/checkable-check.cpp @@ -302,9 +302,6 @@ void Checkable::ProcessCheckResult(const CheckResult::Ptr& cr, const MessageOrig UpdateFlappingStatus(stateChange); is_flapping = IsFlapping(); - /* update next check time on possible state changes */ - UpdateNextCheck(); - olock.Unlock(); // Log(LogDebug, "Checkable")