diff --git a/lib/icinga/checkable-check.cpp b/lib/icinga/checkable-check.cpp index 9080d6739..a064a80ae 100644 --- a/lib/icinga/checkable-check.cpp +++ b/lib/icinga/checkable-check.cpp @@ -183,7 +183,7 @@ void Checkable::ProcessCheckResult(const CheckResult::Ptr& cr, const MessageOrig if (IsStateOK(cr->GetState())) { SetStateType(StateTypeHard); // NOT-OK -> HARD OK - if (!IsStateOK(old_state)) + if (old_stateType == StateTypeHard && !IsStateOK(old_state)) recovery = true; ResetNotificationNumbers();