]> granicus.if.org Git - icinga2/commitdiff
Revert "Fix check scheduling w/ retry_interval"
authorMichael Friedrich <michael.friedrich@netways.de>
Sat, 5 Mar 2016 16:55:14 +0000 (17:55 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Fri, 11 Mar 2016 14:55:14 +0000 (15:55 +0100)
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

index 9916093de41e1c4d85a9ba9c79cb5a2987ab8264..398b8dfbe65dd432dd331ee3debafcee81914961 100644 (file)
@@ -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")