diff --git a/lib/icinga/service-check.cpp b/lib/icinga/service-check.cpp index e2f68b468..cdd485414 100644 --- a/lib/icinga/service-check.cpp +++ b/lib/icinga/service-check.cpp @@ -285,6 +285,9 @@ void Service::ProcessCheckResult(const CheckResult::Ptr& cr, const String& autho recovery = false; switch (cr->GetState()) { + case StateOK: + /* Nothing to do here. */ + break; case StateWarning: SetLastStateWarning(Utility::GetTime()); break;