mirror of https://github.com/Icinga/icinga2.git
parent
53c1434700
commit
ddf83f33d2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue